head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.10 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.8 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.6 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.4 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.2 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q1:1.4.0.4 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.2 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.3.0.30 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.28 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.26 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.24 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.22 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.20 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.18 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.16 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.14 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.12 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.10 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.8 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.6 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.4 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.1.0.2 pkgsrc-2004Q3-base:1.1; locks; strict; comment @# @; 1.5 date 2009.04.07.08.20.42; author kefren; state dead; branches; next 1.4; 1.4 date 2008.11.19.11.17.49; author kefren; state Exp; branches; next 1.3; 1.3 date 2005.03.27.10.25.51; author recht; state dead; branches; next 1.2; 1.2 date 2004.11.22.13.42.42; author adam; state Exp; branches; next 1.1; 1.1 date 2004.06.26.20.19.16; author recht; state Exp; branches; next ; desc @@ 1.5 log @Welcome to mono 2.4 Changelist available at http://www.mono-project.com/Release_Notes_Mono_2.4 Note: Enabled for now generics on amd64, as they look to work @ text @$NetBSD: patch-bb,v 1.4 2008/11/19 11:17:49 kefren Exp $ --- mono/io-layer/atomic.h.orig 2008-07-01 20:50:32.000000000 +0300 +++ mono/io-layer/atomic.h 2008-11-19 11:37:19.000000000 +0200 @@@@ -10,11 +10,61 @@@@ #ifndef _WAPI_ATOMIC_H_ #define _WAPI_ATOMIC_H_ +#if defined(__NetBSD__) +#include + +#if __NetBSD_Version__ > 499004000 +#include +#define HAVE_ATOMIC_OPS +#endif + +#endif + #include #include "mono/io-layer/wapi.h" -#if defined(__i386__) || defined(__x86_64__) +#if defined(__NetBSD__) && defined(HAVE_ATOMIC_OPS) + +#define WAPI_ATOMIC_ASM +static inline gint32 InterlockedCompareExchange(volatile gint32 *dest, + gint32 exch, gint32 comp) +{ + return atomic_cas_32((uint32_t*)dest, comp, exch); +} + +static inline gpointer InterlockedCompareExchangePointer(volatile gpointer *dest, gpointer exch, gpointer comp) +{ + return atomic_cas_ptr(dest, comp, exch); +} + +static inline gint32 InterlockedIncrement(volatile gint32 *val) +{ + return atomic_inc_32_nv((uint32_t*)val); +} + +static inline gint32 InterlockedDecrement(volatile gint32 *val) +{ + return atomic_dec_32_nv((uint32_t*)val); +} + +static inline gint32 InterlockedExchange(volatile gint32 *val, gint32 new_val) +{ + return atomic_swap_32((uint32_t*)val, new_val); +} + +static inline gpointer InterlockedExchangePointer(volatile gpointer *val, + gpointer new_val) +{ + return atomic_swap_ptr(val, new_val); +} + +static inline gint32 InterlockedExchangeAdd(volatile gint32 *val, gint32 add) +{ + return atomic_add_32_nv((uint32_t*)val, add) - add; +} + +#elif defined(__i386__) || defined(__x86_64__) #define WAPI_ATOMIC_ASM /* @ 1.4 log @reenable MAKE_JOBS_SAFE (2.0.1 compiled OK several times on i386 and amd64) let configure choose tls model provide atomic_ops to Interlock functions in newer NetBSDs bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @update to mono-1.1.5 The latest development release -- which is recommended for all users by the mono project. Major highlights include Nullable Types and Fixed Size Buffer features in the compiler; Much more improved Windows.Forms implementations; Increased performance, reduced memory usage. See the detailed release notes here: http://www.go-mono.com/archive/1.1.5/ @ text @d1 66 a66 13 $NetBSD: patch-bb,v 1.2 2004/11/22 13:42:42 adam Exp $ --- mono/metadata/Makefile.in.orig 2004-10-29 16:11:20.000000000 +0000 +++ mono/metadata/Makefile.in @@@@ -816,7 +816,7 @@@@ uninstall-am: uninstall-binPROGRAMS unin @@WITH_BUNDLE_TRUE@@ @@if test -f $@@; then :; else rm -f mono-bundle.stamp; $(MAKE) mono-bundle.stamp; fi @@WITH_BUNDLE_TRUE@@mono-bundle.stamp: $(BUNDLE_FILE) $(srcdir)/make-bundle.pl @@WITH_BUNDLE_TRUE@@ echo stamp > $@@t -@@WITH_BUNDLE_TRUE@@ perl $(srcdir)/make-bundle.pl $(BUNDLE_FILE) mono-bundle.h mono-bundle.s +@@WITH_BUNDLE_TRUE@@ $(PERL) $(srcdir)/make-bundle.pl $(BUNDLE_FILE) mono-bundle.h mono-bundle.s @@WITH_BUNDLE_TRUE@@ mv $@@t $@@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. @ 1.2 log @Changes 1.0.4: * libgdiplus Removed dependency on Cairo internals, this should help with upgrades on Cairo, and fixed several small bugs. * Runtime Plenty of AppDomain and thread-related bugs were fixed (Ben, Gonzalo, Zoltan). Various metadata loader bug fixes (Zoltan). Build fixes for SPARC (Zoltan). Brazilian currency bug fixed (Jackson) Various PowerPC bug fixes from Geoff Norton. Fix socket semantics for BSD and MacOS (Dick), fixes XSP. Basic runtime bug fixes (Sanjay). Various ADO.NET bug fixes from (Atsushi, Suresh, Uma) Various io-layer bug fixes (Dick). XML and CodeDOM bug fixes (Lluis and Atsushi). Various ASP.NET bug fixes, including UnloadAppDomain firing (Gonzalo, Lluis). Regex bug fixes. System.Net bug fixes and performance improvements (Gonzalo). ASP.NET performance tweaks from Ben. Major memory leak in ASP.NET has been plugged. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @update to mono-0.97 (release candidate 1) Changes include: - any bug-fixes and code generator improvements - new Thread.Abort implementation, - I/O libraries - speed improvements ... and much more @ text @d3 3 a5 3 --- mono/metadata/Makefile.in.orig 2004-06-26 14:05:44.000000000 +0200 +++ mono/metadata/Makefile.in 2004-06-26 14:05:51.000000000 +0200 @@@@ -682,7 +682,7 @@@@ @