summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)