From 21d36fe64c9977c4f976cb7e054e976391b91b49 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Sat, 21 May 2005 07:23:55 +0000 Subject: 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 --- multimedia/xawtv/files/patch-libng::plugins::drv0-bsd.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'multimedia') 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 +-#endif +-#ifdef HAVE_MACHINE_IOCTL_BT848_H ++#elif defined(HAVE_MACHINE_IOCTL_BT848_H) + # include + # include ++#else ++# include ++# include + #endif + + #include "grab-ng.h" @@ -599,7 +599,15 @@ static int bsd_tuned(void *handle) -- cgit v1.2.3