$NetBSD: patch-dk,v 1.3 2013/05/29 11:11:12 wiz Exp $ --- libgc/include/gc.h.orig 2012-12-05 17:44:36.000000000 +0000 +++ libgc/include/gc.h @@ -521,6 +521,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(__DragonFly__) \ || defined(__FreeBSD__)) & !defined(GC_CAN_SAVE_CALL_STACKS) # define GC_ADD_CALLER # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)