diff options
-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; |