diff options
author | reed <reed@pkgsrc.org> | 2005-09-08 15:22:53 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2005-09-08 15:22:53 +0000 |
commit | aa537d1247e969e9e18f5b89dea7ebd9ff9f7920 (patch) | |
tree | 3667ae131149eaee9f0e1758b386bff5dffd53d5 /devel/boehm-gc/patches | |
parent | b069255e6907e1c5e265f32542aea2d6464b25e5 (diff) | |
download | pkgsrc-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/patches')
-rw-r--r-- | devel/boehm-gc/patches/patch-aa | 13 | ||||
-rw-r--r-- | devel/boehm-gc/patches/patch-ab | 13 | ||||
-rw-r--r-- | devel/boehm-gc/patches/patch-ad | 32 |
3 files changed, 58 insertions, 0 deletions
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 + |