weechat: Fix 64-bit build
This commit is contained in:
parent
9a498b63cb
commit
8e3edd7709
14
packages/weechat/src-core-weechat.c.patch
Normal file
14
packages/weechat/src-core-weechat.c.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -u -r ../weechat-1.3/src/core/weechat.c ./src/core/weechat.c
|
||||||
|
--- ../weechat-1.3/src/core/weechat.c 2015-08-16 02:27:07.000000000 -0400
|
||||||
|
+++ ./src/core/weechat.c 2016-01-04 11:26:46.103203700 -0500
|
||||||
|
@@ -613,7 +613,9 @@
|
||||||
|
textdomain (PACKAGE);
|
||||||
|
#endif /* ENABLE_NLS */
|
||||||
|
|
||||||
|
-#ifdef HAVE_LANGINFO_CODESET
|
||||||
|
+#ifdef __ANDROID__
|
||||||
|
+ weechat_local_charset = strdup ("UTF-8");
|
||||||
|
+#elif defined(HAVE_LANGINFO_CODESET)
|
||||||
|
weechat_local_charset = strdup (nl_langinfo (CODESET));
|
||||||
|
#else
|
||||||
|
weechat_local_charset = strdup ("");
|
Loading…
x
Reference in New Issue
Block a user