diff options
Diffstat (limited to 'devel/boehm-gc/patches/patch-aa')
-rw-r--r-- | devel/boehm-gc/patches/patch-aa | 13 |
1 files changed, 13 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 */ |