Date: Tue, 25 Nov 2003 22:05:22 +0100 (CET) From: Ulrich Spoerlein <q@uni.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/59690: [MAINTAINER] games/QuakeForge: Unbreak on current/alpha and current/sparc64 Message-ID: <200311252105.hAPL5M0L072203@roadrunner.q.local> Resent-Message-ID: <200311252110.hAPLA7Cf045928@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 59690 >Category: ports >Synopsis: [MAINTAINER] games/QuakeForge: Unbreak on current/alpha and current/sparc64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Nov 25 13:10:07 PST 2003 >Closed-Date: >Last-Modified: >Originator: Ulrich Spoerlein >Release: FreeBSD 5.2-BETA i386 >Organization: >Environment: System: FreeBSD roadrunner 5.2-BETA FreeBSD 5.2-BETA #0: Mon Nov 24 17:55:47 CET 2003 >Description: Due to the GCC Import (I think) QuakeForge 0.5.4 broke on architectures without a __builtin_alloca. This patch unbreaks configure to detect alloca(). Compile and run-testet on 4-STABLE/i386, 5-CURRENT/i386 and 5-CURRENT/alpha. Please commit this rather trivial fix before the ports freeze. Thank you. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- QuakeForge-0.5.4.patch begins here --- Index: files/patch-configure =================================================================== RCS file: /home/ncvs/ports/games/quakeforge/files/patch-configure,v retrieving revision 1.1 diff -u -u -r1.1 patch-configure --- files/patch-configure 8 Aug 2003 13:23:08 -0000 1.1 +++ files/patch-configure 25 Nov 2003 21:01:52 -0000 @@ -23,4 +23,12 @@ *bsd*) touch conftest.c CPP_NAME="`(f=\`$CC -v -E -Dfoo conftest.c -o conftest.i 2>&1 | grep -e -Dfoo\`; set $f; echo "$1")` %d %i %o" - +@@ -10726,7 +10729,7 @@ + int + main () + { +-void *(*foo)(size_t) = alloca; ++void *foo = alloca(sizeof(void)); + ; + return 0; + } --- QuakeForge-0.5.4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311252105.hAPL5M0L072203>