summaryrefslogtreecommitdiff
path: root/multimedia/kodi/files/patch-xbmc_utils_CharsetConverter.cpp
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2016-04-16 18:08:55 +0000
committerThomas Zander <riggs@FreeBSD.org>2016-04-16 18:08:55 +0000
commitabdce433527b32fec9f88dc9c83cfad7e3847e09 (patch)
treee5a94ff69a6354a9e4a61bd47538847a4b8e9cd7 /multimedia/kodi/files/patch-xbmc_utils_CharsetConverter.cpp
parentFix build with recent libcec 3.1.0 update; bump PORTREVISION (diff)
Update to upstream version 16.0
Detailed maintainer log: - pulseaudio removed from default option: because otherwise kodi will select pulseaudio first and it's really not needed. - texturepacker disabled: because it's so heavily broken in upstream. not really important. it will be back in 17.0 with the new cmake build system. - switch to swig3, like all linux distrib (no change) PR: 208456 Submitted by: mickael.maillot@gmail.com (maintainer)
Diffstat (limited to 'multimedia/kodi/files/patch-xbmc_utils_CharsetConverter.cpp')
-rw-r--r--multimedia/kodi/files/patch-xbmc_utils_CharsetConverter.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/kodi/files/patch-xbmc_utils_CharsetConverter.cpp b/multimedia/kodi/files/patch-xbmc_utils_CharsetConverter.cpp
new file mode 100644
index 000000000000..465eb509966c
--- /dev/null
+++ b/multimedia/kodi/files/patch-xbmc_utils_CharsetConverter.cpp
@@ -0,0 +1,11 @@
+--- xbmc/utils/CharsetConverter.cpp.orig 2016-02-20 15:21:19 UTC
++++ xbmc/utils/CharsetConverter.cpp
+@@ -70,7 +70,7 @@
+ #define UTF16_CHARSET "UTF-16" ENDIAN_SUFFIX
+ #define UTF32_CHARSET "UTF-32" ENDIAN_SUFFIX
+ #define UTF8_SOURCE "UTF-8"
+- #define WCHAR_CHARSET "WCHAR_T"
++ #define WCHAR_CHARSET UTF32_CHARSET
+ #if __STDC_ISO_10646__
+ #ifdef SIZEOF_WCHAR_T
+ #if SIZEOF_WCHAR_T == 4