#! /bin/sh /usr/share/dpatch/dpatch-run ## 90_xineliboutput-1.0.0rc2-1.5.3.dpatch by Thomas Günther ## 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);