[arch-commits] Commit in mythtv/trunk (PKGBUILD mythtv-dvb.patch mythtv-ffmpeg.patch)

Allan McRae allan at archlinux.org
Sat May 9 06:34:04 EDT 2009


    Date: Saturday, May 9, 2009 @ 06:34:03
  Author: allan
Revision: 38569

upgpkg: mythtv 0.21-2
    add patches to svn

Added:
  mythtv/trunk/mythtv-dvb.patch
  mythtv/trunk/mythtv-ffmpeg.patch
Modified:
  mythtv/trunk/PKGBUILD

---------------------+
 PKGBUILD            |    1 +
 mythtv-dvb.patch    |   21 +++++++++++++++++++++
 mythtv-ffmpeg.patch |   18 ++++++++++++++++++
 3 files changed, 40 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-09 09:38:15 UTC (rev 38568)
+++ PKGBUILD	2009-05-09 10:34:03 UTC (rev 38569)
@@ -23,6 +23,7 @@
 	QUICKSTART.archlinux)
 md5sums=('49fc135e1cde90cd935c1229467fa37e'
          '64e065ae63711935575665a1f60d51e1'
+         '47399b97437fdf2ed26e7b0cdac80afd'
          '75614f43b579fcae870a7c128038f147'
          'a0ecb7f476cb71c0c1ac90d349fc7695')
 

Added: mythtv-dvb.patch
===================================================================
--- mythtv-dvb.patch	                        (rev 0)
+++ mythtv-dvb.patch	2009-05-09 10:34:03 UTC (rev 38569)
@@ -0,0 +1,21 @@
+diff -Naur mythtv-0.21-old/libs/libmythtv/dvbtypes.h mythtv-0.21/libs/libmythtv/dvbtypes.h
+--- mythtv-0.21-old/libs/libmythtv/dvbtypes.h	2007-01-08 01:29:30.000000000 +1000
++++ mythtv-0.21/libs/libmythtv/dvbtypes.h	2009-05-09 18:00:29.000000000 +1000
+@@ -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

Added: mythtv-ffmpeg.patch
===================================================================
--- mythtv-ffmpeg.patch	                        (rev 0)
+++ mythtv-ffmpeg.patch	2009-05-09 10:34:03 UTC (rev 38569)
@@ -0,0 +1,18 @@
+diff -Naur mythtv-0.21-old/libs/libmythtv/mpeg/pespacket.cpp mythtv-0.21/libs/libmythtv/mpeg/pespacket.cpp
+--- mythtv-0.21-old/libs/libmythtv/mpeg/pespacket.cpp	2006-09-08 04:55:03.000000000 +1000
++++ mythtv-0.21/libs/libmythtv/mpeg/pespacket.cpp	2009-05-09 19:46:15.000000000 +1000
+@@ -6,10 +6,10 @@
+ 
+ extern "C" {
+ #include "mythconfig.h"
+-#include "../libavcodec/avcodec.h"
+-#include "../libavformat/avformat.h"
+-#include "../libavutil/crc.h"
+-#include "../libavutil/bswap.h"
++#include "libavcodec/avcodec.h"
++#include "libavformat/avformat.h"
++#include "libavutil/crc.h"
++#include "libavutil/bswap.h"
+ }
+ 
+ #include <vector>



More information about the arch-commits mailing list