[mingw-gtk2: 24/65] Added a fix for GNOME BZ #597535

epienbro epienbro at fedoraproject.org
Tue Mar 6 20:02:12 UTC 2012


commit cb0e76ab8d451cab61378d154af597b8c1f5e7c4
Author: epienbro <epienbro at fedoraproject.org>
Date:   Tue Oct 6 15:03:04 2009 +0000

    Added a fix for GNOME BZ #597535

 mingw32-gtk2-2.18.2-dont-use-SIGPIPE.patch |   12 ++++++++++++
 mingw32-gtk2.spec                          |    4 ++++
 2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/mingw32-gtk2-2.18.2-dont-use-SIGPIPE.patch b/mingw32-gtk2-2.18.2-dont-use-SIGPIPE.patch
new file mode 100644
index 0000000..f6f48e5
--- /dev/null
+++ b/mingw32-gtk2-2.18.2-dont-use-SIGPIPE.patch
@@ -0,0 +1,12 @@
+--- gtk/gtkmain.c.orig	2009-10-06 13:02:01.666410756 +0200
++++ gtk/gtkmain.c	2009-10-06 13:02:38.538412765 +0200
+@@ -686,7 +686,9 @@
+ 
+   gettext_initialization ();
+ 
++#ifndef G_PLATFORM_WIN32
+   signal (SIGPIPE, SIG_IGN);
++#endif
+ 
+   if (g_fatal_warnings)
+     {
diff --git a/mingw32-gtk2.spec b/mingw32-gtk2.spec
index c196e2b..558d0f1 100644
--- a/mingw32-gtk2.spec
+++ b/mingw32-gtk2.spec
@@ -33,6 +33,9 @@ Patch1001:      mingw32-gtk2-enable_static_build.patch
 # Some Fedora-MinGW-specific changes are required by mingw32-libjpeg 7
 Patch1002:      mingw32-gtk2-libjpeg7-compatibility.patch
 
+# GNOME Bugzilla #597535
+Patch1003:      mingw32-gtk2-2.18.2-dont-use-SIGPIPE.patch
+
 BuildArch:      noarch
 
 BuildRequires:  mingw32-filesystem >= 49
@@ -94,6 +97,7 @@ Static version of the MinGW Windows Gtk2 library.
 %patch1000 -p1
 %patch1001 -p0
 %patch1002 -p0
+%patch1003 -p0
 
 # Regenerate the configure script
 aclocal


More information about the scm-commits mailing list