pkgsrc/multimedia/mplayer-share/patches/patch-stream_dvbin.h
wiz 5e4b11b1af Add comments to patches. From Leonardo Taccari in private mail.
XXX:
patch-ae and patch-sub_osd.c (OS X support) need to reviewed if
they are still needed.
The same holds for patch-ve_x264
2012-06-11 21:55:34 +00:00

20 lines
469 B
C

$NetBSD: patch-stream_dvbin.h,v 1.2 2012/06/11 21:55:34 wiz Exp $
Add support for dvb capture on NetBSD.
--- stream/dvbin.h.orig 2010-06-21 14:39:24.000000000 +0000
+++ stream/dvbin.h
@@ -16,9 +16,13 @@
#define LOF2 (10600*1000UL)
#include <inttypes.h>
+#ifdef __NetBSD__
+#include <dev/dtv/dtvio.h>
+#else
#include <linux/dvb/dmx.h>
#include <linux/dvb/frontend.h>
#include <linux/dvb/version.h>
+#endif
#undef DVB_ATSC
#if defined(DVB_API_VERSION_MINOR)