forgot to commit these files
This commit is contained in:
parent
e50ae6f9f8
commit
9da3f798b4
2 changed files with 48 additions and 0 deletions
31
games/xgalaga/patches/patch-ab
Normal file
31
games/xgalaga/patches/patch-ab
Normal file
|
@ -0,0 +1,31 @@
|
|||
$NetBSD: patch-ab,v 1.1 2001/09/10 01:03:28 hubertf Exp $
|
||||
|
||||
--- configure.orig Mon May 11 09:02:12 1998
|
||||
+++ configure
|
||||
@@ -1813,6 +1813,9 @@
|
||||
*freebsd*)
|
||||
sound_type=native
|
||||
;;
|
||||
+ *netbsd*)
|
||||
+ sound_type=native
|
||||
+ ;;
|
||||
*sunos*)
|
||||
sound_type=native
|
||||
;;
|
||||
@@ -1848,6 +1851,16 @@
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define SOUND 1
|
||||
EOF
|
||||
+
|
||||
+ ;;
|
||||
+ *netbsd*)
|
||||
+ SOUNDSERVER=xgal.sndsrv.linux
|
||||
+ cat >> confdefs.h <<\EOF
|
||||
+#define SOUNDDEV "/dev/audio"
|
||||
+EOF
|
||||
+ cat >> confdefs.h <<\EOF
|
||||
+#define SOUND 1
|
||||
+EOF
|
||||
|
||||
;;
|
||||
*sunos*)
|
17
games/xgalaga/patches/patch-ac
Normal file
17
games/xgalaga/patches/patch-ac
Normal file
|
@ -0,0 +1,17 @@
|
|||
$NetBSD: patch-ac,v 1.1 2001/09/10 01:03:28 hubertf Exp $
|
||||
|
||||
--- xgal.sndsrv.linux.c.orig Fri Sep 7 14:33:57 2001
|
||||
+++ xgal.sndsrv.linux.c
|
||||
@@ -15,8 +15,12 @@
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
+#ifdef __NetBSD__
|
||||
+#include <soundcard.h>
|
||||
+#else
|
||||
#include <linux/soundcard.h>
|
||||
/*#include "linux_pcsp.h" /* /usr/include/linux/pcsp.h */
|
||||
+#endif
|
||||
#include <sys/time.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
Loading…
Reference in a new issue