aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-08 12:50:34 +0800
committerdaichi <daichi@FreeBSD.org>2003-07-08 12:50:34 +0800
commit3781ecf0346bd7f3b7cba173581f6b14461b1de1 (patch)
treec8cae6b947663168ae1b987852bd0fb27660541d
parent6fbcecf583c3a8406b34f166279ab6d6414be5b5 (diff)
downloadfreebsd-ports-gnome-3781ecf0346bd7f3b7cba173581f6b14461b1de1.tar.gz
freebsd-ports-gnome-3781ecf0346bd7f3b7cba173581f6b14461b1de1.tar.zst
freebsd-ports-gnome-3781ecf0346bd7f3b7cba173581f6b14461b1de1.zip
fix games/quakeforge: build fail on alpha.
PR: 53757 Submitted by: Ulrich Spoerlein <q@uni.de>
-rw-r--r--games/quakeforge/files/patch-qfbsp27
1 files changed, 27 insertions, 0 deletions
diff --git a/games/quakeforge/files/patch-qfbsp b/games/quakeforge/files/patch-qfbsp
new file mode 100644
index 000000000000..34a84541f324
--- /dev/null
+++ b/games/quakeforge/files/patch-qfbsp
@@ -0,0 +1,27 @@
+--- tools/qfbsp/source/qfbsp.c.orig Wed Jun 25 18:33:19 2003
++++ tools/qfbsp/source/qfbsp.c Wed Jun 25 18:45:55 2003
+@@ -30,6 +30,9 @@
+ # include <strings.h>
+ #endif
+ #include <stdlib.h>
++#include <sys/types.h>
++#include <sys/wait.h>
++#include <unistd.h>
+
+ #include "QF/quakefs.h"
+ #include "QF/sys.h"
+@@ -748,12 +751,12 @@
+ if (!fork ()) {
+ hullnum = 1;
+ options.verbosity = 0;
+- drawflag = false;
++ options.drawflag = false;
+ sprintf (argv0, "HUL%i", hullnum);
+ } else if (!fork ()) {
+ hullnum = 2;
+ options.verbosity = 0;
+- drawflag = false;
++ options.drawflag = false;
+ sprintf (argv0, "HUL%i", hullnum);
+ }
+ CreateSingleHull ();