summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2012-04-07 01:36:55 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2012-04-07 01:36:55 +0000
commit5412f9a6c710b4a604c5d40ea63a37ced73255c2 (patch)
treeee784efb7f0ac7daf7aa0799306954e54cab2764 /media-plugins/vdr-graphtft/files
parentVersion bump. Ebuild by Arfrever. (diff)
downloadhistorical-5412f9a6c710b4a604c5d40ea63a37ced73255c2.tar.gz
historical-5412f9a6c710b4a604c5d40ea63a37ced73255c2.tar.bz2
historical-5412f9a6c710b4a604c5d40ea63a37ced73255c2.zip
compilefix >=vdr-1.7.27
Package-Manager: portage-2.1.10.11/cvs/Linux i686
Diffstat (limited to 'media-plugins/vdr-graphtft/files')
-rw-r--r--media-plugins/vdr-graphtft/files/vdr-1.7.27.diff73
1 files changed, 73 insertions, 0 deletions
diff --git a/media-plugins/vdr-graphtft/files/vdr-1.7.27.diff b/media-plugins/vdr-graphtft/files/vdr-1.7.27.diff
new file mode 100644
index 000000000000..9d8d499b5168
--- /dev/null
+++ b/media-plugins/vdr-graphtft/files/vdr-1.7.27.diff
@@ -0,0 +1,73 @@
+diff -Naur graphtft-30.orig/dspitems.c graphtft-30/dspitems.c
+--- graphtft-30.orig/dspitems.c 2012-04-07 03:09:26.000000000 +0200
++++ graphtft-30/dspitems.c 2012-04-07 03:11:03.000000000 +0200
+@@ -397,7 +397,7 @@
+ else if (strcasecmp(var, "Path") == 0)
+ return Str::notNull(recording->FileName());
+ else if (strcasecmp(var, "Time") == 0)
+- return formatDateTime(recording->start, fmt, buf, sizeof(buf));
++ return formatDateTime(recording->Start(), fmt, buf, sizeof(buf));
+ else if (strcasecmp(var, "EventID") == 0)
+ return Str::toStr(!recording->Info() ? na : (int)recording->Info()->EventID());
+ else if (strcasecmp(var, "SubTitle") == 0)
+diff -Naur graphtft-30.orig/graphtft.c graphtft-30/graphtft.c
+--- graphtft-30.orig/graphtft.c 2012-04-07 03:16:05.000000000 +0200
++++ graphtft-30/graphtft.c 2012-04-07 03:19:52.000000000 +0200
+@@ -311,7 +311,7 @@
+ GraphTFTSetup.PluginConfPath = strdup(DATA_DIR);
+
+ #if APIVERSNUM < 10507
+- RegisterI18n(Phrases);
++// RegisterI18n(Phrases);
+ #endif
+
+ display = new cGraphTFTDisplay(THEMEVERSION);
+diff -Naur graphtft-30.orig/graphtft.h graphtft-30/graphtft.h
+--- graphtft-30.orig/graphtft.h 2012-04-07 03:16:05.000000000 +0200
++++ graphtft-30/graphtft.h 2012-04-07 03:21:04.000000000 +0200
+@@ -16,7 +16,7 @@
+ #include <vdr/config.h>
+
+ #if APIVERSNUM < 10507
+-# include "i18n.h"
++//# include "i18n.h"
+ # define trNOOP(s) (s)
+ #endif
+
+diff -Naur graphtft-30.orig/Makefile graphtft-30/Makefile
+--- graphtft-30.orig/Makefile 2012-04-07 03:16:05.000000000 +0200
++++ graphtft-30/Makefile 2012-04-07 03:18:44.000000000 +0200
+@@ -240,7 +240,7 @@
+ ### The object files (add further files here):
+
+ COMMONOBJS = $(PLUGIN).o dspitems.o display.o \
+- i18n.o setup.o osd.o scan.o theme.o common.o sysinfo.o \
++ setup.o osd.o scan.o theme.o common.o sysinfo.o \
+ touchthread.o
+
+ # transfer.o
+@@ -311,10 +311,10 @@
+
+ ### Targets:
+
+-all: libvdr-$(PLUGIN).so i18n
++all: libvdr-$(PLUGIN).so
+ @cp libvdr-$(PLUGIN).so $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION)
+
+-alli: libvdr-$(PLUGIN).so i18n
++alli: libvdr-$(PLUGIN).so
+
+ libvdr-$(PLUGIN).so: $(COMMONOBJS) $(IMLIBOBJS) $(DFBOBJS)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $^ $(LIBS) -o $@
+diff -Naur graphtft-30.orig/setup.h graphtft-30/setup.h
+--- graphtft-30.orig/setup.h 2012-04-07 03:16:05.000000000 +0200
++++ graphtft-30/setup.h 2012-04-07 03:21:41.000000000 +0200
+@@ -22,7 +22,7 @@
+ #include "theme.h"
+
+ #if APIVERSNUM < 10507
+-# include "i18n.h"
++//# include "i18n.h"
+ #endif
+
+ //***************************************************************************