diff options
Diffstat (limited to 'media-tv/mythtv/files')
-rw-r--r-- | media-tv/mythtv/files/mythtv-0.21-bttv.patch | 13 | ||||
-rw-r--r-- | media-tv/mythtv/files/mythtv-0.21-dvb-headers.patch | 21 |
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 |