summaryrefslogtreecommitdiff
path: root/audio/aumix
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-06-07 02:21:52 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-06-07 02:21:52 +0000
commit0467aae499c92d2291845dfda27e5622a727a993 (patch)
tree34ed02ae681900dda940f9ba00d20f84e185a83b /audio/aumix
parentRespect NOPORTDOCS (diff)
machine/soundcard.h -> sys/soundcard.h
Submitted by: bento
Diffstat (limited to 'audio/aumix')
-rw-r--r--audio/aumix/files/patch-src::common.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/audio/aumix/files/patch-src::common.h b/audio/aumix/files/patch-src::common.h
new file mode 100644
index 000000000000..bfba61c3dfcc
--- /dev/null
+++ b/audio/aumix/files/patch-src::common.h
@@ -0,0 +1,25 @@
+$FreeBSD$
+
+--- src/common.h.orig Thu Jun 6 19:50:10 2002
++++ src/common.h Thu Jun 6 19:51:01 2002
+@@ -24,18 +24,14 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+-/* "The nice thing about standards..." */
+-#if defined (__FreeBSD__)
+-#include <machine/soundcard.h>
+-#else
++/* "The nice thing about standards..." */
+ #if defined (__NetBSD__) || defined (__OpenBSD__)
+ #include <soundcard.h> /* OSS emulation */
+ #undef ioctl
+ #else
+-/* BSDI, Linux, Solaris */
++/* FreeBSD, BSDI, Linux, Solaris */
+ #include <sys/soundcard.h>
+ #endif /* __NetBSD__ or __OpenBSD__ */
+-#endif /* __FreeBSD__ */
+ #ifdef HAVE_ALSA
+ #include <sys/asoundlib.h>
+ #endif /* HAVE_ALSA */