summaryrefslogtreecommitdiff
path: root/x11/kdelibs2/files/patch-artsdsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdelibs2/files/patch-artsdsp.c')
-rw-r--r--x11/kdelibs2/files/patch-artsdsp.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/kdelibs2/files/patch-artsdsp.c b/x11/kdelibs2/files/patch-artsdsp.c
new file mode 100644
index 000000000000..380c17a588e5
--- /dev/null
+++ b/x11/kdelibs2/files/patch-artsdsp.c
@@ -0,0 +1,12 @@
+--- arts/artsc/artsdsp.c Sat Oct 28 18:12:12 2000
++++ arts/artsc/artsdsp.c.new Sat Oct 28 18:14:56 2000
+@@ -27,6 +27,9 @@
+ #endif
+
+ #ifdef HAVE_SYS_SOUNDCARD_H
++#ifndef SNDCTL_DSP_CHANNELS
++#define SNDCTL_DSP_CHANNELS SOUND_PCM_WRITE_CHANNELS
++#endif
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <unistd.h>