Files
pkgsrc-ng/devel/glib2/patches/patch-ai
2014-11-05 12:41:07 +01:00

19 lines
544 B
Plaintext

$NetBSD: patch-ai,v 1.22 2013/12/08 13:08:59 prlw1 Exp $
http://bugzilla.gnome.org/show_bug.cgi?id=583321
--- glib/gmain.c.orig 2013-10-15 19:07:46.000000000 +0000
+++ glib/gmain.c
@@ -4963,7 +4963,11 @@ ref_unix_signal_handler_unlocked (int si
struct sigaction action;
action.sa_handler = g_unix_signal_handler;
sigemptyset (&action.sa_mask);
+#ifdef SA_RESTART
action.sa_flags = SA_RESTART | SA_NOCLDSTOP;
+#else
+ action.sa_flags = SA_NOCLDSTOP;
+#endif
sigaction (signum, &action, NULL);
}
}