summaryrefslogtreecommitdiff
path: root/devel/boehm-gc
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-09-08 15:22:53 +0000
committerreed <reed@pkgsrc.org>2005-09-08 15:22:53 +0000
commitaa537d1247e969e9e18f5b89dea7ebd9ff9f7920 (patch)
tree3667ae131149eaee9f0e1758b386bff5dffd53d5 /devel/boehm-gc
parentb069255e6907e1c5e265f32542aea2d6464b25e5 (diff)
downloadpkgsrc-aa537d1247e969e9e18f5b89dea7ebd9ff9f7920.tar.gz
Add support for DragonFly. It adds if defined(__DragonFly__). It
is from Joerg Sonnenberger. Okayed by maintainer, recht.
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r--devel/boehm-gc/distinfo5
-rw-r--r--devel/boehm-gc/patches/patch-aa13
-rw-r--r--devel/boehm-gc/patches/patch-ab13
-rw-r--r--devel/boehm-gc/patches/patch-ad32
4 files changed, 62 insertions, 1 deletions
diff --git a/devel/boehm-gc/distinfo b/devel/boehm-gc/distinfo
index 0f57d41d516..e24d49703cb 100644
--- a/devel/boehm-gc/distinfo
+++ b/devel/boehm-gc/distinfo
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.26 2005/07/02 12:55:40 wiz Exp $
+$NetBSD: distinfo,v 1.27 2005/09/08 15:22:53 reed Exp $
SHA1 (gc6.5.tar.gz) = 1227e4d5d156bdc56ade82043e1d03d2cf35bef5
RMD160 (gc6.5.tar.gz) = 0a60f9d92c70aacefbebec4adb48d26fa111a760
Size (gc6.5.tar.gz) = 752464 bytes
+SHA1 (patch-aa) = 8c32973ba5956e873d6b6e3969674082caa0fa74
+SHA1 (patch-ab) = c6b2a2b98ce12c64af9408bc9b1f1a86bb9ac647
SHA1 (patch-ac) = 64c0f042a1ed7488158d49c77bab0330537d9e96
+SHA1 (patch-ad) = 6b16d8b4b6d9f431a316bb9ad9c37da829b026b7
SHA1 (patch-ae) = e8da710ece0400136c71ee7888c0ce7f719ac660
SHA1 (patch-af) = 855ee55b5df18a4bdc6c31eb8b0363448e8fcfc6
diff --git a/devel/boehm-gc/patches/patch-aa b/devel/boehm-gc/patches/patch-aa
new file mode 100644
index 00000000000..db7739783fa
--- /dev/null
+++ b/devel/boehm-gc/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.16 2005/09/08 15:22:53 reed Exp $
+
+--- include/gc.h.orig 2005-07-23 23:22:39.000000000 +0000
++++ include/gc.h
+@@ -497,7 +497,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_of
+ /* This may also be desirable if it is possible but expensive to */
+ /* retrieve the call chain. */
+ #if (defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__) \
+- || defined(__FreeBSD__)) & !defined(GC_CAN_SAVE_CALL_STACKS)
++ || defined(__FreeBSD__) || defined(__DragonFly__)) & !defined(GC_CAN_SAVE_CALL_STACKS)
+ # define GC_ADD_CALLER
+ # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
+ /* gcc knows how to retrieve return address, but we don't know */
diff --git a/devel/boehm-gc/patches/patch-ab b/devel/boehm-gc/patches/patch-ab
new file mode 100644
index 00000000000..fe2dbfc00fd
--- /dev/null
+++ b/devel/boehm-gc/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.14 2005/09/08 15:22:53 reed Exp $
+
+--- include/gc_config_macros.h.orig 2005-07-23 23:22:58.000000000 +0000
++++ include/gc_config_macros.h
+@@ -87,7 +87,7 @@
+ # define GC_DARWIN_THREADS
+ # define GC_PTHREADS
+ # endif
+-# if !defined(GC_PTHREADS) && defined(__FreeBSD__)
++# if !defined(GC_PTHREADS) && (defined(__FreeBSD__) || defined(__DragonFly__))
+ # define GC_FREEBSD_THREADS
+ # define GC_PTHREADS
+ # endif
diff --git a/devel/boehm-gc/patches/patch-ad b/devel/boehm-gc/patches/patch-ad
new file mode 100644
index 00000000000..b6a20164534
--- /dev/null
+++ b/devel/boehm-gc/patches/patch-ad
@@ -0,0 +1,32 @@
+$NetBSD: patch-ad,v 1.21 2005/09/08 15:22:53 reed Exp $
+
+--- include/private/gcconfig.h.orig 2005-05-20 20:48:29.000000000 +0000
++++ include/private/gcconfig.h
+@@ -55,7 +55,7 @@
+ # endif
+
+ /* And one for FreeBSD: */
+-# if defined(__FreeBSD__) && !defined(FREEBSD)
++# if (defined(__FreeBSD__) || defined(__DragonFly__)) && !defined(FREEBSD)
+ # define FREEBSD
+ # endif
+
+@@ -174,7 +174,8 @@
+ # define mach_type_known
+ # endif
+ # if defined(sparc) && defined(unix) && !defined(sun) && !defined(linux) \
+- && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__)
++ && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) \
++ && !defined(__DragonFly__)
+ # define SPARC
+ # define DRSNX
+ # define mach_type_known
+@@ -1998,7 +1999,7 @@
+ # define SUNOS5SIGS
+ # endif
+
+-# if defined(FREEBSD) && (__FreeBSD__ >= 4)
++# if defined(FREEBSD) && (defined(__DragonFly__) || __FreeBSD__ >= 4)
+ # define SUNOS5SIGS
+ # endif
+