summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2009-05-29 20:13:06 +0000
committerSteve Dibb <beandog@gentoo.org>2009-05-29 20:13:06 +0000
commitbba005f3ff8cd3a7e714e4788a74e9b2e7c7c27f (patch)
tree60dab54b1ee93b6b437c50ea5ceb8821e9015de5 /media-tv/mythtv/files
parentReplace kernel-conditional dependency on sys-apps/acl with virtual/acl. (diff)
downloadgentoo-2-bba005f3ff8cd3a7e714e4788a74e9b2e7c7c27f.tar.gz
gentoo-2-bba005f3ff8cd3a7e714e4788a74e9b2e7c7c27f.tar.bz2
gentoo-2-bba005f3ff8cd3a7e714e4788a74e9b2e7c7c27f.zip
Backport MythTV patch for DVB headers, bug 253338; Support VIA + XvMC, bug 225025; restore old bttv patch
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-tv/mythtv/files')
-rw-r--r--media-tv/mythtv/files/mythtv-0.21-bttv.patch13
-rw-r--r--media-tv/mythtv/files/mythtv-0.21-dvb-headers.patch21
2 files changed, 34 insertions, 0 deletions
diff --git a/media-tv/mythtv/files/mythtv-0.21-bttv.patch b/media-tv/mythtv/files/mythtv-0.21-bttv.patch
new file mode 100644
index 000000000000..d1f418dab361
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.21-bttv.patch
@@ -0,0 +1,13 @@
+Index: libs/libmythtv/NuppelVideoRecorder.cpp
+===================================================================
+--- a/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp (revision 18814)
++++ b/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp (working copy)
+@@ -981,7 +981,7 @@
+ correct_bttv = true;
+
+ QString driver = (char *)vcap.driver;
+- if (driver == "cx8800" || driver == "go7007" || driver == "em28xx")
++ if (driver == "cx8800" || driver == "go7007" || driver == "em28xx" || driver == "bttv")
+ {
+ channelfd = open(videodevice.ascii(), O_RDWR);
+ if (channelfd < 0)
diff --git a/media-tv/mythtv/files/mythtv-0.21-dvb-headers.patch b/media-tv/mythtv/files/mythtv-0.21-dvb-headers.patch
new file mode 100644
index 000000000000..02ac37b8e874
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.21-dvb-headers.patch
@@ -0,0 +1,21 @@
+--- libs/libmythtv/dvbtypes.h.orig 2009-05-29 14:05:20.000000000 -0600
++++ libs/libmythtv/dvbtypes.h 2009-05-29 14:06:22.000000000 -0600
+@@ -19,15 +19,15 @@
+ #include <linux/dvb/frontend.h>
+ #include <linux/dvb/dmx.h>
+
+-#if (DVB_API_VERSION != 3)
+-# error "DVB driver includes with API version 3 not found!"
++#if (DVB_API_VERSION != 3 && DVB_API_VERSION != 5)
++# error "DVB driver includes with API version 3 or 5 not found!"
+ #endif
+
+ #ifndef DVB_API_VERSION_MINOR
+ # 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