freebsd-ports/lang/mono/files/patch-ikvm-native_jni.c
Jeremy Messenger 9978b53b8c Update to 1.1.7, Bill Middleton has been working against the Mono SVN to fix
FreeBSD problems with Mono. As of Mono 1.1.7, Mono has made a tremendous leap
in stability on FreeBSD. Many C# apps now works much better with Mono 1.1.7.

BSD# - Project by:	http://www.mono-project.com/Mono:FreeBSD
2005-05-16 06:32:36 +00:00

13 lines
349 B
C

--- ikvm-native/jni.c.orig Thu May 5 17:53:25 2005
+++ ikvm-native/jni.c Thu May 5 17:53:33 2005
@@ -28,7 +28,9 @@
#include <malloc.h>
#define ALLOCA _alloca
#else
-#if !defined(__FreeBSD__) && !defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+#include <stdlib.h>
+#else
#include <alloca.h>
#endif
#define ALLOCA alloca