summaryrefslogtreecommitdiff
path: root/x11/Xaw-Xpm
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-06-28 09:11:13 +0000
committeragc <agc@pkgsrc.org>1999-06-28 09:11:13 +0000
commitcea995a83f3fe7f3e5a47ad271676558167c55b8 (patch)
tree4ba358de9373e21916a5bd297c4b171f813061a3 /x11/Xaw-Xpm
parentb5700f447a5d6dc3bad13439ecc2cb66b241f864 (diff)
downloadpkgsrc-cea995a83f3fe7f3e5a47ad271676558167c55b8.tar.gz
Make this compile on platforms with wide signal masks.
Diffstat (limited to 'x11/Xaw-Xpm')
-rw-r--r--x11/Xaw-Xpm/patches/patch-aa16
1 files changed, 11 insertions, 5 deletions
diff --git a/x11/Xaw-Xpm/patches/patch-aa b/x11/Xaw-Xpm/patches/patch-aa
index d28d5817842..15efb54a39f 100644
--- a/x11/Xaw-Xpm/patches/patch-aa
+++ b/x11/Xaw-Xpm/patches/patch-aa
@@ -1,12 +1,18 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 11:17:57 agc Exp $
+$NetBSD: patch-aa,v 1.3 1999/06/28 09:11:13 agc Exp $
---- Xpm.c.orig Tue Nov 26 06:40:26 1996
-+++ Xpm.c Fri Jan 30 01:02:57 1998
-@@ -208,6 +208,5 @@
+Handle wide signal masks.
+
+--- Xpm.c.orig Tue Nov 26 13:40:26 1996
++++ Xpm.c Mon Jun 28 10:04:57 1999
+@@ -206,9 +206,8 @@
+ sigchld.
+ */
new.sa_handler=SigHandle;
- new.sa_mask=0;
+- new.sa_mask=0;
- new.sa_flags=SA_NOMASK | SA_ONESHOT;
- new.sa_restorer=NULL;
++ (void) memset(&new.sa_mask, 0, sizeof(new.sa_mask));
+ new.sa_flags=SA_NODEFER;
sigaction(SIGCHLD, &new, &old);
playing = 1;
+ soundpid = fork();