aboutsummaryrefslogtreecommitdiffstats
path: root/games/doom
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2002-07-24 20:16:00 +0800
committerjmz <jmz@FreeBSD.org>2002-07-24 20:16:00 +0800
commita7cceddb147b6b1f743625b536118435ab31e931 (patch)
treeff4dec3dffff622cb1ca68ee80078d9607b890e1 /games/doom
parentcb42fec71be3057151a4b57b41353fdd4b7a7cc5 (diff)
downloadfreebsd-ports-gnome-a7cceddb147b6b1f743625b536118435ab31e931.tar.gz
freebsd-ports-gnome-a7cceddb147b6b1f743625b536118435ab31e931.tar.zst
freebsd-ports-gnome-a7cceddb147b6b1f743625b536118435ab31e931.zip
Fix the build on -stable and -current.
PR: ports/40949 Submitted by: Gavin Atkinson <gavin@ury.york.ac.uk>
Diffstat (limited to 'games/doom')
-rw-r--r--games/doom/files/patch-aa2
-rw-r--r--games/doom/files/patch-ac2
-rw-r--r--games/doom/files/patch-ae11
3 files changed, 12 insertions, 3 deletions
diff --git a/games/doom/files/patch-aa b/games/doom/files/patch-aa
index 0c04d896c27a..3ebdd1f1de1e 100644
--- a/games/doom/files/patch-aa
+++ b/games/doom/files/patch-aa
@@ -5,7 +5,7 @@
#include <unistd.h>
-#include <linux/soundcard.h>
-+#include <machine/soundcard.h>
++#include <sys/soundcard.h>
#include "soundsrv.h"
diff --git a/games/doom/files/patch-ac b/games/doom/files/patch-ac
index 100d158608d7..e89f5d175ae1 100644
--- a/games/doom/files/patch-ac
+++ b/games/doom/files/patch-ac
@@ -5,7 +5,7 @@
// Linux voxware output.
-#include <linux/soundcard.h>
-+#include <machine/soundcard.h>
++#include <sys/soundcard.h>
// Timer stuff. Experimental.
#include <time.h>
diff --git a/games/doom/files/patch-ae b/games/doom/files/patch-ae
index c6e61a70e106..12f8b0b8b6f0 100644
--- a/games/doom/files/patch-ae
+++ b/games/doom/files/patch-ae
@@ -1,5 +1,5 @@
--- linuxdoom-1.10/i_net.c~ Mon Dec 22 21:37:46 1997
-+++ linuxdoom-1.10/i_net.c Mon Dec 14 03:26:41 1998
++++ linuxdoom-1.10/i_net.c Mon Jul 22 10:06:25 2002
@@ -23,6 +23,7 @@
static const char
rcsid[] = "$Id: patch-ae,v 1.1.1.1 1998/12/14 21:18:25 jmz Exp $";
@@ -24,3 +24,12 @@
void NetSend (void);
boolean NetListen (void);
+@@ -73,7 +76,7 @@
+ // NETWORKING
+ //
+
+-int DOOMPORT = (IPPORT_USERRESERVED +0x1d );
++int DOOMPORT = 5029;
+
+ int sendsocket;
+ int insocket;