summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2007-06-26 18:39:54 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2007-06-26 18:39:54 +0000
commite2813d79e04a78a36ca14286283f0a7dcf73ee92 (patch)
treee367c80dd6cfa5f0166e136333654e6ed76ecf3e /media-plugins/vdr-xineliboutput/files
parentStable on ppc; bug #183264. (diff)
downloadhistorical-e2813d79e04a78a36ca14286283f0a7dcf73ee92.tar.gz
historical-e2813d79e04a78a36ca14286283f0a7dcf73ee92.tar.bz2
historical-e2813d79e04a78a36ca14286283f0a7dcf73ee92.zip
patch added, fix for compile probs >= vdr-1.5.3
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'media-plugins/vdr-xineliboutput/files')
-rw-r--r--media-plugins/vdr-xineliboutput/files/vdr-xineliboutput-1.0.0_rc2-vdr-1.5.3.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-plugins/vdr-xineliboutput/files/vdr-xineliboutput-1.0.0_rc2-vdr-1.5.3.diff b/media-plugins/vdr-xineliboutput/files/vdr-xineliboutput-1.0.0_rc2-vdr-1.5.3.diff
new file mode 100644
index 000000000000..bfb1d5c0db6d
--- /dev/null
+++ b/media-plugins/vdr-xineliboutput/files/vdr-xineliboutput-1.0.0_rc2-vdr-1.5.3.diff
@@ -0,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 90_xineliboutput-1.0.0rc2-1.5.3.dpatch by Thomas Günther <tom@toms-cafe.de>
+## http://toms-cafe.de/vdr/download/xineliboutput-1.0.0rc2-1.5.3.diff
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Changes for VDR >= 1.5.3.
+
+@DPATCH@
+--- xineliboutput-1.0.0~rc2/tools/iconv.h
++++ xineliboutput-1.0.0~rc2/tools/iconv.h
+@@ -40,7 +40,11 @@ cIConv::cIConv(const char *SrcCharset, c
+ if(!SrcCharset)
+ SrcCharset = "UTF-8";
+ if(!DstCharset)
++#if APIVERSNUM >= 10503
++ DstCharset = cCharSetConv::SystemCharacterTable();
++#else
+ DstCharset = I18nCharSets()[Setup.OSDLanguage];
++#endif
+
+ m_ic = iconv_open(DstCharset, SrcCharset);
+