pkgsrc/devel/glib2/patches/patch-ai
drochner 2d9e21800c update to 2.30.2
this switches to the 2.30 release branch

pkgsrc note: if you use net/libsoup24 with this glib2 version, make
sure to use at least version 2.34.3nb1
2012-01-29 10:46:52 +00:00

18 lines
502 B
Text

$NetBSD: patch-ai,v 1.19 2012/01/29 10:46:53 drochner Exp $
http://bugzilla.gnome.org/show_bug.cgi?id=583321
--- glib/gmain.c.orig 2011-10-14 04:03:10.000000000 +0000
+++ glib/gmain.c
@@ -4398,7 +4398,11 @@ ensure_unix_signal_handler_installed_unl
action.sa_handler = g_unix_signal_handler;
sigemptyset (&action.sa_mask);
+#ifdef SA_RESTART
action.sa_flags = SA_RESTART | SA_NOCLDSTOP;
+#else /* QNX */
+ action.sa_flags = SA_NOCLDSTOP;
+#endif
sigaction (signum, &action, NULL);
}