pkgsrc/multimedia/xawtv/patches/patch-ad

16 lines
511 B
Text

$NetBSD: patch-ad,v 1.1 2006/01/18 21:03:26 joerg Exp $
--- libng/plugins/drv0-bsd.c.orig 2006-01-18 20:47:34.000000000 +0000
+++ libng/plugins/drv0-bsd.c
@@ -24,7 +24,10 @@
#ifdef HAVE_DEV_IC_BT8XX_H
# include <dev/ic/bt8xx.h>
#endif
-#ifdef HAVE_MACHINE_IOCTL_BT848_H
+#if defined(__DragonFly__)
+# include <dev/video/meteor/ioctl_meteor.h>
+# include <dev/video/bktr/ioctl_bt848.h>
+#elif defined(HAVE_MACHINE_IOCTL_BT848_H)
# include <machine/ioctl_bt848.h>
# include <machine/ioctl_meteor.h>
#endif