Make sure g_log_default_handler uses the correct file descriptors for stdout and stderr
This commit is contained in:
parent
f91bc1269b
commit
52f0247e54
@ -2,7 +2,7 @@
|
||||
|
||||
Name: mingw-glib2
|
||||
Version: 2.35.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: MinGW Windows GLib2 library
|
||||
|
||||
License: LGPLv2+
|
||||
@ -47,6 +47,12 @@ Patch1: 0001-Use-CreateFile-on-Win32-to-make-sure-g_unlink-always.patch
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=684145
|
||||
Patch2: glib-build-dbus-proxy-testcase-only-on-unix.patch
|
||||
|
||||
# By default g_log_default_handler always assumes that stdout and stderr
|
||||
# are file descriptors 1 and 2. On Win32 this isn't always the case as the
|
||||
# win32 API function AttachConsole can be used to dynamically attach GUI
|
||||
# applications to a console and the file descriptors of stderr and stdout
|
||||
# will become different than 1 and 2
|
||||
Patch3: glib-send-log-messages-to-correct-stdout-and-stderr.patch
|
||||
|
||||
%description
|
||||
MinGW Windows Glib2 library.
|
||||
@ -90,6 +96,7 @@ Static version of the MinGW Windows GLib2 library.
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p0
|
||||
|
||||
autoreconf -i --force
|
||||
|
||||
@ -270,6 +277,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 1 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.35.3-2
|
||||
- Make sure g_log_default_handler uses the correct file descriptors for stdout and stderr
|
||||
|
||||
* Tue Jan 1 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.35.3-1
|
||||
- Update to 2.35.3
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user