summaryrefslogtreecommitdiff
path: root/sysutils/cdrdao/files/patch-ac
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-01 02:04:33 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-01 02:04:33 +0000
commit40afbb8a710c355e1682492b089e2689b9acf85c (patch)
tree5570680e9357a4297512e89343dc50e081a896ac /sysutils/cdrdao/files/patch-ac
parentUpdate to version 2.1.3. (diff)
Update to version 1.1.3.
PR: 14550 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=22789
Diffstat (limited to 'sysutils/cdrdao/files/patch-ac')
-rw-r--r--sysutils/cdrdao/files/patch-ac28
1 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/cdrdao/files/patch-ac b/sysutils/cdrdao/files/patch-ac
new file mode 100644
index 000000000000..40d2dea2e860
--- /dev/null
+++ b/sysutils/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>