aboutsummaryrefslogtreecommitdiff
path: root/audio/xmradio
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-08 10:22:25 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-08 10:22:25 +0000
commit3b71e09158e04968a7cf911d372340ab19f5269d (patch)
tree2a2ee6ebb622d0d9b1cbd5cedf796df535d5ab87 /audio/xmradio
parent677b68964ce288acdf98b26a288e16f1b64e4093 (diff)
downloadports-3b71e09158e04968a7cf911d372340ab19f5269d.tar.gz
ports-3b71e09158e04968a7cf911d372340ab19f5269d.zip
Fix build on -current (machine/soundcard.h -> sys/soundcard.h)
Notes
Notes: svn path=/head/; revision=65834
Diffstat (limited to 'audio/xmradio')
-rw-r--r--audio/xmradio/files/patch-ab11
-rw-r--r--audio/xmradio/files/patch-ac11
-rw-r--r--audio/xmradio/files/patch-ad26
3 files changed, 48 insertions, 0 deletions
diff --git a/audio/xmradio/files/patch-ab b/audio/xmradio/files/patch-ab
new file mode 100644
index 000000000000..d113d268966e
--- /dev/null
+++ b/audio/xmradio/files/patch-ab
@@ -0,0 +1,11 @@
+--- sample.c.orig Sun Sep 8 03:00:57 2002
++++ sample.c Sun Sep 8 03:01:20 2002
+@@ -43,7 +43,7 @@
+ #ifdef __NetBSD__
+ #include <soundcard.h>
+ #else
+-#ifdef linux
++#if defined(linux) || defined(__FreeBSD__)
+ #include <sys/soundcard.h>
+ #else
+ #include <machine/soundcard.h>
diff --git a/audio/xmradio/files/patch-ac b/audio/xmradio/files/patch-ac
new file mode 100644
index 000000000000..bb46481553a8
--- /dev/null
+++ b/audio/xmradio/files/patch-ac
@@ -0,0 +1,11 @@
+--- analyzer.c.orig Sun Sep 8 03:00:48 2002
++++ analyzer.c Sun Sep 8 03:01:47 2002
+@@ -37,7 +37,7 @@
+ #include <soundcard.h>
+ #include <sys/ioctl.h>
+ #else
+-#ifdef linux
++#if defined(linux) || defined(__FreeBSD__)
+ #include <sys/soundcard.h>
+ #else
+ #include <machine/soundcard.h>
diff --git a/audio/xmradio/files/patch-ad b/audio/xmradio/files/patch-ad
new file mode 100644
index 000000000000..52f2c3c2d485
--- /dev/null
+++ b/audio/xmradio/files/patch-ad
@@ -0,0 +1,26 @@
+--- radio.c.orig Tue Nov 27 13:30:42 2001
++++ radio.c Sun Sep 8 03:13:58 2002
+@@ -63,17 +63,17 @@
+ #ifdef __NetBSD__
+ #include <dev/ic/bt8xx.h>
+ #include <soundcard.h>
+-#else
+-#ifdef linux
++#elif defined(linux)
+ #include <linux/bttv.h>
+ #include <sys/soundcard.h>
+-#else
++#elif defined(__FreeBSD__)
++#include <sys/soundcard.h>
+ #include <machine/ioctl_bt848.h>
+-#ifdef JUHA_DRIVER
+-#include <machine/ioctl_tuner.h>
+-#endif
++#else
+ #include <machine/soundcard.h>
+ #endif
++#ifdef JUHA_DRIVER
++#include <machine/ioctl_tuner.h>
+ #endif
+
+ #include <X11/X.h>