summaryrefslogtreecommitdiff
path: root/lang/mono2/patches/patch-dc
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mono2/patches/patch-dc')
-rw-r--r--lang/mono2/patches/patch-dc21
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/mono2/patches/patch-dc b/lang/mono2/patches/patch-dc
new file mode 100644
index 00000000000..e72dd944768
--- /dev/null
+++ b/lang/mono2/patches/patch-dc
@@ -0,0 +1,21 @@
+$NetBSD: patch-dc,v 1.1 2013/06/17 12:43:28 wiz Exp $
+--- mono/mini/mini-x86.h.orig 2010-10-05 22:59:29.000000000 +0300
++++ mono/mini/mini-x86.h 2010-10-07 18:35:56.000000000 +0300
+@@ -51,7 +51,7 @@
+ #endif /* __HAIKU__ */
+
+ #if defined( __linux__) || defined(__sun) || defined(__APPLE__) || defined(__NetBSD__) || \
+- defined(__FreeBSD__) || defined(__OpenBSD__)
++ defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ #define MONO_ARCH_USE_SIGACTION
+ #endif
+
+@@ -170,7 +170,7 @@
+ gboolean need_stack_frame;
+ } MonoCompileArch;
+
+-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__DragonFly__)
+ # define SC_EAX sc_eax
+ # define SC_EBX sc_ebx
+ # define SC_ECX sc_ecx