summaryrefslogtreecommitdiff
path: root/sysutils/gcdmaster/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gcdmaster/patches/patch-af')
-rw-r--r--sysutils/gcdmaster/patches/patch-af24
1 files changed, 24 insertions, 0 deletions
diff --git a/sysutils/gcdmaster/patches/patch-af b/sysutils/gcdmaster/patches/patch-af
new file mode 100644
index 00000000000..475fb17d7a8
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-af
@@ -0,0 +1,24 @@
+$NetBSD: patch-af,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+--- xdao/SoundIF-linux.cc.orig Sat May 19 00:12:28 2001
++++ xdao/SoundIF-linux.cc Sat May 19 00:16:47 2001
+@@ -34,7 +34,7 @@
+ *
+ */
+
+-#include <linux/soundcard.h>
++#include <soundcard.h>
+
+ #include <stdio.h>
+ #include <assert.h>
+@@ -167,8 +167,8 @@
+ if (dspFd_ >= 0)
+ return 0; // already open
+
+- if ((dspFd_ = open("/dev/dsp", O_WRONLY | O_NONBLOCK)) < 0) {
+- message(-1, "Cannot open \"/dev/dsp\": %s", strerror(errno));
++ if ((dspFd_ = open("/dev/sound", O_WRONLY | O_NONBLOCK)) < 0) {
++ message(-1, "Cannot open \"/dev/sound\": %s", strerror(errno));
+ return 1;
+ }
+