File project.diff of Package mingw32-glib2
--- mingw32-glib2.spec.orig
+++ mingw32-glib2.spec
@@ -28,6 +28,12 @@ Source1: %{name}-rpmlintrc
#This patch is needed by gnumeric
#XXX: shouldn't gnumeric use g_option_context_parse_strv (added in 2.40.0)?
Patch0: glib-2.44.0-goption-disable-localization.patch
+#Patch100: 0001-Add-data-based-content-type-guessing-for-win32.patch
+#Patch1001: 0001-Add-g_option_context_parse_utf8.patch
+#Patch1002: 0002-Reorder-code-to-avoid-forward-declaration.patch
+#Patch1003: 0003-Add-g_win32_get_utf8_argv.patch
+#Patch1004: 0004-Add-g_option_context_parse_command_line.patch
+
# Native version for glib-genmarshal
BuildRequires: autoconf
BuildRequires: automake
@@ -54,6 +60,7 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
%_mingw32_package_header_debug
BuildArch: noarch
+BuildRequires: autoconf, automake, libtool
%description
GLib provides the core application building blocks for libraries and applications written in C. It provides the core
object system used in GNOME, the main loop implementation, and a large set of utility functions for strings and common
@@ -142,6 +149,11 @@ Development files needed for building ap
%setup -q -n glib-%{version}
%patch0 -p1
+#%patch100 -p1
+#%patch1001 -p1 -b .utf8
+#%patch1002 -p1 -b .reorder
+#%patch1003 -p1 -b .argv
+#%patch1004 -p1 -b .commandline
%build
autoreconf -f -i