ports/59637: [patch] emulators/generator: Force use of gcc-2.95

Volker Stolz stolz at i2.informatik.rwth-aachen.de
Mon Nov 24 12:40:11 UTC 2003


>Number:         59637
>Category:       ports
>Synopsis:       [patch] emulators/generator: Force use of gcc-2.95
>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:   Mon Nov 24 04:40:08 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.9-RC i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-RC FreeBSD 4.9-RC #10: Tue Oct 7 12:32:25 CEST 2003 root at menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


>Description:
The mastersite states that gcc3-produced code doesn't work correctly and
suggest using gcc 2.95 (See below).
>How-To-Repeat:
>Fix:
Force use of gcc295 (where applicable) (and thus unbreak on -CURRENT)

--- generator begins here ---
--- Makefile.orig	Mon Nov 24 13:20:40 2003
+++ Makefile	Mon Nov 24 13:25:04 2003
@@ -16,6 +16,10 @@
 # apparently the configure script can't handle this
 NOT_FOR_ARCHS=	alpha
 
+# force gcc 2.9.5 for the time being, c.f. comment on MASTERSITE:
+# "... Until this is sorted, you should use gcc 2.95 to compile Generator."
+USE_GGC=	2.95
+
 LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
 		SDL-1.1.5:${PORTSDIR}/devel/sdl12
 .if (${MACHINE_ARCH} == "i386")
@@ -53,10 +57,6 @@
 		's|-malign-loops|-falign-loops|g ; \
 		 s|-malign-jumps|-falign-jumps|g ; \
 		 s|-malign-functions|-falign-functions|g' ${WRKSRC}/configure
-.endif
-
-.if ${OSVERSION} >= 501102
-BROKEN=		"Fails to compile due to gcc3.3 preprocessor"
 .endif
 
 .include <bsd.port.post.mk>
--- generator ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list