summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2009-05-07 15:23:34 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2009-05-07 15:23:34 +0000
commitcf5a7c0360ba1d63223b354e1eb353a543f8407a (patch)
treee9af78ab179ff662ec3fb6185649adfee97cdb32
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-cf5a7c0360ba1d63223b354e1eb353a543f8407a.tar.gz
gentoo-2-cf5a7c0360ba1d63223b354e1eb353a543f8407a.tar.bz2
gentoo-2-cf5a7c0360ba1d63223b354e1eb353a543f8407a.zip
compile fix for >=vdr-1.7.2
(Portage version: 2.1.6.11/cvs/Linux i686)
-rw-r--r--media-plugins/vdr-vcd/ChangeLog6
-rw-r--r--media-plugins/vdr-vcd/files/vdr-vcd-0.9_vdr-1.7.2.diff17
-rw-r--r--media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild5
3 files changed, 26 insertions, 2 deletions
diff --git a/media-plugins/vdr-vcd/ChangeLog b/media-plugins/vdr-vcd/ChangeLog
index d1dc3197d3fa..1572716c2794 100644
--- a/media-plugins/vdr-vcd/ChangeLog
+++ b/media-plugins/vdr-vcd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-vcd
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vcd/ChangeLog,v 1.10 2009/03/12 21:03:43 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vcd/ChangeLog,v 1.11 2009/05/07 15:23:34 hd_brummy Exp $
+
+ 07 May 2009; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-vcd-0.9.ebuild,
+ +files/vdr-vcd-0.9_vdr-1.7.2.diff:
+ compile fix for >=vdr-1.7.2
12 Mar 2009; Matthias Schwarzott <zzam@gentoo.org> vdr-vcd-0.9.ebuild:
Marked stable on x86.
diff --git a/media-plugins/vdr-vcd/files/vdr-vcd-0.9_vdr-1.7.2.diff b/media-plugins/vdr-vcd/files/vdr-vcd-0.9_vdr-1.7.2.diff
new file mode 100644
index 000000000000..b9da87923edd
--- /dev/null
+++ b/media-plugins/vdr-vcd/files/vdr-vcd-0.9_vdr-1.7.2.diff
@@ -0,0 +1,17 @@
+compile fix for >=vdr-1.7.2
+Joerg Bornkessel <hd_brummy@gentoo.org> 07 May 2009
+diff -Naur vcd-0.9.orig/player.h vcd-0.9/player.h
+--- vcd-0.9.orig/player.h 2009-05-07 17:10:46.839425275 +0200
++++ vcd-0.9/player.h 2009-05-07 17:12:55.446843178 +0200
+@@ -42,6 +42,11 @@
+ #define VIDEO_STREAM_SC 0xE0
+ #define SC_MASK 0xE0
+
++#if VDRVERSNUM > 10701
++#define I_FRAME 1
++#define FRAMESPERSEC 25
++#endif
++
+ class cVcdPlayer;
+
+ class cVcdPlayerControl : public cControl {
diff --git a/media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild b/media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild
index 91a9125f5b26..28d8519ef341 100644
--- a/media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild
+++ b/media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild,v 1.4 2009/03/12 21:03:43 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild,v 1.5 2009/05/07 15:23:34 hd_brummy Exp $
inherit eutils vdr-plugin
@@ -15,6 +15,9 @@ KEYWORDS="~amd64 x86"
IUSE=""
DEPEND=">=media-video/vdr-1.4.7"
+RDEPEND="${DEPEND}"
+
+PATCHES="${FILESDIR}/${P}_vdr-1.7.2.diff"
src_unpack() {
vdr-plugin_src_unpack unpack