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/files
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/files')
-rw-r--r--media-plugins/vdr-powermate/files/vdr-powermate-0.0.3-1.3.38.diff32
1 files changed, 32 insertions, 0 deletions
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);