summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-10-07 12:21:08 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-10-07 12:21:08 +0000
commit9e8ccfe43c13255c7d0e8253c24f5711c25b6c36 (patch)
tree848b9c39eb3dae4aacb399b55466f6539e5253c6 /media-plugins/vdr-remotetimers/files
parentVersion bumped. (diff)
downloadgentoo-2-9e8ccfe43c13255c7d0e8253c24f5711c25b6c36.tar.gz
gentoo-2-9e8ccfe43c13255c7d0e8253c24f5711c25b6c36.tar.bz2
gentoo-2-9e8ccfe43c13255c7d0e8253c24f5711c25b6c36.zip
Initial import of ebuild written by me.
(Portage version: 2.1.3.12)
Diffstat (limited to 'media-plugins/vdr-remotetimers/files')
-rw-r--r--media-plugins/vdr-remotetimers/files/digest-vdr-remotetimers-0.0.13
-rw-r--r--media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-svdrpservice.diff24
-rw-r--r--media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff15
3 files changed, 42 insertions, 0 deletions
diff --git a/media-plugins/vdr-remotetimers/files/digest-vdr-remotetimers-0.0.1 b/media-plugins/vdr-remotetimers/files/digest-vdr-remotetimers-0.0.1
new file mode 100644
index 000000000000..1276c1a62300
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/files/digest-vdr-remotetimers-0.0.1
@@ -0,0 +1,3 @@
+MD5 bddd98e8ec0d30863f1ff5ff37a6971b vdr-remotetimers-0.0.1.tgz 25118
+RMD160 e61e14c1d7be6a88c0564e30ba8b62c8c03c756f vdr-remotetimers-0.0.1.tgz 25118
+SHA256 6afddb667ac8c2aaffd7897d6f4608126dff8b9893d4f0c72d6c020aae6a6334 vdr-remotetimers-0.0.1.tgz 25118
diff --git a/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-svdrpservice.diff b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-svdrpservice.diff
new file mode 100644
index 000000000000..07a72b47fa9a
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-svdrpservice.diff
@@ -0,0 +1,24 @@
+Bugfix for version 0.0.1 (reported by Maniac@vdrportal):
+Either make sure svdrpservice is loaded before remotetimers or apply
+this patch.
+
+--- timers.c.orig 2007-03-16 07:39:06.000000000 +0100
++++ timers.c 2007-03-16 07:41:27.000000000 +0100
+@@ -48,7 +48,7 @@
+ // cRemoteTimers -------------------------------------------------
+
+ cRemoteTimers::cRemoteTimers(): refcount(0) {
+- plugin = cPluginManager::GetPlugin("svdrpservice");
++ plugin = NULL;
+ svdrp.handle = -1;
+ }
+
+@@ -59,6 +59,8 @@
+
+ bool cRemoteTimers::Connect() {
+ refcount++;
++ if (!plugin)
++ plugin = cPluginManager::GetPlugin("svdrpservice");
+ if (plugin && svdrp.handle < 0) {
+ svdrp.serverIp = RemoteTimersSetup.serverIp;
+ svdrp.serverPort = RemoteTimersSetup.serverPort;
diff --git a/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff
new file mode 100644
index 000000000000..b3f5057512ec
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff
@@ -0,0 +1,15 @@
+diff -ru remotetimers-0.0.1-orig/menu.c remotetimers-0.0.1/menu.c
+--- remotetimers-0.0.1-orig/menu.c 2007-10-07 14:07:19.565912321 +0200
++++ remotetimers-0.0.1/menu.c 2007-10-07 14:08:13.062429433 +0200
+@@ -206,7 +206,11 @@
+ {
+ cString day, name("");
+ if (timer->WeekDays())
++#if APIVERSNUM >= 10503
++ day = timer->PrintDay(0, timer->WeekDays(), false);
++#else
+ day = timer->PrintDay(0, timer->WeekDays());
++#endif
+ else if (timer->Day() - time(NULL) < 28 * SECSINDAY) {
+ day = itoa(timer->GetMDay(timer->Day()));
+ name = WeekDayName(timer->Day());