File glib-2.44.0-goption-disable-localization.patch of Package mingw64-glib2

--- glib-2.44.0/glib/goption.c	2015-03-20 18:33:38.000000000 +0100
+++ glib-2.44.0/glib/goption.c	2015-04-29 12:55:36.065436654 +0200
@@ -548,6 +548,23 @@
   return context->strict_posix;
 }
 
+void
+g_option_context_set_delocalize (GOptionContext *context,
+                                 gboolean        delocalize)
+{
+  g_return_if_fail (context != NULL);
+
+  context->strv_mode = !delocalize;
+}
+
+gboolean
+g_option_context_get_delocalize (GOptionContext *context)
+{
+  g_return_if_fail (context != NULL);
+
+  return !context->strv_mode;
+}
+
 /**
  * g_option_context_add_group:
  * @context: a #GOptionContext
Only in glib-2.44.0/glib: goption.c.orig
--- glib-2.44.0/glib/goption.h	2015-03-20 18:33:38.000000000 +0100
+++ glib-2.44.0/glib/goption.h	2015-04-29 12:55:36.066436674 +0200
@@ -309,6 +309,9 @@
 							     gboolean	     ignore_unknown);
 GLIB_AVAILABLE_IN_ALL
 gboolean        g_option_context_get_ignore_unknown_options (GOptionContext *context);
+void            g_option_context_set_delocalize (GOptionContext *context,
+                                                 gboolean        ignore_unknown);
+gboolean        g_option_context_get_delocalize (GOptionContext *context);
 
 GLIB_AVAILABLE_IN_2_44
 void            g_option_context_set_strict_posix           (GOptionContext *context,
Only in glib-2.44.0/glib: goption.h.orig