summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2006-05-06 21:25:22 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2006-05-06 21:25:22 +0000
commit5c9dfa43ed2af96b6e336ca39ba033a28248c0f0 (patch)
tree664111cae6cc3628acc49873fce6ef601e050cde /media-plugins/vdr-ffnetdev/files
parentBump for 2.14.1 (diff)
downloadgentoo-2-5c9dfa43ed2af96b6e336ca39ba033a28248c0f0.tar.gz
gentoo-2-5c9dfa43ed2af96b6e336ca39ba033a28248c0f0.tar.bz2
gentoo-2-5c9dfa43ed2af96b6e336ca39ba033a28248c0f0.zip
compile problems fixed by use VDR with bigpatch; reported by Quacks @ #gentoo-vdr
(Portage version: 2203-svn)
Diffstat (limited to 'media-plugins/vdr-ffnetdev/files')
-rw-r--r--media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.0-bigpatch-headers.diff34
1 files changed, 34 insertions, 0 deletions
diff --git a/media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.0-bigpatch-headers.diff b/media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.0-bigpatch-headers.diff
new file mode 100644
index 000000000000..fd6ccef926c2
--- /dev/null
+++ b/media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.0-bigpatch-headers.diff
@@ -0,0 +1,34 @@
+fix compile Problems if you VDR compiled with bigpatch
+
+Joerg Bornkessel <hd_brummy@gentoo.org> (06 May 2006)
+
+diff -Naur vdr-ffnetdev-0.1.0.orig/ffnetdev.c vdr-ffnetdev-0.1.0/ffnetdev.c
+--- vdr-ffnetdev-0.1.0.orig/ffnetdev.c 2006-05-06 21:00:39.433264204 +0000
++++ vdr-ffnetdev-0.1.0/ffnetdev.c 2006-05-06 21:02:31.248100382 +0000
+@@ -127,8 +127,12 @@
+ return true;
+ }
+
+-bool cPluginFFNetDev::Active(void) {
+- return (cOSDWorker::Active() || cTSWorker::Active());
++cString cPluginFFNetDev::Active(void) {
++ if(cOSDWorker::Active() || cTSWorker::Active())
++ {
++ return tr("Null Ahnung");
++ }
++ return NULL;
+ }
+
+ bool cPluginFFNetDev::Start(void)
+diff -Naur vdr-ffnetdev-0.1.0.orig/ffnetdev.h vdr-ffnetdev-0.1.0/ffnetdev.h
+--- vdr-ffnetdev-0.1.0.orig/ffnetdev.h 2006-05-06 21:00:39.437264878 +0000
++++ vdr-ffnetdev-0.1.0/ffnetdev.h 2006-05-06 21:01:09.062255117 +0000
+@@ -40,7 +40,7 @@
+ virtual cOsdObject *MainMenuAction(void);
+ virtual cMenuSetupPage *SetupMenu(void);
+ virtual bool SetupParse(const char *Name, const char *Value);
+- virtual bool Active(void);
++ virtual cString Active(void);
+
+ void SetPrimaryDevice();
+ void RestorePrimaryDevice();