summarylogtreecommitdiffstats
path: root/vdr-suspendoutput-timer_fix_vdr2.4.patch
diff options
context:
space:
mode:
authorManuel Reimer2021-01-02 13:42:28 +0100
committerManuel Reimer2021-01-02 13:42:28 +0100
commita27623c8547f6cd23530eb4c731bce490a6bfca7 (patch)
tree0d6e56a42aefea210683a0e423dc39be0e06910b /vdr-suspendoutput-timer_fix_vdr2.4.patch
parent206e6d4a0653b764e335afb42abe9d1ba0a6a139 (diff)
downloadaur-a27623c8547f6cd23530eb4c731bce490a6bfca7.tar.gz
Sync from VDR4Arch (https://github.com/VDR4Arch/vdr4arch/commit/b776b5c2e72570d7a4928edcffb6d0aa313a2f6c)
Diffstat (limited to 'vdr-suspendoutput-timer_fix_vdr2.4.patch')
-rw-r--r--vdr-suspendoutput-timer_fix_vdr2.4.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/vdr-suspendoutput-timer_fix_vdr2.4.patch b/vdr-suspendoutput-timer_fix_vdr2.4.patch
new file mode 100644
index 000000000000..8ff7df68556c
--- /dev/null
+++ b/vdr-suspendoutput-timer_fix_vdr2.4.patch
@@ -0,0 +1,22 @@
+Index: vdr-plugin-suspendoutput-2.1.0/timer.h
+===================================================================
+--- vdr-plugin-suspendoutput-2.1.0.orig/timer.h 2016-06-08 21:20:37.000000000 +0200
++++ vdr-plugin-suspendoutput-2.1.0/timer.h 2019-03-21 19:57:50.709724606 +0100
+@@ -243,7 +243,7 @@
+
+ template<class TCLASS>
+ cTimerEvent *CreateTimerEvent(TCLASS *c, void (TCLASS::*fp)(void),
+- unsigned int TimeoutMs, bool runOnce = true)
++ unsigned int TimeoutMs, bool runOnce)
+ {
+ return new cTimerFunctor0<TCLASS>(c,fp,TimeoutMs,runOnce);
+ }
+@@ -251,7 +251,7 @@
+ template<class TCLASS, class TARG1>
+ cTimerEvent *CreateTimerEvent(TCLASS *c, void (TCLASS::*fp)(TARG1),
+ TARG1 arg1,
+- unsigned int TimeoutMs, bool runOnce = true)
++ unsigned int TimeoutMs, bool runOnce)
+ {
+ return new cTimerFunctor1<TCLASS,TARG1>(c,fp,arg1,TimeoutMs,runOnce);
+ }