summaryrefslogtreecommitdiff
path: root/audio/gramofile/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gramofile/patches/patch-ac')
-rw-r--r--audio/gramofile/patches/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/gramofile/patches/patch-ac b/audio/gramofile/patches/patch-ac
new file mode 100644
index 00000000000..5027df9f88d
--- /dev/null
+++ b/audio/gramofile/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2004/07/08 18:33:07 agc Exp $
+
+--- bplaysrc/sndfunc.c 2004/07/08 18:26:58 1.1
++++ bplaysrc/sndfunc.c 2004/07/08 18:27:22
+@@ -18,7 +18,11 @@
+ #include <machine/soundcard.h>
+ #endif
+
++#ifdef __NetBSD__
++#define AUDIO "/dev/sound"
++#else
+ #define AUDIO "/dev/dsp"
++#endif
+
+ /* Globals */
+ int audio, abuf_size, fmt_mask;