aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xawtv
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-05-21 07:23:55 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-05-21 07:23:55 +0000
commit21d36fe64c9977c4f976cb7e054e976391b91b49 (patch)
tree0d8a33ac962c3839e512d7bb35aae81278f966a7 /multimedia/xawtv
parent1f2256b7adbd103db173c6aefc32ce12448af4b1 (diff)
downloadports-21d36fe64c9977c4f976cb7e054e976391b91b49.tar.gz
ports-21d36fe64c9977c4f976cb7e054e976391b91b49.zip
add a 3rd header-include case - that makes it compile on my amd64 system
but... it still coredumpes, so ONLY_FOR_ARCH stays like it is right now
Notes
Notes: svn path=/head/; revision=135745
Diffstat (limited to 'multimedia/xawtv')
-rw-r--r--multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c b/multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c
index 9402e0e1c842..ee24825397c5 100644
--- a/multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c
+++ b/multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c
@@ -1,5 +1,20 @@
--- libng/plugins/drv0-bsd.c.orig Wed Feb 11 23:13:04 2004
+++ libng/plugins/drv0-bsd.c Wed Feb 11 23:13:10 2004
+@@ -23,10 +23,12 @@
+
+ #ifdef HAVE_DEV_IC_BT8XX_H
+ # include <dev/ic/bt8xx.h>
+-#endif
+-#ifdef HAVE_MACHINE_IOCTL_BT848_H
++#elif defined(HAVE_MACHINE_IOCTL_BT848_H)
+ # include <machine/ioctl_bt848.h>
+ # include <machine/ioctl_meteor.h>
++#else
++# include <dev/bktr/ioctl_bt848.h>
++# include <dev/bktr/ioctl_meteor.h>
+ #endif
+
+ #include "grab-ng.h"
@@ -599,7 +599,15 @@
static int bsd_tuned(void *handle)