diff options
author | tron <tron@pkgsrc.org> | 1999-04-07 23:21:26 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-04-07 23:21:26 +0000 |
commit | 023f9af587d853505a2f58c354bb948f0670fbc7 (patch) | |
tree | fb7749f8cc00e283b5df468a02ed636444d0b0c2 /audio/esound | |
parent | 33b0a3ca1bec302520e08c88da75e29fba9c1609 (diff) | |
download | pkgsrc-023f9af587d853505a2f58c354bb948f0670fbc7.tar.gz |
Use "/dev/audio", not "/dev/dsp". Fixes PR pkg/7296.
Diffstat (limited to 'audio/esound')
-rw-r--r-- | audio/esound/patches/patch-ab | 22 |
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); |