aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-09 20:43:42 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-09 20:43:42 +0000
commit42c9f2c8feefed60169966fb4172ad829c4305f2 (patch)
treedfaf1844167b6c1410cb54454733330a4b88253a
parent931556d5faa0fe28c607f7d2e385e9f39211c410 (diff)
downloadports-42c9f2c8feefed60169966fb4172ad829c4305f2.tar.gz
ports-42c9f2c8feefed60169966fb4172ad829c4305f2.zip
- Fix build on AMD64
Approved by: maintainer informed
Notes
Notes: svn path=/head/; revision=100521
-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