diff options
Diffstat (limited to 'abs/core/mythtv/stable/mythtv/2.6.28_dvb_api_version.diff')
-rw-r--r-- | abs/core/mythtv/stable/mythtv/2.6.28_dvb_api_version.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable/mythtv/2.6.28_dvb_api_version.diff b/abs/core/mythtv/stable/mythtv/2.6.28_dvb_api_version.diff new file mode 100644 index 0000000..0116023 --- /dev/null +++ b/abs/core/mythtv/stable/mythtv/2.6.28_dvb_api_version.diff @@ -0,0 +1,22 @@ +Index: libs/libmythtv/dvbtypes.h +=================================================================== +--- libs/libmythtv/dvbtypes.h (revision 19792) ++++ libs/libmythtv/dvbtypes.h (working copy) +@@ -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 == 5) + # define USE_ATSC + #else + #warning DVB API version < 3.1 |