diff options
Diffstat (limited to 'lang/mono2/patches/patch-dl')
-rw-r--r-- | lang/mono2/patches/patch-dl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/mono2/patches/patch-dl b/lang/mono2/patches/patch-dl new file mode 100644 index 00000000000..f3f28513c51 --- /dev/null +++ b/lang/mono2/patches/patch-dl @@ -0,0 +1,13 @@ +$NetBSD: patch-dl,v 1.1 2013/06/17 12:43:28 wiz Exp $ + +--- mono/utils/dlmalloc.c.orig 2010-11-12 10:24:41.000000000 +0000 ++++ mono/utils/dlmalloc.c +@@ -1207,7 +1207,7 @@ int mspace_mallopt(int, int); + #ifndef LACKS_UNISTD_H + #include <unistd.h> /* for sbrk */ + #else /* LACKS_UNISTD_H */ +-#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) ++#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) || !defined(__DragonFly__) + extern void* sbrk(ptrdiff_t); + #endif /* FreeBSD etc */ + #endif /* LACKS_UNISTD_H */ |