1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

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.
This commit is contained in:
Stefan Eßer 2004-12-30 11:50:50 +00:00
parent a3bd0f6766
commit 5943845123
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125522

View File

@ -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])) {