pkgsrc/lang/mono/patches/patch-de
hasso a64ec624fb * Add some defines to get slightly more working mono on DragonFly (programs
still segfault with illegal instruction error after some seconds of work).
* Add some cvs id's to the patches.
* Bump PKGREVISION.
2009-04-28 10:31:58 +00:00

13 lines
401 B
Text

$NetBSD: patch-de,v 1.2 2009/04/28 10:31:58 hasso Exp $
--- ikvm-native/jni.c.orig 2009-03-03 16:07:20 -0800
+++ ikvm-native/jni.c 2009-03-03 16:07:43 -0800
@@ -28,7 +28,7 @@
#include <malloc.h>
#define ALLOCA _alloca
#else
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
#include <stdlib.h>
#else
#include <alloca.h>