[vlc-commits] contribs: gpgerror: Don't use GetConsoleOutputCP on WinRT

Hugo Beauzée-Luyssen git at videolan.org
Thu Aug 25 16:08:08 CEST 2016


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Aug 25 16:00:17 2016 +0200| [72438032d6d6fbe934a09ce217c7ac6692c63841] | committer: Hugo Beauzée-Luyssen

contribs: gpgerror: Don't use GetConsoleOutputCP on WinRT

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=72438032d6d6fbe934a09ce217c7ac6692c63841
---

 contrib/src/gpg-error/winrt.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/contrib/src/gpg-error/winrt.patch b/contrib/src/gpg-error/winrt.patch
index 4c11c71..4bcee8d 100644
--- a/contrib/src/gpg-error/winrt.patch
+++ b/contrib/src/gpg-error/winrt.patch
@@ -27,3 +27,14 @@
  }
  
  /* localname.c from gettext END.  */
+--- libgpg-error/src/w32-gettext.c.orig	2016-08-25 15:55:09.006943405 +0200
++++ libgpg-error/src/w32-gettext.c	2016-08-25 15:56:47.442788455 +0200
+@@ -1383,7 +1383,7 @@
+ {
+   int n;
+   char *result;
+-  unsigned int cpno = GetConsoleOutputCP ();
++  unsigned int cpno = CP_UTF8;
+ 
+   /* GetConsoleOutputCP returns the 8-Bit codepage that should be used
+      for console output. If the codepage is not returned we fall back



More information about the vlc-commits mailing list