summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-28 06:38:15 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-28 06:38:15 (GMT)
commit518afaade23766e5878033625442a054c9ff6a0e (patch)
treec2dc3d897632e0658da2ec7bdce659a905a5654f /abs
parent9ded0ca9e263216d37a20d7a1af5f0a4362c9d44 (diff)
downloadlinhes_pkgbuild-518afaade23766e5878033625442a054c9ff6a0e.zip
linhes_pkgbuild-518afaade23766e5878033625442a054c9ff6a0e.tar.gz
linhes_pkgbuild-518afaade23766e5878033625442a054c9ff6a0e.tar.bz2
Fix to compile w/ 2.6.28.
Diffstat (limited to 'abs')
-rw-r--r--abs/core-testing/mythtv/stable/mythtv/2.6.28_dvb_api_version.diff22
-rw-r--r--abs/core-testing/mythtv/stable/mythtv/PKGBUILD5
2 files changed, 25 insertions, 2 deletions
diff --git a/abs/core-testing/mythtv/stable/mythtv/2.6.28_dvb_api_version.diff b/abs/core-testing/mythtv/stable/mythtv/2.6.28_dvb_api_version.diff
new file mode 100644
index 0000000..0116023
--- /dev/null
+++ b/abs/core-testing/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
diff --git a/abs/core-testing/mythtv/stable/mythtv/PKGBUILD b/abs/core-testing/mythtv/stable/mythtv/PKGBUILD
index 6e405cd..00208ef 100644
--- a/abs/core-testing/mythtv/stable/mythtv/PKGBUILD
+++ b/abs/core-testing/mythtv/stable/mythtv/PKGBUILD
@@ -1,13 +1,13 @@
pkgname=mythtv
pkgver=0.21
-pkgrel=26
+pkgrel=27
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
depends=('bash' 'mysql-clients>=5.0' 'qt3' 'lame' 'lirc-utils' 'ffmpeg' \
'libxvmc')
backup=('etc/mythtv/mythbackend.conf' 'etc/mythtv/mysql.txt' 'usr/share/mythtv/is.xml')
source=(ftp://ftp.knoppmyth.net/R6/sources/${pkgname}-${pkgver}-fixes.tar.bz2 \
- mythbackend myththemedmenu.cpp.patch myththemedmenu.h.patch smolt_jump.patch )
+ mythbackend myththemedmenu.cpp.patch myththemedmenu.h.patch smolt_jump.patch 2.6.28_dvb_api_version.diff)
#md5sums=('e316ed18d7ac837cf8c4af54b1478793' '7ef6de58240e7aad389a0b13d91b1cf6'\
# 'a0ecb7f476cb71c0c1ac90d349fc7695')
@@ -28,6 +28,7 @@ build() {
# patch -p0 < ../pop_be_restart.h.patch
# patch -p0 < ../pop_be_restart.cpp.patch
patch -p0 < ../smolt_jump.patch
+ patch -p0 < ../2.6.28_dvb_api_version.diff
. /etc/profile.d/qt3.sh