Commit e1c3843f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: patch iconv for WinRT

parent 0be748f9
--- iconv/libcharset/lib/localcharset.c 2014-03-10 20:39:14.105914067 +0100
+++ iconv/libcharset/lib/localcharset.c.new 2014-03-10 20:38:25.601822680 +0100
@@ -465,7 +465,7 @@
GetConsoleOutputCP() encoding if it is using a TrueType font.
But in GUI programs and for output sent to files and pipes, GetACP()
encoding is the best bet. */
- sprintf (buf, "CP%u", GetACP ());
+ sprintf (buf, "CP%u", 65001);
codeset = buf;
#elif defined OS2
...@@ -30,6 +30,9 @@ ifdef HAVE_ANDROID ...@@ -30,6 +30,9 @@ ifdef HAVE_ANDROID
endif endif
ifdef HAVE_IOS ifdef HAVE_IOS
$(APPLY) $(SRC)/iconv/libiconv-android-ios.patch $(APPLY) $(SRC)/iconv/libiconv-android-ios.patch
endif
ifdef HAVE_WINRT
$(APPLY) $(SRC)/iconv/libiconv-winrt.patch
endif endif
$(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && mv config.guess config.sub build-aux $(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && mv config.guess config.sub build-aux
$(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && mv config.guess config.sub libcharset/build-aux $(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && mv config.guess config.sub libcharset/build-aux
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment