PKGBUILDs/extra/mythtv/mythtv-dvb.patch
2009-10-09 21:23:22 -05:00

21 lines
757 B
Diff

diff -Naur mythtv-0.21-old/libs/libmythtv/dvbtypes.h mythtv-0.21/libs/libmythtv/dvbtypes.h
--- mythtv-0.21-old/libs/libmythtv/dvbtypes.h 2007-01-08 01:29:30.000000000 +1000
+++ mythtv-0.21/libs/libmythtv/dvbtypes.h 2009-05-09 18:00:29.000000000 +1000
@@ -19,7 +19,7 @@
#include <linux/dvb/frontend.h>
#include <linux/dvb/dmx.h>
-#if (DVB_API_VERSION != 3)
+#if (DVB_API_VERSION != 3 && DVB_API_VERSION != 5)
# error "DVB driver includes with API version 3 not found!"
#endif
@@ -27,7 +27,7 @@
# define DVB_API_VERSION_MINOR 0
#endif
-#if (DVB_API_VERSION >= 3 && DVB_API_VERSION_MINOR >= 1)
+#if ((DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1) || (DVB_API_VERSION > 3))
# define USE_ATSC
#else
#warning DVB API version < 3.1