summaryrefslogtreecommitdiff
path: root/games/nighthawk
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-05-10 07:13:31 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-05-10 07:13:31 +0000
commitbe40d794de26cb62aa793f5b95d29a1eda384ec0 (patch)
tree6bb0453ef2a374dc74b881698d0fab38d1388d31 /games/nighthawk
parentConvert to use USE_GETOPT_LONG (diff)
Fix build on -current (machine/soundcard.h -> sys/soundcard.h)
Notes
Notes: svn path=/head/; revision=80590
Diffstat (limited to 'games/nighthawk')
-rw-r--r--games/nighthawk/files/patch-dsp_mixxer.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/nighthawk/files/patch-dsp_mixxer.c b/games/nighthawk/files/patch-dsp_mixxer.c
new file mode 100644
index 000000000000..b2ab59f727aa
--- /dev/null
+++ b/games/nighthawk/files/patch-dsp_mixxer.c
@@ -0,0 +1,14 @@
+--- src_sound/dsp_mixxer.c.orig Sat May 10 00:11:13 2003
++++ src_sound/dsp_mixxer.c Sat May 10 00:11:16 2003
+@@ -19,10 +19,8 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+-#ifdef Linux
++#if defined(Linux) || defined(FreeBSD)
+ #include <sys/soundcard.h>
+-#elif FreeBSD
+- #include <machine/soundcard.h>
+ #endif
+ #include "funktracker_defs.h"
+ #include "funktracker.h"