aboutsummaryrefslogtreecommitdiffstats
path: root/games/scourge
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2007-09-06 13:30:50 +0800
committeracm <acm@FreeBSD.org>2007-09-06 13:30:50 +0800
commit0aea1f94b60703fccc33c6d4a238ccf226f1c164 (patch)
treeb9de702ffb988c7f7a1ccd434ccbc6cbb4f04b2b /games/scourge
parent06346631b334a0c5f7e57bab50c66e813b1c70f8 (diff)
downloadfreebsd-ports-gnome-0aea1f94b60703fccc33c6d4a238ccf226f1c164.tar.gz
freebsd-ports-gnome-0aea1f94b60703fccc33c6d4a238ccf226f1c164.tar.zst
freebsd-ports-gnome-0aea1f94b60703fccc33c6d4a238ccf226f1c164.zip
- Fix build with GCC 4.x
Reported by: kris
Diffstat (limited to 'games/scourge')
-rw-r--r--games/scourge/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/scourge/Makefile b/games/scourge/Makefile
index 52f3c613dd6d..c9774943d208 100644
--- a/games/scourge/Makefile
+++ b/games/scourge/Makefile
@@ -7,6 +7,7 @@
PORTNAME= scourge
PORTVERSION= 0.18
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -43,6 +44,9 @@ OPTIONS= DEBUG "Produce an executable with debugging symbols" off
CONFIGURE_ARGS+= --enable-debug
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|GLvoid|void|g' ${WRKSRC}/src/sdlhandler.cpp ${WRKSRC}/src/sdlhandler.h
+
pre-configure:
@cd ${WRKSRC} && ${AUTORECONF} -i