summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authoragc <agc>2004-02-08 23:37:13 +0000
committeragc <agc>2004-02-08 23:37:13 +0000
commit12b6786669038402257efb65001493448e02a99c (patch)
tree17006a7359c1280ac4b0fbc44782ee18f0051368 /sysutils
parent96cf7fdf6b35dc2c7f546bfbb8dcb12088642afc (diff)
downloadpkgsrc-12b6786669038402257efb65001493448e02a99c.tar.gz
Rather than a direct assignation to the signal mask, use sigemptyset(3),
from Roland Illig by email. "Needed for Linux 2.4.22"
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/crashme/distinfo4
-rw-r--r--sysutils/crashme/patches/patch-ab15
2 files changed, 14 insertions, 5 deletions
diff --git a/sysutils/crashme/distinfo b/sysutils/crashme/distinfo
index e6551b98328..afe7dd585e3 100644
--- a/sysutils/crashme/distinfo
+++ b/sysutils/crashme/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2004/02/08 12:58:55 grant Exp $
+$NetBSD: distinfo,v 1.4 2004/02/08 23:37:13 agc Exp $
SHA1 (crashme-2.4-shar) = 0648322959634f21e61a5d5e1b308e3c89dc2841
Size (crashme-2.4-shar) = 57010 bytes
SHA1 (patch-aa) = 01f981d1ac274bf00ba8d5f9ddcad8aeeaf3dffb
-SHA1 (patch-ab) = 4c7bdcbaae5c802ee27142b3a41638151dff3638
+SHA1 (patch-ab) = 2dc1213fe4621b947a9ce8d589925a9bd83653e0
diff --git a/sysutils/crashme/patches/patch-ab b/sysutils/crashme/patches/patch-ab
index c8e0e118089..41d8835d0d0 100644
--- a/sysutils/crashme/patches/patch-ab
+++ b/sysutils/crashme/patches/patch-ab
@@ -1,7 +1,16 @@
-$NetBSD: patch-ab,v 1.1 1999/06/27 01:41:46 abs Exp $
+$NetBSD: patch-ab,v 1.2 2004/02/08 23:37:13 agc Exp $
---- crashme.c.orig Sat Jun 26 18:35:17 1999
-+++ crashme.c Sat Jun 26 18:36:01 1999
+--- crashme.c 2004/02/08 23:29:34 1.1
++++ crashme.c 2004/02/08 23:31:28
+@@ -260,7 +260,7 @@
+ #else
+ struct sigaction act;
+ act.sa_handler = func;
+- act.sa_mask = 0;
++ sigemptyset(&act.sa_mask);
+ #ifdef linux
+ act.sa_restorer = 0;
+ #endif /* linux */
@@ -591,7 +591,7 @@
status = fork();
#endif