summaryrefslogtreecommitdiff
path: root/audio/mad/files/patch-ab
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2000-12-19 15:39:12 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2000-12-19 15:39:12 +0000
commit8b5d6fc1d80ea01d1a4cc4be8c8729e548f7e624 (patch)
treed8fe6c71887fb7563babb31c5625f0274d7fd7b2 /audio/mad/files/patch-ab
parent- Use USE_LIBTOOL; (diff)
New port audio/mad, a High-quality MPEG audio decoder.
PR: 22950 Submitted by: Jason R. Mastaler <jason-freebsd@mastaler.com>
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;