summaryrefslogtreecommitdiff
path: root/audio/xmradio/files/patch-radio.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 14:12:36 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 14:12:36 +0000
commit6df3e23245b2c3793f24e4c42dd330d59419494c (patch)
treee86901dd11e5a970cf6211165d2b26dbe637e186 /audio/xmradio/files/patch-radio.c
parentlang/squeak: Claimed fix for PowerPC (diff)
Rename audio/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363157
Diffstat (limited to 'audio/xmradio/files/patch-radio.c')
-rw-r--r--audio/xmradio/files/patch-radio.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/audio/xmradio/files/patch-radio.c b/audio/xmradio/files/patch-radio.c
new file mode 100644
index 000000000000..52f2c3c2d485
--- /dev/null
+++ b/audio/xmradio/files/patch-radio.c
@@ -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>