summaryrefslogtreecommitdiff
path: root/games/xgalaga/patches/patch-ab
blob: 8fd2a9121f23b9021ec67fc919ad23d1956ecd6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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*)