From 8b5d6fc1d80ea01d1a4cc4be8c8729e548f7e624 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Tue, 19 Dec 2000 15:39:12 +0000 Subject: New port audio/mad, a High-quality MPEG audio decoder. PR: 22950 Submitted by: Jason R. Mastaler --- audio/mad/files/patch-ab | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 audio/mad/files/patch-ab (limited to 'audio/mad/files/patch-ab') 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; -- cgit v1.2.3