aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2004-12-30 19:50:50 +0800
committerse <se@FreeBSD.org>2004-12-30 19:50:50 +0800
commitc8c4d0d84252797675226ab60432a0cce431ce88 (patch)
tree77b440c65383605aae119ccc90e76dd9486803fd /games
parent7f2bdc31b609a4dc9e58ef609e6cea20140510c2 (diff)
downloadfreebsd-ports-gnome-c8c4d0d84252797675226ab60432a0cce431ce88.tar.gz
freebsd-ports-gnome-c8c4d0d84252797675226ab60432a0cce431ce88.tar.zst
freebsd-ports-gnome-c8c4d0d84252797675226ab60432a0cce431ce88.zip
Fix build on RELENG_4. There is a syntax error in xblast.c, that
is only reported by gcc-2.x, but ignored by gcc-3.x and gcc-4.x.
Diffstat (limited to 'games')
-rw-r--r--games/xblast/files/patch-ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/games/xblast/files/patch-ac b/games/xblast/files/patch-ac
new file mode 100644
index 000000000000..a332d803e498
--- /dev/null
+++ b/games/xblast/files/patch-ac
@@ -0,0 +1,17 @@
+--- xblast.c.orig Wed Jul 7 12:53:41 2004
++++ xblast.c Thu Dec 30 12:42:51 2004
+@@ -84,12 +84,12 @@
+ XBPlayerHost hostType;
+ XBBool autoCentral;
+ XBBool nsound;
++
+ autoCentral = XBFalse;
+ nsound = XBFalse;
+ #ifndef WMS
+- int i;
+ if(argc>1){
+- i=1;
++ int i=1;
+ while(i<argc){
+ if(0==strcmp("-central",argv[i])) {
+