summaryrefslogtreecommitdiff
path: root/lang/mono/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mono/patches/patch-ab')
-rw-r--r--lang/mono/patches/patch-ab41
1 files changed, 22 insertions, 19 deletions
diff --git a/lang/mono/patches/patch-ab b/lang/mono/patches/patch-ab
index a115fff8709..46e99be34d5 100644
--- a/lang/mono/patches/patch-ab
+++ b/lang/mono/patches/patch-ab
@@ -1,20 +1,23 @@
-$NetBSD: patch-ab,v 1.10 2005/04/05 06:45:47 recht Exp $
+$NetBSD: patch-ab,v 1.11 2005/07/31 15:26:58 recht Exp $
---- mono/dis/dis-cil.c.orig Wed Mar 30 23:26:14 2005
-+++ mono/dis/dis-cil.c
-@@ -19,6 +19,7 @@
- #include "dis-cil.h"
- #include "mono/metadata/opcodes.h"
-
-+#ifndef HAVE_ISINF
- #ifdef HAVE_IEEEFP_H
- #include <ieeefp.h>
- int isinf (double);
-@@ -37,7 +38,6 @@ isinf (double num)
- return 0;
- }
- #else
--#ifndef HAVE_ISINF
- #error "Don't know how to implement isinf for this platform."
- #endif
- #endif
+--- configure.orig 2005-07-27 02:08:41.000000000 +0200
++++ configure
+@@ -2224,6 +2224,18 @@ _ACEOF
+ ;;
+ *-*-*netbsd*)
+ platform_win32=no
++ CPPFLAGS="$CPPFLAGS -D_REENTRANT -DGC_NETBSD_THREADS -D_GNU_SOURCE"
++ libmono_cflags="-D_REENTRANT"
++ LDFLAGS="$LDFLAGS -pthread"
++ libmono_ldflags="-pthread"
++ need_link_unlink=yes
++ libdl="-ldl /libexec/ld.elf_so"
++ libgc_threads=pthreads
++ with_tls=__thread
++ with_sigaltstack=yes
++ ;;
++ *-*-*netbsd*)
++ platform_win32=no
+ CPPFLAGS="$CPPFLAGS -D_REENTRANT"
+ libmono_cflags="-D_REENTRANT"
+ LDFLAGS="$LDFLAGS -pthread"