1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-26 21:17:40 +00:00
freebsd-ports/sysutils/cdrdao/files/patch-ac
Steve Price 40afbb8a71 Update to version 1.1.3.
PR:		14550
Submitted by:	maintainer
1999-11-01 02:04:33 +00:00

29 lines
602 B
Plaintext

--- 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>