aboutsummaryrefslogtreecommitdiff
path: root/audio/cdrdao/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'audio/cdrdao/files/patch-ac')
-rw-r--r--audio/cdrdao/files/patch-ac28
1 files changed, 28 insertions, 0 deletions
diff --git a/audio/cdrdao/files/patch-ac b/audio/cdrdao/files/patch-ac
new file mode 100644
index 000000000000..40d2dea2e860
--- /dev/null
+++ b/audio/cdrdao/files/patch-ac
@@ -0,0 +1,28 @@
+--- configure.orig Wed Oct 27 01:13:45 1999
++++ configure Wed Oct 27 03:29:33 1999
+@@ -2945,7 +2945,7 @@
+ esac
+
+ case "$host" in
+- *-linux-*)
++ *-linux-* | *-freebsd*)
+ sound_if_src=SoundIF-linux.cc
+ ;;
+
+--- xdao/SoundIF-linux.cc.orig Wed Oct 27 01:13:46 1999
++++ xdao/SoundIF-linux.cc Wed Oct 27 03:37:23 1999
+@@ -31,7 +31,14 @@
+ *
+ */
+
++# if defined(__FreeBSD__)
++#include <machine/soundcard.h>
++# if !defined(SNDCTL_DSP_CHANNELS)
++# define SNDCTL_DSP_CHANNELS SNDCTL_DSP_STEREO
++# endif
++# else
+ #include <linux/soundcard.h>
++# endif
+
+ #include <stdio.h>
+ #include <assert.h>