diff options
Diffstat (limited to 'lang/mono/patches/patch-cd')
-rw-r--r-- | lang/mono/patches/patch-cd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/mono/patches/patch-cd b/lang/mono/patches/patch-cd new file mode 100644 index 00000000000..3b1e610d3c7 --- /dev/null +++ b/lang/mono/patches/patch-cd @@ -0,0 +1,12 @@ +$NetBSD: patch-cd,v 1.1 2008/02/13 14:16:43 kefren Exp $ +--- mono/mini/exceptions-amd64.c.orig 2008-02-05 23:56:30.000000000 +0200 ++++ mono/mini/exceptions-amd64.c 2008-02-05 23:53:28.000000000 +0200 +@@ -682,7 +682,7 @@ mono_arch_handle_exception (void *sigctx + static inline guint64* + gregs_from_ucontext (ucontext_t *ctx) + { +-#ifdef __FreeBSD__ ++#if defined (__FreeBSD__) || defined (__NetBSD__) + guint64 *gregs = (guint64 *) &ctx->uc_mcontext; + #else + guint64 *gregs = (guint64 *) &ctx->uc_mcontext.gregs; |