summaryrefslogtreecommitdiff
path: root/lang/mono/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lang/mono/files/patch-configure30
1 files changed, 2 insertions, 28 deletions
diff --git a/lang/mono/files/patch-configure b/lang/mono/files/patch-configure
index eac067363dbc..c87eab20d235 100644
--- a/lang/mono/files/patch-configure
+++ b/lang/mono/files/patch-configure
@@ -1,27 +1,10 @@
$FreeBSD$
+https://bugzilla.novell.com/show_bug.cgi?id=553640
+
--- configure.orig
+++ configure
-@@ -2958,7 +2958,8 @@
- LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
- libmono_ldflags="$PTHREAD_LIBS"
- fi
-- CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD"
-+ CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD -DPLATFORM_BSD6 -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP"
-+ libmono_cflags="$libmono_cflags -D_REENTRANT"
- need_link_unlink=yes
-
- cat >>confdefs.h <<\_ACEOF
-@@ -2972,7 +2973,7 @@
- # TLS is only partially implemented on -CURRENT (compiler support
- # but NOT library support)
- #
-- with_tls=pthread
-+# with_tls=pthread
- ;;
- *-*-*openbsd*)
- platform_win32=no
@@ -39414,8 +39415,8 @@
INTERP_SUPPORTED=no
LIBC="libc.so.6"
@@ -33,12 +16,3 @@ $FreeBSD$
X11="libX11.so"
sizeof_register="SIZEOF_VOID_P"
-@@ -39675,7 +39676,7 @@
- jit_wanted=true
- ;;
- macppc-*-openbsd* | powerpc*-*-linux* | powerpc-*-openbsd* | \
-- powerpc-*-sysv* | powerpc-*-darwin* | powerpc-*-netbsd* )
-+ powerpc-*-sysv* | powerpc-*-darwin* | powerpc-*-netbsd* | powerpc-*-freebsd* )
- if test "x$ac_cv_sizeof_void_p" = "x8"; then
- TARGET=POWERPC64;
- CPPFLAGS="$CPPFLAGS -D__mono_ppc__ -D__mono_ppc64__"