pkgsrc/lang/mono2/patches/patch-dl
wiz 5760dc5fc4 Import mono-2.10.9nb3 as lang/mono2.
The Mono Project is an open development initiative sponsored by Ximian
that is working to develop an open source, Unix version of the Microsoft
.NET development platform.  Its objective is to enable Unix developers to
build and deploy cross-platform .NET Applications.  The project will
implement various technologies developed by Microsoft that have now been
submitted to the ECMA for standardization.

This package contains the major version 2 of mono.
2013-06-17 12:43:28 +00:00

13 lines
561 B
Text

$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 */