diff options
author | hubertf <hubertf> | 2001-09-10 01:03:28 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-09-10 01:03:28 +0000 |
commit | 97a8f79bed056f87b42f7b6b7a3228b6bf716827 (patch) | |
tree | 65a844ea09ce2b9f47e86e2a0aa0ad049fa35125 /games | |
parent | 4a6dd2f1aec744febc09b3afc666cb9fd00a5a20 (diff) | |
download | pkgsrc-97a8f79bed056f87b42f7b6b7a3228b6bf716827.tar.gz |
forgot to commit these files
Diffstat (limited to 'games')
-rw-r--r-- | games/xgalaga/patches/patch-ab | 31 | ||||
-rw-r--r-- | games/xgalaga/patches/patch-ac | 17 |
2 files changed, 48 insertions, 0 deletions
diff --git a/games/xgalaga/patches/patch-ab b/games/xgalaga/patches/patch-ab new file mode 100644 index 00000000000..8fd2a9121f2 --- /dev/null +++ b/games/xgalaga/patches/patch-ab @@ -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*) diff --git a/games/xgalaga/patches/patch-ac b/games/xgalaga/patches/patch-ac new file mode 100644 index 00000000000..3a2277042d6 --- /dev/null +++ b/games/xgalaga/patches/patch-ac @@ -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> |