summaryrefslogtreecommitdiff
path: root/lang/mono2/patches/patch-di
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mono2/patches/patch-di')
-rw-r--r--lang/mono2/patches/patch-di12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/mono2/patches/patch-di b/lang/mono2/patches/patch-di
new file mode 100644
index 00000000000..aaff8af1375
--- /dev/null
+++ b/lang/mono2/patches/patch-di
@@ -0,0 +1,12 @@
+$NetBSD: patch-di,v 1.1 2013/06/17 12:43:28 wiz Exp $
+--- mono/tests/libtest.c.orig 2010-04-22 18:37:47.000000000 +0300
++++ mono/tests/libtest.c 2010-04-29 10:55:04.000000000 +0300
+@@ -3190,7 +3190,7 @@
+ * mono_method_get_unmanaged_thunk tests
+ */
+
+-#if defined(__GNUC__) && ((defined(__i386__) && (defined(__linux__) || defined (__APPLE__)) || defined (__FreeBSD__) || defined(__OpenBSD__)) || (defined(__ppc__) && defined(__APPLE__)))
++#if defined(__GNUC__) && ((defined(__i386__) && (defined(__linux__) || defined (__APPLE__)) || defined (__NetBSD__) || defined (__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)) || (defined(__ppc__) && defined(__APPLE__)))
+ #define ALIGN(size) __attribute__ ((aligned(size)))
+ #else
+ #define ALIGN(size)