summaryrefslogtreecommitdiff
path: root/devel/boehm-gc
diff options
context:
space:
mode:
authorrecht <recht>2003-12-03 00:14:16 +0000
committerrecht <recht>2003-12-03 00:14:16 +0000
commit925693ef6cb9e8559e7c4b4dae998a0c8c979071 (patch)
treeedeba6a8982b4d98abefe09dc0dbfea8b5020786 /devel/boehm-gc
parentc5193b101dcdc08eb52249b2626b4a632e668426 (diff)
downloadpkgsrc-925693ef6cb9e8559e7c4b4dae998a0c8c979071.tar.gz
Add a patch from Christian Limpach wrt to signal handling.
bump PKGREVISION
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r--devel/boehm-gc/Makefile4
-rw-r--r--devel/boehm-gc/distinfo3
-rw-r--r--devel/boehm-gc/patches/patch-ag63
3 files changed, 67 insertions, 3 deletions
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile
index 5fce0a0eca8..b873cd41475 100644
--- a/devel/boehm-gc/Makefile
+++ b/devel/boehm-gc/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.32 2003/09/14 18:13:48 recht Exp $
+# $NetBSD: Makefile,v 1.33 2003/12/03 00:14:16 recht Exp $
#
DISTNAME= gc6.2
PKGNAME= ${DISTNAME:S/gc/boehm-gc-/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
diff --git a/devel/boehm-gc/distinfo b/devel/boehm-gc/distinfo
index a71e850172f..48fad748a82 100644
--- a/devel/boehm-gc/distinfo
+++ b/devel/boehm-gc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2003/08/17 05:01:58 kei Exp $
+$NetBSD: distinfo,v 1.18 2003/12/03 00:14:16 recht Exp $
SHA1 (gc6.2.tar.gz) = ef17f8f56e9853ef41808fdf5c4c7bf2f78f1fec
Size (gc6.2.tar.gz) = 750883 bytes
@@ -8,3 +8,4 @@ SHA1 (patch-ac) = 38b22813cf2861dcbc9739d70f9fefe69acf3210
SHA1 (patch-ad) = 79a5ec4a2e2cfa227a5578e0356bff16dd193331
SHA1 (patch-ae) = 6e99458a388b5a408e03c133f9b1fdc8b170e87f
SHA1 (patch-af) = ff3902115a8cc330916500db1169ce67f8354700
+SHA1 (patch-ag) = 540f937741280e2adb85e4c93c39065d5bedeb96
diff --git a/devel/boehm-gc/patches/patch-ag b/devel/boehm-gc/patches/patch-ag
new file mode 100644
index 00000000000..325b58ffbb9
--- /dev/null
+++ b/devel/boehm-gc/patches/patch-ag
@@ -0,0 +1,63 @@
+$NetBSD: patch-ag,v 1.6 2003/12/03 00:14:16 recht Exp $
+
+--- os_dep.c.orig 2003-06-13 21:11:00.000000000 +0200
++++ os_dep.c 2003-11-29 00:34:48.000000000 +0100
+@@ -121,7 +121,7 @@
+ # include <fcntl.h>
+ #endif
+
+-#if defined(SUNOS5SIGS) || defined (HURD) || defined(LINUX)
++#if defined(SUNOS5SIGS) || defined (HURD) || defined(LINUX) || defined(NETBSD)
+ # ifdef SUNOS5SIGS
+ # include <sys/siginfo.h>
+ # endif
+@@ -688,9 +688,11 @@
+ typedef void (*handler)();
+ # endif
+
+-# if defined(SUNOS5SIGS) || defined(IRIX5) || defined(OSF1) || defined(HURD)
++# if defined(SUNOS5SIGS) || defined(IRIX5) || defined(OSF1) \
++ || defined(HURD) || defined(NETBSD)
+ static struct sigaction old_segv_act;
+-# if defined(_sigargs) /* !Irix6.x */ || defined(HPUX) || defined(HURD)
++# if defined(_sigargs) /* !Irix6.x */ || defined(HPUX) \
++ || defined(HURD) || defined(NETBSD)
+ static struct sigaction old_bus_act;
+ # endif
+ # else
+@@ -705,11 +707,11 @@
+ # endif
+ {
+ # if defined(SUNOS5SIGS) || defined(IRIX5) \
+- || defined(OSF1) || defined(HURD)
++ || defined(OSF1) || defined(HURD) || defined(NETBSD)
+ struct sigaction act;
+
+ act.sa_handler = h;
+-# ifdef SUNOS5SIGS
++# if defined(SUNOS5SIGS) || defined(NETBSD)
+ act.sa_flags = SA_RESTART | SA_NODEFER;
+ # else
+ act.sa_flags = SA_RESTART;
+@@ -729,7 +731,7 @@
+ # else
+ (void) sigaction(SIGSEGV, &act, &old_segv_act);
+ # if defined(IRIX5) && defined(_sigargs) /* Irix 5.x, not 6.x */ \
+- || defined(HPUX) || defined(HURD)
++ || defined(HPUX) || defined(HURD) || defined(NETBSD)
+ /* Under Irix 5.x or HP/UX, we may get SIGBUS. */
+ /* Pthreads doesn't exist under Irix 5.x, so we */
+ /* don't have to worry in the threads case. */
+@@ -765,10 +767,10 @@
+ void GC_reset_fault_handler()
+ {
+ # if defined(SUNOS5SIGS) || defined(IRIX5) \
+- || defined(OSF1) || defined(HURD)
++ || defined(OSF1) || defined(HURD) || defined(NETBSD)
+ (void) sigaction(SIGSEGV, &old_segv_act, 0);
+ # if defined(IRIX5) && defined(_sigargs) /* Irix 5.x, not 6.x */ \
+- || defined(HPUX) || defined(HURD)
++ || defined(HPUX) || defined(HURD) || defined(NETBSD)
+ (void) sigaction(SIGBUS, &old_bus_act, 0);
+ # endif
+ # else