summaryrefslogtreecommitdiff
path: root/package/xbmc/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-05 21:23:42 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-05 21:23:42 +0100
commitd2081213352e456f7596f22e0b37b682204c4cfe (patch)
tree8b1444fa072bb46f4483f0a8f114c955b6fb987f /package/xbmc/patches
parent4bef9a612a73c5b18bad38c1ef4ae4924c719ecc (diff)
parent0d26df21995dc2f25041974fb6faf3ec31be6467 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/xbmc/patches')
-rw-r--r--package/xbmc/patches/patch-xbmc_utils_CharsetConverter_cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/xbmc/patches/patch-xbmc_utils_CharsetConverter_cpp b/package/xbmc/patches/patch-xbmc_utils_CharsetConverter_cpp
new file mode 100644
index 000000000..3c5753033
--- /dev/null
+++ b/package/xbmc/patches/patch-xbmc_utils_CharsetConverter_cpp
@@ -0,0 +1,20 @@
+--- xbmc-12.2.orig/xbmc/utils/CharsetConverter.cpp 2013-05-03 07:57:41.000000000 +0200
++++ xbmc-12.2/xbmc/utils/CharsetConverter.cpp 2013-11-05 14:10:44.000000000 +0100
+@@ -140,7 +140,7 @@ static struct SCharsetMapping
+ #define ICONV_PREPARE(iconv) iconv=(iconv_t)-1
+ #define ICONV_SAFE_CLOSE(iconv) if (iconv!=(iconv_t)-1) { iconv_close(iconv); iconv=(iconv_t)-1; }
+
+-size_t iconv_const (void* cd, const char** inbuf, size_t *inbytesleft,
++size_t iconv_const (iconv_t cd, const char** inbuf, size_t *inbytesleft,
+ char* * outbuf, size_t *outbytesleft)
+ {
+ struct iconv_param_adapter {
+@@ -157,7 +157,7 @@ size_t iconv_const (void* cd, const char
+ const char** p;
+ };
+
+- return iconv((iconv_t)cd, iconv_param_adapter(inbuf), inbytesleft, outbuf, outbytesleft);
++ return iconv(cd, iconv_param_adapter(inbuf), inbytesleft, outbuf, outbytesleft);
+ }
+
+ template<class INPUT,class OUTPUT>