summaryrefslogtreecommitdiff
path: root/audio/mad/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mad/files/patch-ab')
-rw-r--r--audio/mad/files/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/mad/files/patch-ab b/audio/mad/files/patch-ab
new file mode 100644
index 000000000000..4baa9602788c
--- /dev/null
+++ b/audio/mad/files/patch-ab
@@ -0,0 +1,13 @@
+--- audio_oss.c.orig Thu Nov 16 03:51:04 2000
++++ audio_oss.c Sat Nov 18 13:45:25 2000
+@@ -57,6 +57,10 @@
+ # undef AUDIO_TRY32BITS
+ # endif
+
++# if !defined(SNDCTL_DSP_CHANNELS) && defined(SOUND_PCM_WRITE_CHANNELS)
++# define SNDCTL_DSP_CHANNELS SOUND_PCM_WRITE_CHANNELS
++# endif
++
+ # define AUDIO_DEVICE "/dev/dsp"
+
+ static int sfd;