head 1.6; access; symbols pkgsrc-2020Q4:1.5.0.6 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.4 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.2 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.4.0.12 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.14 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.10 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.8 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.6 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.4 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.2 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.3.0.26 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.24 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.22 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.20 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.16 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.14 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.12 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.10 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.8 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.6 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.4 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.2 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.2.0.2 pkgsrc-2015Q2-base:1.2; locks; strict; comment @# @; 1.6 date 2021.03.03.12.05.41; author nia; state dead; branches; next 1.5; commitid oNQdXX5APs6nhRJC; 1.5 date 2020.05.09.12.39.44; author rillig; state Exp; branches; next 1.4; commitid vBPFY0yrOJDb3z7C; 1.4 date 2018.07.27.20.02.40; author jperkin; state Exp; branches; next 1.3; commitid twJRHwxVm2BlrOLA; 1.3 date 2015.08.25.12.23.00; author wiz; state Exp; branches; next 1.2; commitid oEJhw05QTrm7dEyy; 1.2 date 2015.05.26.12.19.46; author jperkin; state Exp; branches; next 1.1; commitid yGpaM7okvbTV6Xmy; 1.1 date 2015.05.21.14.38.08; author kefren; state Exp; branches; next ; commitid yBlnoYw8toWb2kmy; desc @@ 1.6 log @Move lang/mono6 to lang/mono. The old mono4 has been refusing to build on all platforms for a while, while mono6 at least builds on some, so hopefully this is less misleading. @ text @$NetBSD: patch-configure,v 1.5 2020/05/09 12:39:44 rillig Exp $ Fix --with-gc variables. --- configure.orig 2015-08-25 22:09:27.000000000 +0000 +++ configure @@@@ -3983,7 +3983,7 @@@@ $as_echo "#define PLATFORM_NO_SYMLINKS 1 mono_cv_clang=no if test "x$cross_compiling" = "xno"; then target_win32=yes - if test "x$host" == "x$build" -a "x$host" == "x$target"; then + if test "x$host" = "x$build" -a "x$host" = "x$target"; then $as_echo "#define TARGET_WIN32 1" >>confdefs.h @@@@ -4020,10 +4020,13 @@@@ $as_echo "#define MINGW_CROSS_COMPILE 1" CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD" libmono_ldflags="-pthread" need_link_unlink=yes - libdl="-ldl" + libdl="-ldl /libexec/ld.elf_so" libgc_threads=pthreads with_sigaltstack=no use_sigposix=yes + cat >>confdefs.h <<\_ACEOF +#define PTHREAD_POINTER_ID 1 +_ACEOF ;; *-*-kfreebsd*-gnu) host_win32=no @@@@ -4036,7 +4039,7 @@@@ $as_echo "#define MINGW_CROSS_COMPILE 1" with_sigaltstack=no use_sigposix=yes ;; - *-*-*freebsd*) + *-*-*freebsd* | *-*-*dragonfly*) host_win32=no if test "x$PTHREAD_CFLAGS" = "x"; then CPPFLAGS="$CPPFLAGS -DGC_FREEBSD_THREADS" @@@@ -4052,7 +4055,8 @@@@ $as_echo "#define MINGW_CROSS_COMPILE 1" LDFLAGS="$LDFLAGS $PTHREAD_LIBS -L/usr/local/lib" libmono_ldflags="$PTHREAD_LIBS" fi - CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD" + CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD -DPLATFORM_BSD6 -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP" + libmono_cflags="$libmono_cflags -D_REENTRANT" need_link_unlink=yes $as_echo "#define PTHREAD_POINTER_ID 1" >>confdefs.h @@@@ -20115,8 +20119,8 @@@@ rm -f core conftest.err conftest.$ac_obj # Check whether --with-libgc was given. -if test "${with_libgc+set}" = set; then : - withval=$with_libgc; libgc=$with_gc +if test "${with_gc+set}" = set; then : + withval=$with_gc; libgc=$withval else libgc=$libgc_default fi @@@@ -21999,9 +22003,7 @@@@ done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris XPG4 support" >&5 $as_echo_n "checking for Solaris XPG4 support... " >&6; } if test -f /usr/lib/libxnet.so; then - CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500" CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__" - CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED=1" LIBS="$LIBS -lxnet" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } @@@@ -25084,7 +25086,7 @@@@ else test_perf_events=no fi -if test "x$test_perf_events" == "xyes"; then +if test "x$test_perf_events" = "xyes"; then $as_echo "#define ENABLE_PERF_EVENTS 1" >>confdefs.h @@@@ -25422,7 +25424,7 @@@@ $as_echo_n "checking LLVM version... " > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $llvm_version" >&5 $as_echo "$llvm_version" >&6; } if echo $llvm_version | grep -q 'mono'; then - if test "x$enable_llvm_version_check" == "xyes"; then + if test "x$enable_llvm_version_check" = "xyes"; then if test "$llvm_version" != "$expected_llvm_version"; then as_fn_error $? "Expected llvm version $expected_llvm_version, but llvm-config --version returned $llvm_version\"" "$LINENO" 5 fi @@@@ -25504,7 +25506,7 @@@@ LIBC="libc.so.6" INTL="libc.so.6" SQLITE="libsqlite.so.0" SQLITE3="libsqlite3.so.0" -X11="libX11.so" +X11="@@X11BASE@@/lib/libX11.so" GDKX11="libgdk-x11-2.0.so.0" GTKX11="libgtk-x11-2.0.so.0" XINERAMA="libXinerama.so.1" @@@@ -25608,6 +25610,11 @@@@ $as_echo "#define __mono_ilp32__ 1" >>co sizeof_register=8 fi case $host_os in + solaris*) + LIBC="libc.so" + INTL="libintl.so" + have_visibility_hidden=no + ;; linux*) sgen_supported=true AOT_SUPPORTED="yes" @@@@ -25739,12 +25746,15 @@@@ fi CPPFLAGS="$CPPFLAGS -D__ARM_EABI__" sgen_supported=true ;; - arm*-linux*) + arm*-linux* | arm*-netbsd* | earm*-netbsd*) TARGET=ARM; arch_target=arm; ACCESS_UNALIGNED="no" - sgen_supported=true - AOT_SUPPORTED="yes" + case $host_os in + *linux) + sgen_supported=true + AOT_SUPPORTED="yes" + esac CPPFLAGS="$CPPFLAGS -D__ARM_EABI__" ;; # TODO: make proper support for NaCl host. @@@@ -25854,7 +25864,7 @@@@ $as_echo "#define TARGET_X86 1" >>confde sizeof_register=4 ;; - arm*-linux-*) + arm*-linux-* | arm*-netbsd* | earm*-netbsd*) TARGET=ARM; arch_target=arm; @@@@ -26198,15 +26208,17 @@@@ case "$host" in GTKX11="libgtk-x11-2.0.dylib" ;; *-*-*netbsd*) - LIBC="libc.so.12" - INTL="libintl.so.0" + LIBC="libc.so" + INTL="libintl.so" + SQLITE="libsqlite.so" + SQLITE3="libsqlite3.so" ;; *-*-kfreebsd*-gnu) LIBC="libc.so.0.1" INTL="libc.so.0.1" X11="libX11.so.6" ;; - *-*-*freebsd*) + *-*-*freebsd* | *-*-*dragonfly*) LIBC="libc.so" INTL="libintl.so" SQLITE="libsqlite.so" @@@@ -27193,7 +27205,6 @@@@ else fi -ac_config_files="$ac_config_files po/mcs/Makefile.in" ac_config_files="$ac_config_files runtime/mono-wrapper" @ 1.5 log @lang/mono: fix hard-coded X11BASE @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.4 2018/07/27 20:02:40 jperkin Exp $ @ 1.4 log @mono: Switch to pkgsrc boehm-gc on SunOS. The bundled one has issues with newer GCCs, and the pkgsrc one is newer and optimised, so switching is simpler than trying to retro-fit an old version. Fix --with-gc, this appears to have always been broken, and our --with-gc=none argument actually ended up as --with-gc=included, so make that now explicit. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.3 2015/08/25 12:23:00 wiz Exp $ d94 1 a94 1 +X11="/usr/X11R7/lib/libX11.so" @ 1.3 log @Update to 4.0.3.20: Mono 4.0.3 Release Notes Release date: 10 Aug 2015 4.0.3 is the third maintenance release of the 4.0 series Improvements Various stability improvements Bug Fixes 28600: Some LLVM artifacts are being written to the base project dir rather than obj/$Config/ 26205: System.IO.Package.LoadRelationships throws null reference for some NuGet packages with PCLs generated on Windows 30868: ObjectDisposedException in mono 4.0.1.28, but not mono 3.12.1 31582: iOS -O=float32 fails for some operations on ARM7 30043: Disposing a FileSystemWatcher object causes ArgumentOutOfRangeException 31060: F# sprintf AOT bug happens still now Mono 4.0.2 Release Notes Release date: 30 Jun 2015 4.0.2 is the second maintenance release of the 4.0 series Improvements XBuild fixes (MonoDevelop no longer fails to build if Gtk#3 is installed) Bug Fixes 29639: Moq related Nunit tests fail with RemoteException (Unix transport error) since Mono 4.0 29898: Bump Mono NuGet to 2.8.5 29935: XAttribute.ToString() outputs wrong result if attribute contains namespace @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2015/05/26 12:19:46 jperkin Exp $ d3 3 a5 1 --- configure.orig 2015-08-04 07:48:54.000000000 +0000 d50 11 @ 1.2 log @Put back SunOS support, and update for 4.0. Build now completes but install fails due to PLIST errors with the new libmono-2.0 handling. Need to verify this on other platforms before fixing. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2015/05/21 14:38:08 kefren Exp $ d3 1 a3 1 --- configure.orig 2015-04-26 16:29:36.000000000 +0000 d5 1 a5 1 @@@@ -4025,7 +4025,7 @@@@ $as_echo "#define PLATFORM_NO_SYMLINKS 1 d14 1 a14 1 @@@@ -4062,10 +4062,13 @@@@ $as_echo "#define MINGW_CROSS_COMPILE 1" d29 1 a29 1 @@@@ -4078,7 +4081,7 @@@@ $as_echo "#define MINGW_CROSS_COMPILE 1" d38 1 a38 1 @@@@ -4094,7 +4097,8 @@@@ $as_echo "#define MINGW_CROSS_COMPILE 1" d48 1 a48 1 @@@@ -21983,9 +21987,7 @@@@ done d58 10 a67 1 @@@@ -25406,7 +25408,7 @@@@ $as_echo_n "checking LLVM version... " > d76 1 a76 1 @@@@ -25488,7 +25490,7 @@@@ LIBC="libc.so.6" d85 1 a85 1 @@@@ -25592,6 +25594,11 @@@@ $as_echo "#define __mono_ilp32__ 1" >>co d97 1 a97 1 @@@@ -25723,12 +25730,15 @@@@ fi d116 1 a116 1 @@@@ -25838,7 +25848,7 @@@@ $as_echo "#define TARGET_X86 1" >>confde d125 1 a125 1 @@@@ -26182,15 +26192,17 @@@@ case "$host" in d146 1 a146 1 @@@@ -27177,7 +27189,6 @@@@ else @ 1.1 log @Update to mono 4.0.1 Changelist from the previous 3.10 may be found at: http://www.mono-project.com/docs/about-mono/releases/ Tested on NetBSD/amd64 6.1_STABLE There are still some hacks in patches that I'm not very happy about @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- configure.orig 2015-05-06 00:29:57.000000000 +0300 +++ configure 2015-05-11 15:38:17.000000000 +0300 @@@@ -4024,7 +4024,7 @@@@ $as_echo "#define PLATFORM_NO_SYMLINKS 1 d14 1 a14 1 @@@@ -4061,10 +4061,13 @@@@ $as_echo "#define MINGW_CROSS_COMPILE 1" d29 1 a29 1 @@@@ -4077,7 +4080,7 @@@@ $as_echo "#define MINGW_CROSS_COMPILE 1" d38 1 a38 1 @@@@ -4093,7 +4096,8 @@@@ $as_echo "#define MINGW_CROSS_COMPILE 1" d48 3 a50 1 @@@@ -21984,6 +21988,7 @@@@ $as_echo_n "checking for Solaris XPG4 su d52 1 a52 1 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500" d54 1 a54 2 + CPPFLAGS="$CPPFLAGS -D__C99FEATURES__" CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED=1" d57 2 a58 1 @@@@ -25405,7 +25410,7 @@@@ $as_echo_n "checking LLVM version... " > d67 1 a67 1 @@@@ -25487,7 +25492,7 @@@@ LIBC="libc.so.6" d76 1 a76 1 @@@@ -25591,6 +25596,11 @@@@ $as_echo "#define __mono_ilp32__ 1" >>co d88 1 a88 1 @@@@ -25722,12 +25732,15 @@@@ fi d107 1 a107 1 @@@@ -25837,7 +25850,7 @@@@ $as_echo "#define TARGET_X86 1" >>confde d116 1 a116 1 @@@@ -26181,15 +26194,17 @@@@ case "$host" in d137 1 a137 1 @@@@ -27176,7 +27191,6 @@@@ else @