openbsd-ports/lang/mono/patches/patch-mono_mini_mini-x86_h
robert fb63ae27cb Enable MONO_ARCH_USE_SIGACTION on i386 and switch it to use struct sigcontext,
which basically gives us exception support and sends those crashes away.
2010-03-22 16:56:13 +00:00

14 lines
578 B
Plaintext

$OpenBSD: patch-mono_mini_mini-x86_h,v 1.1 2010/03/22 16:56:13 robert Exp $
--- mono/mini/mini-x86.h.orig Mon Mar 22 17:45:19 2010
+++ mono/mini/mini-x86.h Mon Mar 22 17:45:56 2010
@@ -44,7 +44,8 @@ LONG CALLBACK seh_handler(EXCEPTION_POINTERS* ep);
#endif /* PLATFORM_WIN32 */
-#if defined( __linux__) || defined(__sun) || defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__)
+#if defined( __linux__) || defined(__sun) || defined(__APPLE__) || defined(__NetBSD__) || \
+ defined(__FreeBSD__) || defined(__OpenBSD__)
#define MONO_ARCH_USE_SIGACTION
#endif