aboutsummaryrefslogtreecommitdiffstats
path: root/games/quakeforge
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-11-27 04:29:40 +0800
committerpav <pav@FreeBSD.org>2003-11-27 04:29:40 +0800
commitec6d1dd16ad82da7d54b07ffbe1c437a8e4e25d2 (patch)
tree21ab7b4f4bf8c0ef20f1595a4736af7d719c59bd /games/quakeforge
parent2ba57c07b8e0aca0552db7159ab5024db9daf5b3 (diff)
downloadfreebsd-ports-gnome-ec6d1dd16ad82da7d54b07ffbe1c437a8e4e25d2.tar.gz
freebsd-ports-gnome-ec6d1dd16ad82da7d54b07ffbe1c437a8e4e25d2.tar.zst
freebsd-ports-gnome-ec6d1dd16ad82da7d54b07ffbe1c437a8e4e25d2.zip
- Fix build on alpha, amd64 and sparc64
PR: ports/59690 Submitted by: Ulrich Spoerlein <q@uni.de> (maintainer) Approved by: marcus (portmgr) Approved by: adamw (mentor)
Diffstat (limited to 'games/quakeforge')
-rw-r--r--games/quakeforge/files/patch-configure10
1 files changed, 9 insertions, 1 deletions
diff --git a/games/quakeforge/files/patch-configure b/games/quakeforge/files/patch-configure
index 587800682134..3cd21a2df130 100644
--- a/games/quakeforge/files/patch-configure
+++ b/games/quakeforge/files/patch-configure
@@ -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;
+ }