aboutsummaryrefslogtreecommitdiff
path: root/build/android/patches/libiconv_android.patch
diff options
context:
space:
mode:
authorMaksim <MoNTE48@mail.ua>2020-01-13 07:10:15 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2020-01-13 07:10:15 +0100
commitc3968006298bcce46e7659d11c6cbee56bbed4f0 (patch)
treee08577089c4b7e5d8e3fe3c60b2aecedbb8a54ae /build/android/patches/libiconv_android.patch
parent8d75c118d99b3ccf383ceb3b7bbc9b84a1d837b2 (diff)
downloaddragonfireclient-c3968006298bcce46e7659d11c6cbee56bbed4f0.tar.xz
Android: fix cyrillic characters, update iconv lib (#9117)
Diffstat (limited to 'build/android/patches/libiconv_android.patch')
-rw-r--r--build/android/patches/libiconv_android.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/build/android/patches/libiconv_android.patch b/build/android/patches/libiconv_android.patch
deleted file mode 100644
index 4eca0a4ef..000000000
--- a/build/android/patches/libiconv_android.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- a/libcharset/lib/localcharset.c 2015-06-10 11:55:25.933870724 +0200
-+++ b/libcharset/lib/localcharset.c 2015-06-10 11:55:39.578063493 +0200
-@@ -47,7 +47,7 @@
-
- #if !defined WIN32_NATIVE
- # include <unistd.h>
--# if HAVE_LANGINFO_CODESET
-+# if HAVE_LANGINFO_CODESET && !(defined __ANDROID__)
- # include <langinfo.h>
- # else
- # if 0 /* see comment below */
-@@ -124,7 +124,7 @@ get_charset_aliases (void)
- cp = charset_aliases;
- if (cp == NULL)
- {
--#if !(defined DARWIN7 || defined VMS || defined WIN32_NATIVE || defined __CYGWIN__)
-+#if !(defined DARWIN7 || defined VMS || defined WIN32_NATIVE || defined __CYGWIN__ || defined __ANDROID__)
- const char *dir;
- const char *base = "charset.alias";
- char *file_name;
-@@ -338,6 +338,9 @@ get_charset_aliases (void)
- "CP54936" "\0" "GB18030" "\0"
- "CP65001" "\0" "UTF-8" "\0";
- # endif
-+# if defined __ANDROID__
-+ cp = "*" "\0" "UTF-8" "\0";
-+# endif
- #endif
-
- charset_aliases = cp;
-@@ -361,7 +364,7 @@ locale_charset (void)
- const char *codeset;
- const char *aliases;
-
--#if !(defined WIN32_NATIVE || defined OS2)
-+#if !(defined WIN32_NATIVE || defined OS2 || defined __ANDROID__)
-
- # if HAVE_LANGINFO_CODESET
-