summaryrefslogtreecommitdiff
path: root/graphics/xaos
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2004-08-14 07:44:35 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2004-08-14 07:44:35 +0000
commit97284dfc86686afdc08506014f1b81b2e4ded505 (patch)
treecf4e324659c14090a687d34d7e5e1ec1bcff0ec3 /graphics/xaos
parentUpgrade to 20040813. (diff)
Unbreak on -CURRENT [with gcc 3.4.2].
Notes
Notes: svn path=/head/; revision=116178
Diffstat (limited to 'graphics/xaos')
-rw-r--r--graphics/xaos/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/xaos/Makefile b/graphics/xaos/Makefile
index 2991f176c41c..8651d120a560 100644
--- a/graphics/xaos/Makefile
+++ b/graphics/xaos/Makefile
@@ -44,6 +44,11 @@ MAN6= xaos.6
.include <bsd.port.pre.mk>
+# GCC 3.4.2 alleges prototype mismatches with __attribute__((regparm))
+.if ${OSVERSION} >= 502125
+CFLAGS+= -DNOREGISTERS
+.endif
+
.if ${ARCH} != "i386" && ${ARCH} != "amd64" && ${OSVERSION} >= 502102
BROKEN= "Does not compile on FreeBSD >=5.x on !i386 and !amd64"
.endif