diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2015-11-17 16:14:21 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2015-11-17 16:14:21 +0000 |
commit | 578e368d03ca676474fc7d689adcd7dbee6e5166 (patch) | |
tree | 421fa97fb5e428f07522fa7fab1eb91fb5f2ca44 /multimedia | |
parent | a5ff380f04792d28a28197eb8d85d828ce4806c5 (diff) | |
download | pkgsrc-578e368d03ca676474fc7d689adcd7dbee6e5166.tar.gz |
Don't pass "WCHAR_T" to iconv_open on NetBSD.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/kodi/distinfo | 3 | ||||
-rw-r--r-- | multimedia/kodi/patches/patch-xbmc_utils_CharsetConverter.cpp | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/multimedia/kodi/distinfo b/multimedia/kodi/distinfo index b58c447c8af..294daf937ee 100644 --- a/multimedia/kodi/distinfo +++ b/multimedia/kodi/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1 2015/11/17 14:56:07 jmcneill Exp $ +$NetBSD: distinfo,v 1.2 2015/11/17 16:14:21 jmcneill Exp $ SHA1 (15.2-Isengard.tar.gz) = 4acb4a60eadc7289f873cff5add31693b9520cba RMD160 (15.2-Isengard.tar.gz) = d81d3f15783b2b69920ea85d7e04f01872f2d85f @@ -43,6 +43,7 @@ SHA1 (patch-xbmc_system.h) = 10738c487ed6c2de066483cc077ad05037132da8 SHA1 (patch-xbmc_system__gl.h) = e2b8e3d57c6d838020163cf56e8f868c959af937 SHA1 (patch-xbmc_threads_platform_pthreads_ThreadImpl.cpp) = f8853a8ace422d9ab088be89b5562da552edcc7a SHA1 (patch-xbmc_utils_CPUInfo.cpp) = f593e3d799e4451cbdf80ae8069f072495fbfbb4 +SHA1 (patch-xbmc_utils_CharsetConverter.cpp) = 420a1e39d24c38dca2a8702a22b8cf67ef04dd3f SHA1 (patch-xbmc_utils_Stopwatch.cpp) = fd2b8f7112e89ce164a0329ea3ee389f85705d1f SHA1 (patch-xbmc_utils_SystemInfo.cpp) = 751ca3390422387cea4dc0f240bb55eeb9e077a5 SHA1 (patch-xbmc_utils_test_TestSystemInfo.cpp) = eeca9e097346f9f2c7f047f5906d6ffb75fd393b diff --git a/multimedia/kodi/patches/patch-xbmc_utils_CharsetConverter.cpp b/multimedia/kodi/patches/patch-xbmc_utils_CharsetConverter.cpp new file mode 100644 index 00000000000..b3b20873a5b --- /dev/null +++ b/multimedia/kodi/patches/patch-xbmc_utils_CharsetConverter.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-xbmc_utils_CharsetConverter.cpp,v 1.1 2015/11/17 16:14:21 jmcneill Exp $ + +--- xbmc/utils/CharsetConverter.cpp.orig 2015-10-19 06:31:15.000000000 +0000 ++++ xbmc/utils/CharsetConverter.cpp +@@ -57,7 +57,7 @@ + #define WCHAR_CHARSET UTF16_CHARSET + #pragma comment(lib, "libfribidi.lib") + #pragma comment(lib, "libiconv.lib") +-#elif defined(TARGET_ANDROID) ++#elif defined(TARGET_ANDROID) || defined(TARGET_NETBSD) + #define WCHAR_IS_UCS_4 1 + #define UTF16_CHARSET "UTF-16" ENDIAN_SUFFIX + #define UTF32_CHARSET "UTF-32" ENDIAN_SUFFIX |