[Frugalware-git] frugalware-current: mythtv-0.21-3-i686

Priyank priyank at frugalware.org
Sat Mar 14 08:52:57 CET 2009


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=60569a048266a7625682ebaff501b3cf47061275

commit 60569a048266a7625682ebaff501b3cf47061275
Author: Priyank <priyank at frugalware.org>
Date:   Sat Mar 14 13:22:36 2009 +0530

mythtv-0.21-3-i686
* Added a patch to fix build

diff --git a/source/xapps-extra/mythtv/FrugalBuild b/source/xapps-extra/mythtv/FrugalBuild
index 870032e..d25d5e6 100644
--- a/source/xapps-extra/mythtv/FrugalBuild
+++ b/source/xapps-extra/mythtv/FrugalBuild
@@ -13,7 +13,7 @@ groups=('xapps-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://ftp.osuosl.org/pub/mythtv/ |grep mythtv-[0-9] |Flasttarbz2"
source=(http://ftp.osuosl.org/pub/mythtv/mythtv-$pkgver.tar.bz2 \
-	rc.mythtv README.Frugalware)
+	rc.mythtv README.Frugalware $pkgname-$pkgver-dvbfix.diff)
options=('scriptlet')

build() {
@@ -31,6 +31,7 @@ build() {
}
sha1sums=('676a42fb31833baf7617148bdc8ef8ce5e352f84' \
'd0ef90e5bb4d3619d7576dc6cc0bc170e309713a' \
-          'a40bd04924c584b44e7062ded3a4fef6a9eaf6c2')
+          'a40bd04924c584b44e7062ded3a4fef6a9eaf6c2' \
+	  '525451b3b2d2583af4952be0024cdc2403fbc694')

# optimization OK
diff --git a/source/xapps-extra/mythtv/mythtv-0.21-dvbfix.diff b/source/xapps-extra/mythtv/mythtv-0.21-dvbfix.diff
new file mode 100644
index 0000000..0577524
--- /dev/null
+++ b/source/xapps-extra/mythtv/mythtv-0.21-dvbfix.diff
@@ -0,0 +1,21 @@
+diff -Naur mythtv-0.21/libs/libmythtv/dvbtypes.h mythtv-0.21.new/libs/libmythtv/dvbtypes.h
+--- mythtv-0.21/libs/libmythtv/dvbtypes.h	2007-01-07 20:59:30.000000000 +0530
++++ mythtv-0.21.new/libs/libmythtv/dvbtypes.h	2009-03-14 13:17:42.000000000 +0530
+@@ -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


More information about the Frugalware-git mailing list