chiark / gitweb /
debianutils: Update from 4.8.3 to 4.8.4
[termux-packages] / packages / weechat / src-core-weechat.c.patch
1 diff -u -r ../weechat-1.3/src/core/weechat.c ./src/core/weechat.c
2 --- ../weechat-1.3/src/core/weechat.c   2015-08-16 02:27:07.000000000 -0400
3 +++ ./src/core/weechat.c        2016-01-04 11:26:46.103203700 -0500
4 @@ -613,7 +613,9 @@
5      textdomain (PACKAGE);
6  #endif /* ENABLE_NLS */
7  
8 -#ifdef HAVE_LANGINFO_CODESET
9 +#ifdef __ANDROID__
10 +    weechat_local_charset = strdup ("UTF-8");
11 +#elif defined(HAVE_LANGINFO_CODESET)
12      weechat_local_charset = strdup (nl_langinfo (CODESET));
13  #else
14      weechat_local_charset = strdup ("");