ports/106738: [PATCH] www/harvest: fix build with gcc41
trasz
trasz at pin.if.uz.zgora.pl
Fri Dec 15 00:06:15 UTC 2006
>Number: 106738
>Category: ports
>Synopsis: [PATCH] www/harvest: fix build with gcc41
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 15 00:00:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: trasz
>Release: FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
Fix build with gcc41 and pet portlint.
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006121307/harvest-1.9.14.log
Added file(s):
- files/patch-components-broker-standard-glimpse-index-glimpse.c
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- harvest-1.9.14.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/harvest/files/patch-components-broker-standard-glimpse-index-glimpse.c /home/trasz/harvest/files/patch-components-broker-standard-glimpse-index-glimpse.c
--- /usr/ports/www/harvest/files/patch-components-broker-standard-glimpse-index-glimpse.c Thu Jan 1 01:00:00 1970
+++ /home/trasz/harvest/files/patch-components-broker-standard-glimpse-index-glimpse.c Fri Dec 15 00:52:17 2006
@@ -0,0 +1,17 @@
+--- components/broker/standard/glimpse/index/glimpse.c.orig Fri Dec 15 00:28:32 2006
++++ components/broker/standard/glimpse/index/glimpse.c Fri Dec 15 00:29:46 2006
+@@ -18,12 +18,13 @@
+ extern char INDEX_DIR[MAX_LINE_LEN];
+ extern struct stat istbuf;
+
+-extern char *TEMP_DIR; /* directory to store glimpse temporary files, usually /tmp unless -T is specified */
+ #ifdef BUILDCAST
+ /* TEMP_DIR is normally defined in ../main.c; if we're building
+ * buildcast, that's not linked in, so we need to define one here. */
+ /* char * TEMP_DIR = NULL; */
+ static char * TEMP_DIR = "/tmp";
++#else
++extern char *TEMP_DIR; /* directory to store glimpse temporary files, usually /tmp unless -T is specified */
+ #endif /* BUILDCAST */
+ extern int indexable_char[256];
+ extern int GenerateHash;
diff -ruN --exclude=CVS /usr/ports/www/harvest/pkg-plist /home/trasz/harvest/pkg-plist
--- /usr/ports/www/harvest/pkg-plist Fri Dec 5 22:44:23 2003
+++ /home/trasz/harvest/pkg-plist Fri Dec 15 00:53:05 2006
@@ -435,4 +435,4 @@
@dirrm share/idzebra/tab
@dirrm share/idzebra
@dirrm share
- at unexec rmdir %D
+ at dirrmtry %D
--- harvest-1.9.14.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list