summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2006-02-05 19:49:03 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2006-02-05 19:49:03 +0000
commitabefb065749ce203b2cc33be7e25332c59383ffd (patch)
treed454b6c2180ce7ae17dd518c20674b3f2fbd6ad8 /media-plugins/vdr-powermate
parentadded to ~ppc, bug #121376 (diff)
downloadgentoo-2-abefb065749ce203b2cc33be7e25332c59383ffd.tar.gz
gentoo-2-abefb065749ce203b2cc33be7e25332c59383ffd.tar.bz2
gentoo-2-abefb065749ce203b2cc33be7e25332c59383ffd.zip
patch to work with >=vdr-1.3.38 added
(Portage version: 2.0.54)
Diffstat (limited to 'media-plugins/vdr-powermate')
-rw-r--r--media-plugins/vdr-powermate/ChangeLog6
-rw-r--r--media-plugins/vdr-powermate/Manifest16
-rw-r--r--media-plugins/vdr-powermate/files/vdr-powermate-0.0.3-1.3.38.diff32
-rw-r--r--media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild4
4 files changed, 43 insertions, 15 deletions
diff --git a/media-plugins/vdr-powermate/ChangeLog b/media-plugins/vdr-powermate/ChangeLog
index b676223927b6..84e76a8c5c1d 100644
--- a/media-plugins/vdr-powermate/ChangeLog
+++ b/media-plugins/vdr-powermate/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-powermate
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-powermate/ChangeLog,v 1.3 2006/01/15 20:30:30 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-powermate/ChangeLog,v 1.4 2006/02/05 19:49:02 hd_brummy Exp $
+
+ 05 Feb 2006; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr-powermate-0.0.3-1.3.38.diff, vdr-powermate-0.0.3.ebuild:
+ patch to work with >=vdr-1.3.38 added
15 Jan 2006; Joerg Bornkessel <hd_brummy@gentoo.org>
-files/vdr-powermate-0.0.2-1.3.18.diff, -vdr-powermate-0.0.2.ebuild,
diff --git a/media-plugins/vdr-powermate/Manifest b/media-plugins/vdr-powermate/Manifest
index 286fac1a91d2..52c55322e604 100644
--- a/media-plugins/vdr-powermate/Manifest
+++ b/media-plugins/vdr-powermate/Manifest
@@ -1,17 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 ce266509b8afdbbae483a4e4807ea0f4 ChangeLog 837
+MD5 74869067ddbbd2def006349f8239c47c ChangeLog 1003
MD5 20ef59cb49ea2d8efc392949a8ee307b files/confd 342
MD5 3f36a51719f6fdfe4cb5697b95863943 files/digest-vdr-powermate-0.0.3 67
MD5 ade2b90ac7f4c6a301ed1cffb868859e files/rc-addon.sh 1145
+MD5 d9b4aac918011d9b4a65b44916e6fa23 files/vdr-powermate-0.0.3-1.3.38.diff 924
MD5 aad7ac146115bdd00cf6ad1e75561f56 metadata.xml 530
-MD5 538c7f3fd21535b7baf758379e014388 vdr-powermate-0.0.3.ebuild 521
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-Comment: no further Information
-
-iD8DBQFDyrD7dn07HTTCgIoRAqBqAJ9IzPg2tIiiBoP8eegS5RBzsMTXgQCfTw+I
-9uPFq2NwXYoneTwttGN2LF8=
-=Usui
------END PGP SIGNATURE-----
+MD5 730b488ea83482ab1f94ec4b6bc2373c vdr-powermate-0.0.3.ebuild 561
diff --git a/media-plugins/vdr-powermate/files/vdr-powermate-0.0.3-1.3.38.diff b/media-plugins/vdr-powermate/files/vdr-powermate-0.0.3-1.3.38.diff
new file mode 100644
index 000000000000..bb354bd6573d
--- /dev/null
+++ b/media-plugins/vdr-powermate/files/vdr-powermate-0.0.3-1.3.38.diff
@@ -0,0 +1,32 @@
+--- powermate-0.0.3/powermate.c
++++ powermate-0.0.3/powermate.c
+@@ -253,9 +253,15 @@
+ cRemote::Put(key);
+ }
+
++#if VDRVERSNUM >= 10338
++void cPowerMate::Replaying(const cControl *Control, const char *Name, const char *FileName, bool On)
++{
++ if (On)
++#else
+ void cPowerMate::Replaying(const cControl *Control, const char *Name)
+ {
+ if (Name)
++#endif
+ {
+ context = kContextReplay;
+ }
+--- powermate-0.0.3/powermate.h
++++ powermate-0.0.3/powermate.h
+@@ -42,7 +42,11 @@
+ virtual ~cPowerMate();
+ void SetBrightness(int brightness);
+
++#if VDRVERSNUM >= 10338
++ virtual void Replaying(const cControl *Control, const char *Name, const char *FileName, bool On);
++#else
+ virtual void Replaying(const cControl *Control, const char *Name);
++#endif
+ virtual void OsdClear(void);
+ virtual void OsdTitle(const char *Title);
+ virtual void OsdHelpKeys(const char *Red, const char *Green, const char *Yellow, const char *Blue);
diff --git a/media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild b/media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild
index 353089ce4272..60cec9b738d3 100644
--- a/media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild
+++ b/media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild,v 1.2 2006/01/15 20:30:30 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild,v 1.3 2006/02/05 19:49:02 hd_brummy Exp $
inherit vdr-plugin
@@ -15,3 +15,5 @@ IUSE=""
RDEPEND="media-video/vdr"
DEPEND="${RDEPEND}"
+
+PATCHES="${FILESDIR}/${P}-1.3.38.diff"