Date: Mon, 27 Oct 2003 01:07:08 +0800 (CST) From: elvis@sslab.cs.ccu.edu.tw To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/58574: Fix www/gn build Message-ID: <20031026170708.7508385@sslab.cs.ccu.edu.tw> Resent-Message-ID: <200310261710.h9QHALdh035983@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031026170708.7508385>