diff options
author | kris <kris@FreeBSD.org> | 2002-09-08 09:55:31 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-09-08 09:55:31 +0000 |
commit | 4de0da9dcf87153fd82ed8dc39d31c106d22cf92 (patch) | |
tree | 67a35902d407c7c5c19fb9ab35b91177c2c51d75 /audio/xmixer | |
parent | 0ada49917be07a715accdd578c63dbe5a2fc745c (diff) | |
download | FreeBSD-ports-4de0da9dcf87153fd82ed8dc39d31c106d22cf92.zip FreeBSD-ports-4de0da9dcf87153fd82ed8dc39d31c106d22cf92.tar.gz |
Fix buildworld in current (machine/soundcard.h -> sys/soundcard.h)
Diffstat (limited to 'audio/xmixer')
-rw-r--r-- | audio/xmixer/files/patch-ae | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/audio/xmixer/files/patch-ae b/audio/xmixer/files/patch-ae index 08af966..192e796 100644 --- a/audio/xmixer/files/patch-ae +++ b/audio/xmixer/files/patch-ae @@ -1,22 +1,18 @@ ---- mixer.c.orig Sat Aug 21 15:26:41 1999 -+++ mixer.c Tue Oct 26 23:47:37 1999 -@@ -46,7 +46,18 @@ +--- mixer.c.orig Sun Sep 8 02:03:09 2002 ++++ mixer.c Sun Sep 8 02:04:25 2002 +@@ -46,7 +46,14 @@ # include <sys/asound.h> #endif #ifdef OSS -# include <sys/soundcard.h> +/* "The nice thing about standards..." */ -+#if defined (__linux__) || defined (__bsdi__) ++#if defined (__linux__) || defined (__bsdi__) || defined(__FreeBSD__) +#include <sys/soundcard.h> +#else -+#if defined (__FreeBSD__) -+#include <machine/soundcard.h> -+#else +#if defined (__NetBSD__) || defined (__OpenBSD__) +#include <soundcard.h> /* OSS emulation */ +#endif +#endif -+#endif #endif #include "mixer.h" |