aboutsummaryrefslogtreecommitdiffstats
path: root/audio/tuneradio/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-10 04:43:42 +0800
committerkrion <krion@FreeBSD.org>2004-02-10 04:43:42 +0800
commit7a98342a468188dba20b05c4388c5862aaa33089 (patch)
tree737bcc997993a1778d779b484beb4239f1f4aad2 /audio/tuneradio/files
parent38191b258c21f67e6a56e716f311dca2da730009 (diff)
downloadfreebsd-ports-gnome-7a98342a468188dba20b05c4388c5862aaa33089.tar.gz
freebsd-ports-gnome-7a98342a468188dba20b05c4388c5862aaa33089.tar.zst
freebsd-ports-gnome-7a98342a468188dba20b05c4388c5862aaa33089.zip
- Fix build on AMD64
Approved by: maintainer informed
Diffstat (limited to 'audio/tuneradio/files')
-rw-r--r--audio/tuneradio/files/patch-tuneradio.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/tuneradio/files/patch-tuneradio.c b/audio/tuneradio/files/patch-tuneradio.c
new file mode 100644
index 000000000000..5532a8831aae
--- /dev/null
+++ b/audio/tuneradio/files/patch-tuneradio.c
@@ -0,0 +1,15 @@
+--- tuneradio.c.orig Fri Oct 31 06:53:39 2003
++++ tuneradio.c Mon Feb 9 21:40:26 2004
+@@ -41,7 +41,12 @@
+ #include <unistd.h>
+ #include <sys/ioctl.h>
+ #include <sys/types.h>
++#include <sys/param.h>
++#if __FreeBSD_version >= 502100
++#include <dev/bktr/ioctl_bt848.h>
++#else
+ #include <machine/ioctl_bt848.h>
++#endif
+
+ #define TRUE 1
+ #define FALSE 0