summaryrefslogtreecommitdiff
path: root/lang/mono2/patches/patch-dk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mono2/patches/patch-dk')
-rw-r--r--lang/mono2/patches/patch-dk12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/mono2/patches/patch-dk b/lang/mono2/patches/patch-dk
new file mode 100644
index 00000000000..49f52c2dfd6
--- /dev/null
+++ b/lang/mono2/patches/patch-dk
@@ -0,0 +1,12 @@
+$NetBSD: patch-dk,v 1.1 2013/06/17 12:43:28 wiz Exp $
+
+--- libgc/include/gc.h.orig 2010-11-12 10:24:41.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)