summaryrefslogtreecommitdiff
path: root/games/bzflag/files/patch-LinuxMedia.cxx
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2000-08-18 15:04:09 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2000-08-18 15:04:09 +0000
commitcc3a266bd394f1a4c9f4608ca621df5758283a68 (patch)
tree953fdfe504ac989c93d890923f57c40ac37a96fe /games/bzflag/files/patch-LinuxMedia.cxx
parentUpgrade to zebra-0.88. (diff)
Get bzflag to compile on 3.x. (sys/soundcard.h to machine/soundcard.h,
socklen_t to int for 3.x, and no -fno-exceptions for 3.x g++) Bothered by: Barry Irwin <bvi@rucus.ru.ac.za> Bothered by: Matthew West <mwest@uct.ac.za>
Notes
Notes: svn path=/head/; revision=31739
Diffstat (limited to '')
-rw-r--r--games/bzflag/files/patch-LinuxMedia.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/games/bzflag/files/patch-LinuxMedia.cxx b/games/bzflag/files/patch-LinuxMedia.cxx
index a4ca66dfa338..c6b5636ca19a 100644
--- a/games/bzflag/files/patch-LinuxMedia.cxx
+++ b/games/bzflag/files/patch-LinuxMedia.cxx
@@ -1,6 +1,6 @@
---- src/platform/LinuxMedia.cxx.orig Sat Aug 12 00:50:20 2000
-+++ src/platform/LinuxMedia.cxx Sat Aug 12 00:53:05 2000
-@@ -13,9 +13,13 @@
+--- src/platform/LinuxMedia.cxx.orig Sat Jan 15 04:09:48 2000
++++ src/platform/LinuxMedia.cxx Fri Aug 18 16:44:02 2000
+@@ -13,16 +13,27 @@
#include "LinuxMedia.h"
#include <math.h>
#include <fcntl.h>
@@ -15,7 +15,11 @@
#include <unistd.h>
#include <sys/wait.h>
#include <signal.h>
-@@ -23,6 +27,9 @@
++#if !defined(BSD)
+ #include <sys/soundcard.h>
++#else
++#include <machine/soundcard.h>
++#endif
#include <sys/ioctl.h>
#include <TimeKeeper.h>
#include <errno.h>