From 9da3f798b4515d6319cd7a7fac5bd4378c6a57e5 Mon Sep 17 00:00:00 2001 From: hubertf Date: Mon, 10 Sep 2001 01:03:28 +0000 Subject: forgot to commit these files --- games/xgalaga/patches/patch-ab | 31 +++++++++++++++++++++++++++++++ games/xgalaga/patches/patch-ac | 17 +++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 games/xgalaga/patches/patch-ab create mode 100644 games/xgalaga/patches/patch-ac (limited to 'games/xgalaga/patches') 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 + #include + #include ++#ifdef __NetBSD__ ++#include ++#else + #include + /*#include "linux_pcsp.h" /* /usr/include/linux/pcsp.h */ ++#endif + #include + #include + #include -- cgit v1.2.3