summaryrefslogtreecommitdiff
path: root/audio/esound
diff options
context:
space:
mode:
authortron <tron>1999-04-07 23:21:26 +0000
committertron <tron>1999-04-07 23:21:26 +0000
commit8dbe5d978b20c0727de0a3977082657145b4ee30 (patch)
treefb7749f8cc00e283b5df468a02ed636444d0b0c2 /audio/esound
parentbdb79f2d4d7db589a68664a3bf084b09bae978b6 (diff)
downloadpkgsrc-8dbe5d978b20c0727de0a3977082657145b4ee30.tar.gz
Use "/dev/audio", not "/dev/dsp". Fixes PR pkg/7296.
Diffstat (limited to 'audio/esound')
-rw-r--r--audio/esound/patches/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/esound/patches/patch-ab b/audio/esound/patches/patch-ab
new file mode 100644
index 00000000000..5a039867d06
--- /dev/null
+++ b/audio/esound/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 1999/04/07 23:21:26 tron Exp $
+
+--- audio_oss.c.orig Wed Dec 30 17:28:45 1998
++++ audio_oss.c Thu Apr 8 01:18:25 1999
+@@ -17,7 +17,7 @@
+ #define ARCH_esd_audio_devices
+ const char *esd_audio_devices()
+ {
+- return "/dev/dsp, /dev/dsp2, etc.";
++ return "/dev/audio, /dev/audio2, etc.";
+ }
+
+
+@@ -34,7 +34,7 @@
+ mode = O_RDWR;
+
+ /* open the sound device */
+- device = esd_audio_device ? esd_audio_device : "/dev/dsp";
++ device = esd_audio_device ? esd_audio_device : "/dev/audio";
+ if ((afd = open(device, mode, 0)) == -1)
+ { /* Opening device failed */
+ perror(device);