ports/58574: Fix www/gn build
elvis at sslab.cs.ccu.edu.tw
elvis at sslab.cs.ccu.edu.tw
Sun Oct 26 17:10:24 UTC 2003
>Number: 58574
>Category: ports
>Synopsis: Fix www/gn build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 26 09:10:20 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: elvis
>Release: FreeBSD 5.1-RELEASE-p10 i386
>Organization:
System Software Lab. CSIE CCU Taiwan
>Environment:
System: FreeBSD sslab.cs.ccu.edu.tw 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #10: Sat Oct 4 14:23:21 CST 2003 root at sslab.cs.ccu.edu.tw:/ftp/obj/usr/src/sys/SSLAB i386
>Description:
Simply unbreak the build of www/gn.
Hope it works :p
>How-To-Repeat:
root sslab:/usr/ports/www/gn> make
===> Building for gn-2.24
Making waisgn
cc -I.. -I../gn -c waisgn.c
waisgn.c:59: initializer element is not constant
*** Error code 1
Stop in /usr/ports/www/gn/work/gn-2.24/waisgn.
*** Error code 1
Stop in /usr/ports/www/gn/work/gn-2.24.
*** Error code 1
Stop in /usr/ports/www/gn.
>Fix:
diff -u -ruN /usr/ports/www/gn/Makefile /usr/ports/www/gn.1/Makefile
--- /usr/ports/www/gn/Makefile Tue Sep 30 16:01:54 2003
+++ /usr/ports/www/gn.1/Makefile Mon Oct 27 00:33:57 2003
@@ -14,8 +14,6 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= Gopher and http server
-BROKEN= "Does not compile"
-
BUILD_DEPENDS= ${WAISDIR}/bin/waisindex:${PORTSDIR}/net/wais
IS_INTERACTIVE= yes
diff -u -ruN /usr/ports/www/gn/files/patch-ba /usr/ports/www/gn.1/files/patch-ba
--- /usr/ports/www/gn/files/patch-ba Thu Jan 1 08:00:00 1970
+++ /usr/ports/www/gn.1/files/patch-ba Mon Oct 27 00:48:10 2003
@@ -0,0 +1,19 @@
+--- waisgn/waisgn.c~ Sun Mar 12 07:59:40 1995
++++ waisgn/waisgn.c Mon Oct 27 00:47:54 2003
+@@ -56,7 +56,7 @@
+ gntitle[MAXLEN],
+ port[SMALLLEN];
+
+-static FILE *dfp = stderr;
++static FILE *dfp;
+
+ #ifndef FREEWAIS_03
+ /* These aren't used by waisgn, but old WAIS libs want them */
+@@ -78,6 +78,7 @@
+ {
+ register char *cp;
+
++ dfp = stderr;
+ int i = 1,
+ argsneeded = NUMARGS;
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list