diff options
author | kris <kris@FreeBSD.org> | 2002-03-31 03:10:17 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-03-31 03:10:17 +0000 |
commit | f8025d5ff2d6c2adf9118ff37b4636c31a78b49b (patch) | |
tree | a4e8477b93399940b0ad0bb974924db1727a3ef1 /www/harvest | |
parent | efa8f77c3aebe3beb87249d8d3c9b8bae7f383ed (diff) | |
download | FreeBSD-ports-f8025d5ff2d6c2adf9118ff37b4636c31a78b49b.zip FreeBSD-ports-f8025d5ff2d6c2adf9118ff37b4636c31a78b49b.tar.gz |
Remove #include <malloc.h>
Don't statically initialize a FILE *
Diffstat (limited to 'www/harvest')
-rw-r--r-- | www/harvest/Makefile | 7 | ||||
-rw-r--r-- | www/harvest/files/patch-aa | 20 |
2 files changed, 27 insertions, 0 deletions
diff --git a/www/harvest/Makefile b/www/harvest/Makefile index 2c1077f..56a303b 100644 --- a/www/harvest/Makefile +++ b/www/harvest/Makefile @@ -17,6 +17,13 @@ EXTRACT_SUFX= -src.tar.gz MAINTAINER= ports@FreeBSD.org +pre-patch: + @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \ + ${WRKSRC}/src/configure ${WRKSRC}/src/broker/broker.h \ + ${WRKSRC}/src/gatherer/essence/main.c \ + ${WRKSRC}/src/gatherer/include/essence.h \ + ${WRKSRC}/components/gatherer/standard/dvi2tty/dvi2tty.h + pre-install: ${MKDIR} ${PREFIX}/harvest diff --git a/www/harvest/files/patch-aa b/www/harvest/files/patch-aa new file mode 100644 index 0000000..90e5aae --- /dev/null +++ b/www/harvest/files/patch-aa @@ -0,0 +1,20 @@ +--- components/gatherer/standard/skim/skim.c.orig Sat Mar 30 18:54:27 2002 ++++ components/gatherer/standard/skim/skim.c Sat Mar 30 18:54:45 2002 +@@ -15,7 +15,7 @@ + + int Argc; + char **Argv; +-FILE *InputFile = stdin; ++FILE *InputFile; + + main(argc, argv) + int argc; +@@ -25,6 +25,8 @@ + int Skipping = 0, nlines = 0; + char *Ptr; + char *EndLine; ++ ++ InputFile = stdin; + + /* Set up globals */ + Argc = argc; |