pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import mono-4.4.0.122 as wip/mono38.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Aug 10 02:08:39 2016 +0200
Changeset:	5226cc1e2b09221caa08c0e31d422ad3c2288fa5

Added Files:
	mono38/DESCR
	mono38/MESSAGE
	mono38/Makefile
	mono38/PLIST.Darwin
	mono38/PLIST.Linux
	mono38/PLIST.common
	mono38/buildlink3.mk
	mono38/distinfo
	mono38/options.mk
	mono38/patches/patch-aa
	mono38/patches/patch-ad
	mono38/patches/patch-ae
	mono38/patches/patch-af
	mono38/patches/patch-ai
	mono38/patches/patch-aj
	mono38/patches/patch-ak
	mono38/patches/patch-al
	mono38/patches/patch-am
	mono38/patches/patch-ap
	mono38/patches/patch-aq
	mono38/patches/patch-ar
	mono38/patches/patch-as
	mono38/patches/patch-ba
	mono38/patches/patch-bc
	mono38/patches/patch-bd
	mono38/patches/patch-be
	mono38/patches/patch-bf
	mono38/patches/patch-bi
	mono38/patches/patch-cc
	mono38/patches/patch-configure
	mono38/patches/patch-da
	mono38/patches/patch-data_Makefile.in
	mono38/patches/patch-data_mono-nunit.pc.in
	mono38/patches/patch-data_net_4_0_Browsers_Makefile.in
	mono38/patches/patch-data_net_4_5_Browsers_Makefile.in
	mono38/patches/patch-data_net_4_5_Makefile.in
	mono38/patches/patch-db
	mono38/patches/patch-dc
	mono38/patches/patch-de
	mono38/patches/patch-df
	mono38/patches/patch-dh
	mono38/patches/patch-di
	mono38/patches/patch-dj
	mono38/patches/patch-dk
	mono38/patches/patch-dl
	mono38/patches/patch-do
	mono38/patches/patch-libgc_misc.c
	mono38/patches/patch-man_mprof-report.1
	mono38/patches/patch-mono_dis_Makefile.in
	mono38/patches/patch-mono_metadata_icall.c
	mono38/patches/patch-mono_metadata_mono-perfcounters.c
	mono38/patches/patch-mono_metadata_mono-route.c
	mono38/patches/patch-mono_mini_mini-arm.c
	mono38/patches/patch-mono_profiler_proflog.c
	mono38/patches/patch-mono_unit-tests_Makefile.in
	mono38/patches/patch-mono_utils_Makefile.in
	mono38/patches/patch-mono_utils_mono-compiler.h
	mono38/patches/patch-mono_utils_mono-mmap.c
	mono38/patches/patch-mono_utils_mono-semaphore.c
	mono38/patches/patch-mono_utils_mono-threads-dragonfly.c
	mono38/patches/patch-mono_utils_mono-threads-netbsd.c
	mono38/patches/patch-mono_utils_mono-threads-posix.c
	mono38/patches/patch-mono_utils_mono-threads-solaris.c
	mono38/patches/patch-po_Makefile.in
	mono38/patches/patch-support_signal.c
	mono38/patches/patch-support_time.c

Log Message:
Import mono-4.4.0.122 as wip/mono38.

The Mono Project is an open development initiative sponsored by Ximian
that is working to develop an open source, Unix version of the Microsoft
.NET development platform.  Its objective is to enable Unix developers to
build and deploy cross-platform .NET Applications.  The project will
implement various technologies developed by Microsoft that have now been
submitted to the ECMA for standardization.

This package is designed for mono-3.8 the latest stable version capable
to build native mcs.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5226cc1e2b09221caa08c0e31d422ad3c2288fa5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mono38/DESCR                                       |    6 +
 mono38/MESSAGE                                     |    8 +
 mono38/Makefile                                    |  183 ++++
 mono38/PLIST.Darwin                                |    6 +
 mono38/PLIST.Linux                                 |    6 +
 mono38/PLIST.common                                | 1140 ++++++++++++++++++++
 mono38/buildlink3.mk                               |   17 +
 mono38/distinfo                                    |   63 ++
 mono38/options.mk                                  |   16 +
 mono38/patches/patch-aa                            |   15 +
 mono38/patches/patch-ad                            |   52 +
 mono38/patches/patch-ae                            |   21 +
 mono38/patches/patch-af                            |   12 +
 mono38/patches/patch-ai                            |  207 ++++
 mono38/patches/patch-aj                            |   12 +
 mono38/patches/patch-ak                            |   56 +
 mono38/patches/patch-al                            |   12 +
 mono38/patches/patch-am                            |   22 +
 mono38/patches/patch-ap                            |   26 +
 mono38/patches/patch-aq                            |   12 +
 mono38/patches/patch-ar                            |   12 +
 mono38/patches/patch-as                            |   18 +
 mono38/patches/patch-ba                            |   12 +
 mono38/patches/patch-bc                            |   23 +
 mono38/patches/patch-bd                            |   17 +
 mono38/patches/patch-be                            |   36 +
 mono38/patches/patch-bf                            |   25 +
 mono38/patches/patch-bi                            |   37 +
 mono38/patches/patch-cc                            |   33 +
 mono38/patches/patch-configure                     |  153 +++
 mono38/patches/patch-da                            |  157 +++
 mono38/patches/patch-data_Makefile.in              |   15 +
 mono38/patches/patch-data_mono-nunit.pc.in         |   12 +
 .../patch-data_net_4_0_Browsers_Makefile.in        |   15 +
 .../patch-data_net_4_5_Browsers_Makefile.in        |   15 +
 mono38/patches/patch-data_net_4_5_Makefile.in      |   15 +
 mono38/patches/patch-db                            |   37 +
 mono38/patches/patch-dc                            |   12 +
 mono38/patches/patch-de                            |   12 +
 mono38/patches/patch-df                            |   12 +
 mono38/patches/patch-dh                            |   12 +
 mono38/patches/patch-di                            |   12 +
 mono38/patches/patch-dj                            |   16 +
 mono38/patches/patch-dk                            |   12 +
 mono38/patches/patch-dl                            |   34 +
 mono38/patches/patch-do                            |   13 +
 mono38/patches/patch-libgc_misc.c                  |   36 +
 mono38/patches/patch-man_mprof-report.1            |   12 +
 mono38/patches/patch-mono_dis_Makefile.in          |   13 +
 mono38/patches/patch-mono_metadata_icall.c         |   22 +
 .../patch-mono_metadata_mono-perfcounters.c        |   52 +
 mono38/patches/patch-mono_metadata_mono-route.c    |   14 +
 mono38/patches/patch-mono_mini_mini-arm.c          |   72 ++
 mono38/patches/patch-mono_profiler_proflog.c       |   17 +
 mono38/patches/patch-mono_unit-tests_Makefile.in   |   21 +
 mono38/patches/patch-mono_utils_Makefile.in        |   43 +
 mono38/patches/patch-mono_utils_mono-compiler.h    |   38 +
 mono38/patches/patch-mono_utils_mono-mmap.c        |   15 +
 mono38/patches/patch-mono_utils_mono-semaphore.c   |   55 +
 .../patch-mono_utils_mono-threads-dragonfly.c      |   29 +
 .../patches/patch-mono_utils_mono-threads-netbsd.c |   28 +
 .../patches/patch-mono_utils_mono-threads-posix.c  |   26 +
 .../patch-mono_utils_mono-threads-solaris.c        |   24 +
 mono38/patches/patch-po_Makefile.in                |   13 +
 mono38/patches/patch-support_signal.c              |   17 +
 mono38/patches/patch-support_time.c                |   16 +
 66 files changed, 3222 insertions(+)

diffs:
diff --git a/mono38/DESCR b/mono38/DESCR
new file mode 100644
index 0000000..d9952fe
--- /dev/null
+++ b/mono38/DESCR
@@ -0,0 +1,6 @@
+The Mono Project is an open development initiative sponsored by Ximian
+that is working to develop an open source, Unix version of the Microsoft
+.NET development platform.  Its objective is to enable Unix developers to
+build and deploy cross-platform .NET Applications.  The project will
+implement various technologies developed by Microsoft that have now been
+submitted to the ECMA for standardization.
diff --git a/mono38/MESSAGE b/mono38/MESSAGE
new file mode 100644
index 0000000..07d054d
--- /dev/null
+++ b/mono38/MESSAGE
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.6 2008/04/21 17:08:02 kefren Exp $
+
+To enable using System.Drawing or Windows.Forms, the following packages
+will need to be installed:
+
+    libgdiplus  Implementation of the GDI+ API
+===========================================================================
diff --git a/mono38/Makefile b/mono38/Makefile
new file mode 100644
index 0000000..e6776ef
--- /dev/null
+++ b/mono38/Makefile
@@ -0,0 +1,183 @@
+# $NetBSD: Makefile,v 1.168 2016/02/24 16:48:09 jperkin Exp $
+
+DISTNAME=	mono-4.4.0.122
+CATEGORIES=	lang
+MASTER_SITES=	http://download.mono-project.com/sources/mono/
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://www.mono-project.com/
+COMMENT=	Open source implementation of the .NET Development Framework
+LICENSE=	mit AND gnu-gpl-v2 AND gnu-lgpl-v2 AND apache-2.0
+
+BUILD_DEPENDS+=	p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
+CONFLICTS=	pnet-[0-9]* mcsim-[0-9]* lc-[0-9]*
+ALL_ENV+=	MONO_SHARED_DIR=${WRKDIR:Q} PLATFORM=
+WRKSRC=		${WRKDIR}/mono-4.0.4
+
+USE_TOOLS+=	bash:run bison gmake gtar msgfmt perl:run pkg-config
+USE_LIBTOOL=	yes
+USE_LANGUAGES+=	c c99 c++
+EXTRACT_USING=	gtar
+
+GNU_CONFIGURE=		yes
+CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q} --with-icu=yes
+CONFIGURE_ARGS+=	--with-preview=yes --with-libgdiplus=installed
+CONFIGURE_ARGS+=	--disable-dtrace --with-gc=none
+
+.include "options.mk"
+
+MAKE_FLAGS+=		PERL=${PERL5:Q} mandir=${PREFIX}/${PKGMANDIR}
+UNLIMIT_RESOURCES=	datasize stacksize memorysize
+
+PKGCONFIG_OVERRIDE+=	mono-uninstalled.pc.in data/cecil.pc.in
+PKGCONFIG_OVERRIDE+=	data/dotnet.pc.in data/dotnet35.pc.in data/mint.pc.in
+PKGCONFIG_OVERRIDE+=	data/monodoc.pc.in
+PKGCONFIG_OVERRIDE+=	data/mono-cairo.pc.in data/mono-lineeditor.pc.in
+PKGCONFIG_OVERRIDE+=	data/mono-nunit.pc.in data/mono-options.pc.in
+PKGCONFIG_OVERRIDE+=	data/mono.pc.in
+PKGCONFIG_OVERRIDE+=	data/reactive.pc.in
+PKGCONFIG_OVERRIDE+=	data/system.web.extensions_1.0.pc.in
+PKGCONFIG_OVERRIDE+=	data/system.web.extensions.design_1.0.pc.in
+PKGCONFIG_OVERRIDE+=	data/system.web.mvc.pc.in data/wcf.pc.in
+
+REPLACE_PERL+=	mcs/errors/do-tests.pl mcs/tools/scan-tests.pl
+REPLACE_PERL+=	msvc/create-windef.pl mono/benchmark/test-driver
+REPLACE_PERL+=	mono/cil/make-opcodes-def.pl mono/metadata/make-bundle.pl
+REPLACE_PERL+=	mono/mini/genmdesc.pl mono/tests/stress-runner.pl
+
+REPLACE_PYTHON+=	scripts/mono-heapviz
+
+REPLACE_BASH+=	build-mingw32.sh mono/arch/arm/dpiops.sh mono/arch/arm/fpaops.sh
+REPLACE_BASH+=	mono/arch/arm/vfpops.sh mono/tests/make_imt_test.sh
+REPLACE_BASH+=	scripts/mono-find-provides.in scripts/mono-find-requires.in
+REPLACE_BASH+=	scripts/mono-test-install web/mono-build-w32.sh
+REPLACE_BASH+=	mcs/class/Mono.WebBrowser/build-csproj2k5
+REPLACE_BASH+=	mcs/class/Managed.Windows.Forms/build-csproj
+REPLACE_BASH+=	mcs/class/Managed.Windows.Forms/build-csproj2k5
+REPLACE_BASH+=	mcs/class/Mono.Cairo/Samples/gtk/compile.sh
+REPLACE_BASH+=	mcs/class/Mono.Cairo/Samples/png/compile.sh
+REPLACE_BASH+=	mcs/class/Mono.Cairo/Samples/win32/compile.sh
+REPLACE_BASH+=	mcs/class/Mono.Cairo/Samples/x11/compile.sh
+REPLACE_BASH+=	mcs/tools/tinderbox/tinderbox.sh libgc/mkinstalldirs
+REPLACE_BASH+=	mcs/mkinstalldirs mkinstalldirs
+
+EGDIR=		${PREFIX}/share/examples/mono
+CONF_FILES=	${EGDIR}/config ${PKG_SYSCONFDIR}/mono/config
+CONF_FILES+=	${EGDIR}/browscap.ini ${PKG_SYSCONFDIR}/mono/browscap.ini
+CONF_FILES+=	${EGDIR}/2.0/DefaultWsdlHelpGenerator.aspx \
+			${PKG_SYSCONFDIR}/mono/2.0/DefaultWsdlHelpGenerator.aspx
+CONF_FILES+=	${EGDIR}/2.0/machine.config \
+			${PKG_SYSCONFDIR}/mono/2.0/machine.config
+CONF_FILES+=	${EGDIR}/mconfig/config.xml \
+			${PKG_SYSCONFDIR}/mono/mconfig/config.xml
+CONF_FILES+=	${EGDIR}/2.0/settings.map \
+			${PKG_SYSCONFDIR}/mono/2.0/settings.map
+CONF_FILES+=	${EGDIR}/2.0/web.config \
+			${PKG_SYSCONFDIR}/mono/2.0/web.config
+CONF_FILES+=	${EGDIR}/2.0/Browsers/Compat.browser \
+			${PKG_SYSCONFDIR}/mono/2.0/Browsers/Compat.browser
+CONF_FILES+=	${EGDIR}/4.0/DefaultWsdlHelpGenerator.aspx \
+			${PKG_SYSCONFDIR}/mono/4.0/DefaultWsdlHelpGenerator.aspx
+CONF_FILES+=	${EGDIR}/4.0/machine.config \
+			${PKG_SYSCONFDIR}/mono/4.0/machine.config
+CONF_FILES+=	${EGDIR}/4.0/settings.map \
+			${PKG_SYSCONFDIR}/mono/4.0/settings.map
+CONF_FILES+=	${EGDIR}/4.0/web.config \
+			${PKG_SYSCONFDIR}/mono/4.0/web.config
+CONF_FILES+=	${EGDIR}/4.0/Browsers/Compat.browser \
+			${PKG_SYSCONFDIR}/mono/4.0/Browsers/Compat.browser
+CONF_FILES+=	${EGDIR}/4.5/DefaultWsdlHelpGenerator.aspx \
+			${PKG_SYSCONFDIR}/mono/4.5/DefaultWsdlHelpGenerator.aspx
+CONF_FILES+=	${EGDIR}/4.5/machine.config \
+			${PKG_SYSCONFDIR}/mono/4.5/machine.config
+CONF_FILES+=	${EGDIR}/4.5/settings.map \
+			${PKG_SYSCONFDIR}/mono/4.5/settings.map
+CONF_FILES+=	${EGDIR}/4.5/web.config  ${PKG_SYSCONFDIR}/mono/4.5/web.config
+CONF_FILES+=	${EGDIR}/4.5/Browsers/Compat.browser \
+			${PKG_SYSCONFDIR}/mono/4.5/Browsers/Compat.browser
+
+MAKE_DIRS+=	${PKG_SYSCONFDIR}/mono/2.0
+MAKE_DIRS+=	${PKG_SYSCONFDIR}/mono/2.0/Browsers
+MAKE_DIRS+=	${PKG_SYSCONFDIR}/mono/4.0
+MAKE_DIRS+=	${PKG_SYSCONFDIR}/mono/4.0/Browsers
+MAKE_DIRS+=	${PKG_SYSCONFDIR}/mono/4.5
+MAKE_DIRS+=	${PKG_SYSCONFDIR}/mono/4.5/Browsers
+MAKE_DIRS+=	${PKG_SYSCONFDIR}/mono/mconfig
+
+INSTALLATION_DIRS+=	share/examples/mono/4.5
+
+TEST_TARGET=	check
+
+SUBST_CLASSES+=			fix-prefix
+SUBST_STAGE.fix-prefix=		post-patch
+SUBST_MESSAGE.fix-prefix=	Fixing relative prefix
+SUBST_FILES.fix-prefix=		${PKGCONFIG_OVERRIDE}
+SUBST_SED.fix-prefix=		-e 's,$${pcfiledir}/../..,\@prefix\@,g'
+
+SUBST_CLASSES+=			fix-mcs
+SUBST_STAGE.fix-mcs=		post-patch
+SUBST_MESSAGE.fix-mcs=		Fixing mcs default prefix
+SUBST_FILES.fix-mcs=		mcs/build/config-default.make
+SUBST_VARS.fix-mcs=		PREFIX PKGMANDIR
+
+SUBST_CLASSES+=			fix-cfgdir
+SUBST_STAGE.fix-cfgdir=		post-patch
+SUBST_MESSAGE.fix-cfgdir=	Fixing configuration files install dir
+SUBST_FILES.fix-cfgdir=		mcs/tools/mconfig/Makefile
+SUBST_SED.fix-cfgdir=		-e 's,$$(sysconfdir)/mono,${EGDIR},g'
+
+SUBST_CLASSES+=			fix-libx11
+SUBST_STAGE.fix-libx11=		pre-configure
+SUBST_MESSAGE.fix-libx11=	Fixing libX11 search path configuration
+SUBST_FILES.fix-libx11=		configure
+SUBST_SED.fix-libx11=		-e 's,@X11BASE@,${X11BASE},g'
+
+PLIST_VARS=	monodoc
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+CFLAGS+=		-D_XOPEN_SOURCE=600
+CONFIGURE_ARGS+=	--with-mcs-docs=no
+CONFIGURE_ARGS+=	--with-sgen=no
+CONFIGURE_ARGS+=	--with-sigaltstack=no
+CONFIGURE_ENV+=		ac_cv_func_getdomainname=no
+CONFIGURE_ENV+=		ac_cv_func_setdomainname=no
+ULIMIT_CMD_datasize=	ulimit -d 524288
+ULIMIT_CMD_stacksize=	ulimit -s 10240
+.elif ${OPSYS} == "NetBSD" && ${MACHINE_ARCH:M*arm*}
+CONFIGURE_ARGS+=	--with-mcs-docs=no
+CONFIGURE_ARGS+=	--disable-parallel-mark
+.else
+PLIST.monodoc=		yes
+.endif
+
+.if ${MACHINE_ARCH:M*i[34]86*}
+# for gcc byte atomic builtins
+GNU_ARCH.i386=		i586
+CFLAGS+=		-march=i586
+.endif
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/data/net_4_5/DefaultWsdlHelpGenerator.aspx \
+		${DESTDIR}${EGDIR}/4.5/DefaultWsdlHelpGenerator.aspx
+	${INSTALL_DATA} ${WRKSRC}/data/net_4_5/machine.config \
+		${DESTDIR}${EGDIR}/4.5/machine.config
+	${INSTALL_DATA} ${WRKSRC}/data/net_4_5/settings.map \
+		${DESTDIR}${EGDIR}/4.5/settings.map
+	${INSTALL_DATA} ${WRKSRC}/data/net_4_5/web.config \
+		${DESTDIR}${EGDIR}/4.5/web.config
+.if ${OPSYS} == "Darwin"
+	for lib in mcs.exe.dylib mscorlib.dll.dylib; do \
+		install_name_tool -id ${PREFIX}/lib/mono/4.5/$$lib \
+		    ${DESTDIR}${PREFIX}/lib/mono/4.5/$$lib; \
+	done
+.endif
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mono38/PLIST.Darwin b/mono38/PLIST.Darwin
new file mode 100644
index 0000000..0c42f21
--- /dev/null
+++ b/mono38/PLIST.Darwin
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST.Darwin,v 1.1 2015/08/31 14:31:20 jperkin Exp $
+bin/mono-sgen
+lib/libmonosgen-2.0.la
+lib/mono/4.5/mcs.exe.dylib
+lib/mono/4.5/mscorlib.dll.dylib
+lib/pkgconfig/monosgen-2.pc
diff --git a/mono38/PLIST.Linux b/mono38/PLIST.Linux
new file mode 100644
index 0000000..bba806a
--- /dev/null
+++ b/mono38/PLIST.Linux
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST.Linux,v 1.4 2015/06/19 01:18:25 gdt Exp $
+bin/mono-sgen
+bin/mono-sgen-gdb.py
+lib/libmonosgen-2.0.la
+lib/mono/4.5/mscorlib.dll.so
+lib/pkgconfig/monosgen-2.pc
diff --git a/mono38/PLIST.common b/mono38/PLIST.common
new file mode 100644
index 0000000..c64c0fc
--- /dev/null
+++ b/mono38/PLIST.common
@@ -0,0 +1,1140 @@
+@comment $NetBSD: PLIST.common,v 1.26 2015/08/25 12:22:59 wiz Exp $
+bin/al
+bin/al2
+bin/caspol
+bin/cccheck
+bin/ccrewrite
+bin/cert-sync
+bin/cert2spc
+bin/certmgr
+bin/chktrust
+bin/crlupdate
+bin/csharp
+bin/disco
+bin/dmcs
+bin/dtd2rng
+bin/dtd2xsd
+bin/gacutil
+bin/gacutil2
+bin/genxs
+bin/httpcfg
+bin/ikdasm
+bin/ilasm
+bin/installvst
+bin/lc
+bin/macpack
+bin/makecert
+bin/mconfig
+bin/mcs
+bin/mdassembler
+bin/mdbrebase
+bin/mdoc
+bin/mdoc-assemble
+bin/mdoc-export-html
+bin/mdoc-export-msxdoc
+bin/mdoc-update
+bin/mdoc-validate
+bin/mdvalidater
+bin/mkbundle
+bin/mod
+bin/mono
+bin/mono-api-info
+bin/mono-boehm
+bin/mono-cil-strip
+bin/mono-configuration-crypto
+bin/mono-find-provides
+bin/mono-find-requires
+bin/mono-gdb.py
+bin/mono-heapviz
+bin/mono-service
+bin/mono-service2
+bin/mono-sgen-gdb.py
+bin/mono-shlib-cop
+bin/mono-test-install
+bin/mono-xmltool
+bin/monodis
+bin/monodocer
+bin/monodocs2html
+bin/monodocs2slashdoc
+bin/monolinker
+bin/monop
+bin/monop2
+bin/mozroots
+bin/mprof-report
+bin/nunit-console
+bin/nunit-console2
+bin/nunit-console4
+bin/pdb2mdb
+bin/pedump
+bin/permview
+bin/peverify
+bin/prj2make
+bin/resgen
+bin/resgen2
+bin/secutil
+bin/setreg
+bin/sgen
+bin/signcode
+bin/sn
+bin/soapsuds
+bin/sqlmetal
+bin/sqlsharp
+bin/svcutil
+bin/wsdl
+bin/wsdl2
+bin/xbuild
+bin/xsd
+include/mono-2.0/mono/cil/opcode.def
+include/mono-2.0/mono/jit/jit.h
+include/mono-2.0/mono/metadata/appdomain.h
+include/mono-2.0/mono/metadata/assembly.h
+include/mono-2.0/mono/metadata/attrdefs.h
+include/mono-2.0/mono/metadata/blob.h
+include/mono-2.0/mono/metadata/class.h
+include/mono-2.0/mono/metadata/debug-helpers.h
+include/mono-2.0/mono/metadata/debug-mono-symfile.h
+include/mono-2.0/mono/metadata/environment.h
+include/mono-2.0/mono/metadata/exception.h
+include/mono-2.0/mono/metadata/image.h
+include/mono-2.0/mono/metadata/loader.h
+include/mono-2.0/mono/metadata/metadata.h
+include/mono-2.0/mono/metadata/mono-config.h
+include/mono-2.0/mono/metadata/mono-debug.h
+include/mono-2.0/mono/metadata/mono-gc.h
+include/mono-2.0/mono/metadata/object.h
+include/mono-2.0/mono/metadata/opcodes.h
+include/mono-2.0/mono/metadata/profiler.h
+include/mono-2.0/mono/metadata/reflection.h
+include/mono-2.0/mono/metadata/row-indexes.h
+include/mono-2.0/mono/metadata/sgen-bridge.h
+include/mono-2.0/mono/metadata/threads.h
+include/mono-2.0/mono/metadata/tokentype.h
+include/mono-2.0/mono/metadata/verify.h
+include/mono-2.0/mono/utils/mono-counters.h
+include/mono-2.0/mono/utils/mono-dl-fallback.h
+include/mono-2.0/mono/utils/mono-error.h
+include/mono-2.0/mono/utils/mono-logger.h
+include/mono-2.0/mono/utils/mono-publib.h
+lib/libMonoPosixHelper.la
+lib/libMonoSupportW.la
+lib/libikvm-native.la
+lib/libmono-2.0.a
+lib/libmono-2.0.la
+lib/libmono-2.0.so
+lib/libmono-2.0.so.1
+lib/libmono-2.0.so.1.0.0
+lib/libmono-profiler-aot.la
+lib/libmono-profiler-cov.la
+lib/libmono-profiler-iomap.la
+lib/libmono-profiler-log.la
+lib/libmonoboehm-2.0.la
+lib/mono-source-libs/Options.cs
+lib/mono-source-libs/getline.cs
+lib/mono/2.0/Accessibility.dll
+lib/mono/2.0/Commons.Xml.Relaxng.dll
+lib/mono/2.0/CustomMarshalers.dll
+lib/mono/2.0/I18N.CJK.dll
+lib/mono/2.0/I18N.MidEast.dll
+lib/mono/2.0/I18N.Other.dll
+lib/mono/2.0/I18N.Rare.dll
+lib/mono/2.0/I18N.West.dll
+lib/mono/2.0/I18N.dll
+lib/mono/2.0/IBM.Data.DB2.dll
+lib/mono/2.0/ICSharpCode.SharpZipLib.dll
+lib/mono/2.0/Microsoft.Build.Engine.dll
+lib/mono/2.0/Microsoft.Build.Framework.dll
+lib/mono/2.0/Microsoft.Build.Tasks.dll
+lib/mono/2.0/Microsoft.Build.Utilities.dll
+lib/mono/2.0/Microsoft.VisualBasic.dll
+lib/mono/2.0/Microsoft.VisualC.dll
+lib/mono/2.0/Mono.C5.dll
+lib/mono/2.0/Mono.CSharp.dll
+lib/mono/2.0/Mono.Cairo.dll
+lib/mono/2.0/Mono.CompilerServices.SymbolWriter.dll
+lib/mono/2.0/Mono.Data.Sqlite.dll
+lib/mono/2.0/Mono.Data.Tds.dll
+lib/mono/2.0/Mono.Debugger.Soft.dll
+lib/mono/2.0/Mono.Http.dll
+lib/mono/2.0/Mono.Management.dll
+lib/mono/2.0/Mono.Messaging.RabbitMQ.dll
+lib/mono/2.0/Mono.Messaging.dll
+lib/mono/2.0/Mono.Posix.dll
+lib/mono/2.0/Mono.Security.Win32.dll
+lib/mono/2.0/Mono.Security.dll
+lib/mono/2.0/Mono.Simd.dll
+lib/mono/2.0/Mono.Tasklets.dll
+lib/mono/2.0/Mono.WebBrowser.dll
+lib/mono/2.0/Mono.XBuild.Tasks.dll
+lib/mono/2.0/Novell.Directory.Ldap.dll
+lib/mono/2.0/Npgsql.dll
+lib/mono/2.0/PEAPI.dll
+lib/mono/2.0/RabbitMQ.Client.dll
+lib/mono/2.0/System.ComponentModel.DataAnnotations.dll
+lib/mono/2.0/System.Configuration.Install.dll
+lib/mono/2.0/System.Configuration.dll
+lib/mono/2.0/System.Core.dll
+lib/mono/2.0/System.Data.DataSetExtensions.dll
+lib/mono/2.0/System.Data.Linq.dll
+lib/mono/2.0/System.Data.OracleClient.dll
+lib/mono/2.0/System.Data.Services.Client.dll
+lib/mono/2.0/System.Data.Services.dll
+lib/mono/2.0/System.Data.dll
+lib/mono/2.0/System.Design.dll
+lib/mono/2.0/System.DirectoryServices.Protocols.dll
+lib/mono/2.0/System.DirectoryServices.dll
+lib/mono/2.0/System.Drawing.Design.dll
+lib/mono/2.0/System.Drawing.dll
+lib/mono/2.0/System.EnterpriseServices.dll
+lib/mono/2.0/System.IdentityModel.Selectors.dll
+lib/mono/2.0/System.IdentityModel.dll
+lib/mono/2.0/System.Json.dll
+lib/mono/2.0/System.Management.dll
+lib/mono/2.0/System.Messaging.dll
+lib/mono/2.0/System.Net.dll
+lib/mono/2.0/System.Runtime.Remoting.dll
+lib/mono/2.0/System.Runtime.Serialization.Formatters.Soap.dll
+lib/mono/2.0/System.Runtime.Serialization.dll
+lib/mono/2.0/System.Security.dll
+lib/mono/2.0/System.ServiceModel.Web.dll
+lib/mono/2.0/System.ServiceModel.dll
+lib/mono/2.0/System.ServiceProcess.dll
+lib/mono/2.0/System.Transactions.dll
+lib/mono/2.0/System.Web.Abstractions.dll
+lib/mono/2.0/System.Web.DynamicData.dll
+lib/mono/2.0/System.Web.Extensions.Design.dll
+lib/mono/2.0/System.Web.Extensions.dll
+lib/mono/2.0/System.Web.Mvc.dll
+lib/mono/2.0/System.Web.Routing.dll
+lib/mono/2.0/System.Web.Services.dll
+lib/mono/2.0/System.Web.dll
+lib/mono/2.0/System.Windows.Forms.dll
+lib/mono/2.0/System.Xml.Linq.dll
+lib/mono/2.0/System.Xml.dll
+lib/mono/2.0/System.dll
+lib/mono/2.0/WindowsBase.dll
+lib/mono/2.0/cscompmgd.dll
+lib/mono/2.0/mscorlib.dll
+lib/mono/3.5/Microsoft.Build.Engine.dll
+lib/mono/3.5/Microsoft.Build.Framework.dll
+lib/mono/3.5/Microsoft.Build.Tasks.v3.5.dll
+lib/mono/3.5/Microsoft.Build.Utilities.v3.5.dll
+lib/mono/3.5/Mono.XBuild.Tasks.dll
+lib/mono/4.0/Accessibility.dll
+lib/mono/4.0/Commons.Xml.Relaxng.dll
+lib/mono/4.0/CustomMarshalers.dll
+lib/mono/4.0/I18N.CJK.dll
+lib/mono/4.0/I18N.MidEast.dll
+lib/mono/4.0/I18N.Other.dll
+lib/mono/4.0/I18N.Rare.dll
+lib/mono/4.0/I18N.West.dll
+lib/mono/4.0/I18N.dll
+lib/mono/4.0/IBM.Data.DB2.dll
+lib/mono/4.0/ICSharpCode.SharpZipLib.dll
+lib/mono/4.0/Microsoft.Build.Engine.dll
+lib/mono/4.0/Microsoft.Build.Framework.dll
+lib/mono/4.0/Microsoft.Build.Tasks.v4.0.dll
+lib/mono/4.0/Microsoft.Build.Utilities.v4.0.dll
+lib/mono/4.0/Microsoft.Build.dll
+lib/mono/4.0/Microsoft.CSharp.dll
+lib/mono/4.0/Microsoft.VisualBasic.dll
+lib/mono/4.0/Microsoft.VisualC.dll
+lib/mono/4.0/Microsoft.Web.Infrastructure.dll
+lib/mono/4.0/Mono.C5.dll
+lib/mono/4.0/Mono.CSharp.dll
+lib/mono/4.0/Mono.Cairo.dll
+lib/mono/4.0/Mono.CompilerServices.SymbolWriter.dll
+lib/mono/4.0/Mono.Data.Sqlite.dll
+lib/mono/4.0/Mono.Data.Tds.dll
+lib/mono/4.0/Mono.Debugger.Soft.dll
+lib/mono/4.0/Mono.Http.dll
+lib/mono/4.0/Mono.Management.dll
+lib/mono/4.0/Mono.Messaging.RabbitMQ.dll
+lib/mono/4.0/Mono.Messaging.dll
+lib/mono/4.0/Mono.Posix.dll
+lib/mono/4.0/Mono.Security.Win32.dll
+lib/mono/4.0/Mono.Security.dll
+lib/mono/4.0/Mono.Simd.dll
+lib/mono/4.0/Mono.Tasklets.dll
+lib/mono/4.0/Mono.WebBrowser.dll
+lib/mono/4.0/Novell.Directory.Ldap.dll
+lib/mono/4.0/Npgsql.dll
+lib/mono/4.0/PEAPI.dll
+lib/mono/4.0/RabbitMQ.Client.dll
+lib/mono/4.0/System.ComponentModel.Composition.dll
+lib/mono/4.0/System.ComponentModel.DataAnnotations.dll
+lib/mono/4.0/System.Configuration.Install.dll
+lib/mono/4.0/System.Configuration.dll
+lib/mono/4.0/System.Core.dll
+lib/mono/4.0/System.Data.DataSetExtensions.dll
+lib/mono/4.0/System.Data.Linq.dll
+lib/mono/4.0/System.Data.OracleClient.dll
+lib/mono/4.0/System.Data.Services.Client.dll
+lib/mono/4.0/System.Data.Services.dll
+lib/mono/4.0/System.Data.dll
+lib/mono/4.0/System.Design.dll
+lib/mono/4.0/System.DirectoryServices.Protocols.dll
+lib/mono/4.0/System.DirectoryServices.dll
+lib/mono/4.0/System.Drawing.Design.dll
+lib/mono/4.0/System.Drawing.dll
+lib/mono/4.0/System.Dynamic.dll
+lib/mono/4.0/System.EnterpriseServices.dll
+lib/mono/4.0/System.IdentityModel.Selectors.dll
+lib/mono/4.0/System.IdentityModel.dll
+lib/mono/4.0/System.Json.Microsoft.dll
+lib/mono/4.0/System.Json.dll
+lib/mono/4.0/System.Management.dll
+lib/mono/4.0/System.Messaging.dll
+lib/mono/4.0/System.Net.dll
+lib/mono/4.0/System.Numerics.dll
+lib/mono/4.0/System.Runtime.Caching.dll
+lib/mono/4.0/System.Runtime.DurableInstancing.dll
+lib/mono/4.0/System.Runtime.Remoting.dll
+lib/mono/4.0/System.Runtime.Serialization.Formatters.Soap.dll
+lib/mono/4.0/System.Runtime.Serialization.dll
+lib/mono/4.0/System.Security.dll
+lib/mono/4.0/System.ServiceModel.Activation.dll
+lib/mono/4.0/System.ServiceModel.Discovery.dll
+lib/mono/4.0/System.ServiceModel.Routing.dll
+lib/mono/4.0/System.ServiceModel.Web.dll
+lib/mono/4.0/System.ServiceModel.dll
+lib/mono/4.0/System.ServiceProcess.dll
+lib/mono/4.0/System.Transactions.dll
+lib/mono/4.0/System.Web.Abstractions.dll
+lib/mono/4.0/System.Web.ApplicationServices.dll
+lib/mono/4.0/System.Web.DynamicData.dll
+lib/mono/4.0/System.Web.Extensions.Design.dll
+lib/mono/4.0/System.Web.Extensions.dll
+lib/mono/4.0/System.Web.Routing.dll
+lib/mono/4.0/System.Web.Services.dll
+lib/mono/4.0/System.Web.dll
+lib/mono/4.0/System.Windows.Forms.DataVisualization.dll
+lib/mono/4.0/System.Windows.Forms.dll
+lib/mono/4.0/System.Xaml.dll
+lib/mono/4.0/System.Xml.Linq.dll
+lib/mono/4.0/System.Xml.dll
+lib/mono/4.0/System.dll
+lib/mono/4.0/WebMatrix.Data.dll
+lib/mono/4.0/WindowsBase.dll
+lib/mono/4.0/cscompmgd.dll
+lib/mono/4.0/monodoc.dll
+lib/mono/4.0/mscorlib.dll
+lib/mono/4.5/Accessibility.dll
+lib/mono/4.5/Commons.Xml.Relaxng.dll
+lib/mono/4.5/CustomMarshalers.dll
+lib/mono/4.5/Facades/System.Collections.Concurrent.dll
+lib/mono/4.5/Facades/System.Collections.dll
+lib/mono/4.5/Facades/System.ComponentModel.Annotations.dll
+lib/mono/4.5/Facades/System.ComponentModel.EventBasedAsync.dll
+lib/mono/4.5/Facades/System.ComponentModel.dll
+lib/mono/4.5/Facades/System.Diagnostics.Contracts.dll
+lib/mono/4.5/Facades/System.Diagnostics.Debug.dll
+lib/mono/4.5/Facades/System.Diagnostics.Tools.dll
+lib/mono/4.5/Facades/System.Diagnostics.Tracing.dll
+lib/mono/4.5/Facades/System.Dynamic.Runtime.dll
+lib/mono/4.5/Facades/System.Globalization.dll
+lib/mono/4.5/Facades/System.IO.dll
+lib/mono/4.5/Facades/System.Linq.Expressions.dll
+lib/mono/4.5/Facades/System.Linq.Parallel.dll
+lib/mono/4.5/Facades/System.Linq.Queryable.dll
+lib/mono/4.5/Facades/System.Linq.dll
+lib/mono/4.5/Facades/System.Net.NetworkInformation.dll
+lib/mono/4.5/Facades/System.Net.Primitives.dll
+lib/mono/4.5/Facades/System.Net.Requests.dll
+lib/mono/4.5/Facades/System.ObjectModel.dll
+lib/mono/4.5/Facades/System.Reflection.Emit.ILGeneration.dll
+lib/mono/4.5/Facades/System.Reflection.Emit.Lightweight.dll
+lib/mono/4.5/Facades/System.Reflection.Emit.dll
+lib/mono/4.5/Facades/System.Reflection.Extensions.dll
+lib/mono/4.5/Facades/System.Reflection.Primitives.dll
+lib/mono/4.5/Facades/System.Reflection.dll
+lib/mono/4.5/Facades/System.Resources.ResourceManager.dll
+lib/mono/4.5/Facades/System.Runtime.Extensions.dll
+lib/mono/4.5/Facades/System.Runtime.InteropServices.WindowsRuntime.dll
+lib/mono/4.5/Facades/System.Runtime.InteropServices.dll
+lib/mono/4.5/Facades/System.Runtime.Numerics.dll
+lib/mono/4.5/Facades/System.Runtime.Serialization.Json.dll
+lib/mono/4.5/Facades/System.Runtime.Serialization.Primitives.dll
+lib/mono/4.5/Facades/System.Runtime.Serialization.Xml.dll
+lib/mono/4.5/Facades/System.Runtime.dll
+lib/mono/4.5/Facades/System.Security.Principal.dll
+lib/mono/4.5/Facades/System.ServiceModel.Http.dll
+lib/mono/4.5/Facades/System.ServiceModel.Primitives.dll
+lib/mono/4.5/Facades/System.ServiceModel.Security.dll
+lib/mono/4.5/Facades/System.Text.Encoding.Extensions.dll
+lib/mono/4.5/Facades/System.Text.Encoding.dll
+lib/mono/4.5/Facades/System.Text.RegularExpressions.dll
+lib/mono/4.5/Facades/System.Threading.Tasks.Parallel.dll
+lib/mono/4.5/Facades/System.Threading.Tasks.dll
+lib/mono/4.5/Facades/System.Threading.Timer.dll
+lib/mono/4.5/Facades/System.Threading.dll
+lib/mono/4.5/Facades/System.Xml.ReaderWriter.dll
+lib/mono/4.5/Facades/System.Xml.XDocument.dll
+lib/mono/4.5/Facades/System.Xml.XmlSerializer.dll
+lib/mono/4.5/I18N.CJK.dll
+lib/mono/4.5/I18N.MidEast.dll
+lib/mono/4.5/I18N.Other.dll
+lib/mono/4.5/I18N.Rare.dll
+lib/mono/4.5/I18N.West.dll
+lib/mono/4.5/I18N.dll
+lib/mono/4.5/IBM.Data.DB2.dll
+lib/mono/4.5/ICSharpCode.SharpZipLib.dll
+lib/mono/4.5/MSBuild/Microsoft.Build.CommonTypes.xsd
+lib/mono/4.5/MSBuild/Microsoft.Build.Core.xsd
+lib/mono/4.5/Microsoft.Build.Engine.dll
+lib/mono/4.5/Microsoft.Build.Framework.dll
+lib/mono/4.5/Microsoft.Build.Tasks.v4.0.dll
+lib/mono/4.5/Microsoft.Build.Utilities.v4.0.dll
+lib/mono/4.5/Microsoft.Build.dll
+lib/mono/4.5/Microsoft.Build.xsd
+lib/mono/4.5/Microsoft.CSharp.dll
+lib/mono/4.5/Microsoft.CSharp.targets
+lib/mono/4.5/Microsoft.Common.targets
+lib/mono/4.5/Microsoft.Common.tasks
+lib/mono/4.5/Microsoft.VisualBasic.targets
+lib/mono/4.5/Microsoft.VisualC.dll
+lib/mono/4.5/Microsoft.Web.Infrastructure.dll
+lib/mono/4.5/Mono.C5.dll
+lib/mono/4.5/Mono.CSharp.dll
+lib/mono/4.5/Mono.Cairo.dll
+lib/mono/4.5/Mono.CodeContracts.dll
+lib/mono/4.5/Mono.CompilerServices.SymbolWriter.dll
+lib/mono/4.5/Mono.Data.Sqlite.dll
+lib/mono/4.5/Mono.Data.Tds.dll
+lib/mono/4.5/Mono.Debugger.Soft.dll
+lib/mono/4.5/Mono.Http.dll
+lib/mono/4.5/Mono.Management.dll
+lib/mono/4.5/Mono.Messaging.RabbitMQ.dll
+lib/mono/4.5/Mono.Messaging.dll
+lib/mono/4.5/Mono.Parallel.dll
+lib/mono/4.5/Mono.Posix.dll
+lib/mono/4.5/Mono.Security.Win32.dll
+lib/mono/4.5/Mono.Security.dll
+lib/mono/4.5/Mono.Simd.dll
+lib/mono/4.5/Mono.Tasklets.dll
+lib/mono/4.5/Mono.WebBrowser.dll
+lib/mono/4.5/Mono.XBuild.Tasks.dll
+lib/mono/4.5/Novell.Directory.Ldap.dll
+lib/mono/4.5/PEAPI.dll
+lib/mono/4.5/RabbitMQ.Client.Apigen.exe
+lib/mono/4.5/RabbitMQ.Client.Apigen.exe.mdb
+lib/mono/4.5/RabbitMQ.Client.dll
+lib/mono/4.5/System.ComponentModel.Composition.dll
+lib/mono/4.5/System.ComponentModel.DataAnnotations.dll
+lib/mono/4.5/System.Configuration.Install.dll
+lib/mono/4.5/System.Configuration.dll
+lib/mono/4.5/System.Core.dll
+lib/mono/4.5/System.Data.DataSetExtensions.dll
+lib/mono/4.5/System.Data.Entity.dll
+lib/mono/4.5/System.Data.Linq.dll
+lib/mono/4.5/System.Data.OracleClient.dll
+lib/mono/4.5/System.Data.Services.Client.dll
+lib/mono/4.5/System.Data.Services.dll
+lib/mono/4.5/System.Data.dll
+lib/mono/4.5/System.Design.dll
+lib/mono/4.5/System.DirectoryServices.Protocols.dll
+lib/mono/4.5/System.DirectoryServices.dll
+lib/mono/4.5/System.Drawing.Design.dll
+lib/mono/4.5/System.Drawing.dll
+lib/mono/4.5/System.Dynamic.dll
+lib/mono/4.5/System.EnterpriseServices.dll
+lib/mono/4.5/System.IO.Compression.FileSystem.dll
+lib/mono/4.5/System.IO.Compression.dll
+lib/mono/4.5/System.IdentityModel.Selectors.dll
+lib/mono/4.5/System.IdentityModel.dll
+lib/mono/4.5/System.Json.Microsoft.dll
+lib/mono/4.5/System.Json.dll
+lib/mono/4.5/System.Management.dll
+lib/mono/4.5/System.Messaging.dll
+lib/mono/4.5/System.Net.Http.Formatting.dll
+lib/mono/4.5/System.Net.Http.WebRequest.dll
+lib/mono/4.5/System.Net.Http.dll
+lib/mono/4.5/System.Net.dll
+lib/mono/4.5/System.Numerics.dll
+lib/mono/4.5/System.Reactive.Core.dll
+lib/mono/4.5/System.Reactive.Debugger.dll
+lib/mono/4.5/System.Reactive.Experimental.dll
+lib/mono/4.5/System.Reactive.Interfaces.dll
+lib/mono/4.5/System.Reactive.Linq.dll
+lib/mono/4.5/System.Reactive.Observable.Aliases.dll
+lib/mono/4.5/System.Reactive.PlatformServices.dll
+lib/mono/4.5/System.Reactive.Providers.dll
+lib/mono/4.5/System.Reactive.Runtime.Remoting.dll
+lib/mono/4.5/System.Reactive.Windows.Forms.dll
+lib/mono/4.5/System.Reactive.Windows.Threading.dll
+lib/mono/4.5/System.Runtime.Caching.dll
+lib/mono/4.5/System.Runtime.DurableInstancing.dll
+lib/mono/4.5/System.Runtime.Remoting.dll
+lib/mono/4.5/System.Runtime.Serialization.Formatters.Soap.dll
+lib/mono/4.5/System.Runtime.Serialization.dll
+lib/mono/4.5/System.Security.dll
+lib/mono/4.5/System.ServiceModel.Activation.dll
+lib/mono/4.5/System.ServiceModel.Discovery.dll
+lib/mono/4.5/System.ServiceModel.Routing.dll
+lib/mono/4.5/System.ServiceModel.Web.dll
+lib/mono/4.5/System.ServiceModel.dll
+lib/mono/4.5/System.ServiceProcess.dll
+lib/mono/4.5/System.Threading.Tasks.Dataflow.dll
+lib/mono/4.5/System.Transactions.dll
+lib/mono/4.5/System.Web.Abstractions.dll
+lib/mono/4.5/System.Web.ApplicationServices.dll
+lib/mono/4.5/System.Web.DynamicData.dll
+lib/mono/4.5/System.Web.Extensions.Design.dll
+lib/mono/4.5/System.Web.Extensions.dll
+lib/mono/4.5/System.Web.Http.SelfHost.dll
+lib/mono/4.5/System.Web.Http.WebHost.dll
+lib/mono/4.5/System.Web.Http.dll
+lib/mono/4.5/System.Web.Mvc.dll
+lib/mono/4.5/System.Web.Razor.dll
+lib/mono/4.5/System.Web.Routing.dll
+lib/mono/4.5/System.Web.Services.dll
+lib/mono/4.5/System.Web.WebPages.Deployment.dll
+lib/mono/4.5/System.Web.WebPages.Razor.dll
+lib/mono/4.5/System.Web.WebPages.dll
+lib/mono/4.5/System.Web.dll
+lib/mono/4.5/System.Windows.Forms.DataVisualization.dll
+lib/mono/4.5/System.Windows.Forms.dll
+lib/mono/4.5/System.Windows.dll
+lib/mono/4.5/System.Xaml.dll
+lib/mono/4.5/System.Xml.Linq.dll
+lib/mono/4.5/System.Xml.Serialization.dll
+lib/mono/4.5/System.Xml.dll
+lib/mono/4.5/System.dll
+lib/mono/4.5/WebMatrix.Data.dll
+lib/mono/4.5/WindowsBase.dll
+lib/mono/4.5/al.exe
+lib/mono/4.5/al.exe.mdb
+lib/mono/4.5/browsercaps-updater.exe
+lib/mono/4.5/browsercaps-updater.exe.mdb
+lib/mono/4.5/caspol.exe
+lib/mono/4.5/caspol.exe.mdb
+lib/mono/4.5/cccheck.exe
+lib/mono/4.5/cccheck.exe.mdb
+lib/mono/4.5/ccrewrite.exe
+lib/mono/4.5/ccrewrite.exe.mdb
+lib/mono/4.5/cert-sync.exe
+lib/mono/4.5/cert-sync.exe.mdb
+lib/mono/4.5/cert2spc.exe
+lib/mono/4.5/cert2spc.exe.mdb
+lib/mono/4.5/certmgr.exe
+lib/mono/4.5/certmgr.exe.mdb
+lib/mono/4.5/chktrust.exe
+lib/mono/4.5/chktrust.exe.mdb
+lib/mono/4.5/crlupdate.exe
+lib/mono/4.5/crlupdate.exe.mdb
+lib/mono/4.5/cscompmgd.dll
+lib/mono/4.5/csharp.exe
+lib/mono/4.5/csharp.exe.mdb
+lib/mono/4.5/culevel.exe
+lib/mono/4.5/culevel.exe.mdb
+lib/mono/4.5/disco.exe
+lib/mono/4.5/disco.exe.mdb
+lib/mono/4.5/dtd2rng.exe
+lib/mono/4.5/dtd2rng.exe.mdb
+lib/mono/4.5/dtd2xsd.exe
+lib/mono/4.5/dtd2xsd.exe.mdb
+lib/mono/4.5/gacutil.exe
+lib/mono/4.5/gacutil.exe.mdb
+lib/mono/4.5/genxs.exe
+lib/mono/4.5/genxs.exe.mdb
+lib/mono/4.5/httpcfg.exe
+lib/mono/4.5/httpcfg.exe.mdb
+lib/mono/4.5/ictool.exe
+lib/mono/4.5/ictool.exe.mdb
+lib/mono/4.5/ikdasm.exe
+lib/mono/4.5/ikdasm.exe.mdb
+lib/mono/4.5/ilasm.exe
+lib/mono/4.5/ilasm.exe.mdb
+lib/mono/4.5/installutil.exe
+lib/mono/4.5/installutil.exe.mdb
+lib/mono/4.5/installvst.exe
+lib/mono/4.5/installvst.exe.mdb
+lib/mono/4.5/lc.exe
+lib/mono/4.5/lc.exe.mdb
+lib/mono/4.5/macpack.exe
+lib/mono/4.5/macpack.exe.mdb
+lib/mono/4.5/makecert.exe
+lib/mono/4.5/makecert.exe.mdb
+lib/mono/4.5/mconfig.exe
+lib/mono/4.5/mconfig.exe.mdb
+lib/mono/4.5/mcs.exe
+lib/mono/4.5/mcs.exe.mdb
+lib/mono/4.5/mdbrebase.exe
+lib/mono/4.5/mdbrebase.exe.mdb
+lib/mono/4.5/mdoc.exe
+lib/mono/4.5/mdoc.exe.mdb
+lib/mono/4.5/mkbundle.exe
+lib/mono/4.5/mkbundle.exe.mdb
+lib/mono/4.5/mod.exe
+lib/mono/4.5/mod.exe.mdb
+lib/mono/4.5/mono-api-info.exe
+lib/mono/4.5/mono-cil-strip.exe
+lib/mono/4.5/mono-cil-strip.exe.mdb
+lib/mono/4.5/mono-service.exe
+lib/mono/4.5/mono-service.exe.mdb
+lib/mono/4.5/mono-shlib-cop.exe
+lib/mono/4.5/mono-shlib-cop.exe.config
+lib/mono/4.5/mono-shlib-cop.exe.mdb
+lib/mono/4.5/mono-xmltool.exe
+lib/mono/4.5/mono-xmltool.exe.mdb
+lib/mono/4.5/monolinker.exe
+lib/mono/4.5/monolinker.exe.mdb
+lib/mono/4.5/monop.exe
+lib/mono/4.5/monop.exe.mdb
+lib/mono/4.5/mozroots.exe
+lib/mono/4.5/mozroots.exe.mdb
+lib/mono/4.5/mscorlib.dll
+lib/mono/4.5/mscorlib.dll.mdb
+lib/mono/4.5/nunit-console-runner.dll
+lib/mono/4.5/nunit-console.exe
+lib/mono/4.5/nunit-console.exe.config
+lib/mono/4.5/nunit-console.exe.mdb
+lib/mono/4.5/nunit.core.dll
+lib/mono/4.5/nunit.core.extensions.dll
+lib/mono/4.5/nunit.core.interfaces.dll
+lib/mono/4.5/nunit.framework.dll
+lib/mono/4.5/nunit.framework.extensions.dll
+lib/mono/4.5/nunit.mocks.dll
+lib/mono/4.5/nunit.util.dll
+lib/mono/4.5/pdb2mdb.exe
+lib/mono/4.5/pdb2mdb.exe.mdb
+lib/mono/4.5/permview.exe
+lib/mono/4.5/permview.exe.mdb
+lib/mono/4.5/resgen.exe
+lib/mono/4.5/resgen.exe.mdb
+lib/mono/4.5/secutil.exe
+lib/mono/4.5/secutil.exe.mdb
+lib/mono/4.5/setreg.exe
+lib/mono/4.5/setreg.exe.mdb
+lib/mono/4.5/sgen.exe
+lib/mono/4.5/sgen.exe.mdb
+lib/mono/4.5/signcode.exe
+lib/mono/4.5/signcode.exe.mdb
+lib/mono/4.5/sn.exe
+lib/mono/4.5/sn.exe.mdb
+lib/mono/4.5/soapsuds.exe
+lib/mono/4.5/soapsuds.exe.mdb
+lib/mono/4.5/sqlmetal.exe
+lib/mono/4.5/sqlmetal.exe.config
+lib/mono/4.5/sqlmetal.exe.mdb
+lib/mono/4.5/sqlsharp.exe
+lib/mono/4.5/sqlsharp.exe.mdb
+lib/mono/4.5/svcutil.exe
+lib/mono/4.5/svcutil.exe.mdb
+lib/mono/4.5/symbolicate.exe
+lib/mono/4.5/symbolicate.exe.mdb
+lib/mono/4.5/wsdl.exe
+lib/mono/4.5/wsdl.exe.mdb
+lib/mono/4.5/xbuild.exe
+lib/mono/4.5/xbuild.exe.config
+lib/mono/4.5/xbuild.exe.mdb
+lib/mono/4.5/xbuild.rsp
+lib/mono/4.5/xsd.exe
+lib/mono/4.5/xsd.exe.mdb
+lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
+lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.mdb
+lib/mono/gac/Commons.Xml.Relaxng/4.0.0.0__0738eb9f132ed756/Commons.Xml.Relaxng.dll
+lib/mono/gac/Commons.Xml.Relaxng/4.0.0.0__0738eb9f132ed756/Commons.Xml.Relaxng.dll.mdb
+lib/mono/gac/CustomMarshalers/4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
+lib/mono/gac/CustomMarshalers/4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll.mdb
+lib/mono/gac/I18N.CJK/4.0.0.0__0738eb9f132ed756/I18N.CJK.dll
+lib/mono/gac/I18N.CJK/4.0.0.0__0738eb9f132ed756/I18N.CJK.dll.mdb
+lib/mono/gac/I18N.MidEast/4.0.0.0__0738eb9f132ed756/I18N.MidEast.dll
+lib/mono/gac/I18N.MidEast/4.0.0.0__0738eb9f132ed756/I18N.MidEast.dll.mdb
+lib/mono/gac/I18N.Other/4.0.0.0__0738eb9f132ed756/I18N.Other.dll
+lib/mono/gac/I18N.Other/4.0.0.0__0738eb9f132ed756/I18N.Other.dll.mdb
+lib/mono/gac/I18N.Rare/4.0.0.0__0738eb9f132ed756/I18N.Rare.dll
+lib/mono/gac/I18N.Rare/4.0.0.0__0738eb9f132ed756/I18N.Rare.dll.mdb
+lib/mono/gac/I18N.West/4.0.0.0__0738eb9f132ed756/I18N.West.dll
+lib/mono/gac/I18N.West/4.0.0.0__0738eb9f132ed756/I18N.West.dll.mdb
+lib/mono/gac/I18N/4.0.0.0__0738eb9f132ed756/I18N.dll
+lib/mono/gac/I18N/4.0.0.0__0738eb9f132ed756/I18N.dll.mdb
+lib/mono/gac/IBM.Data.DB2/1.0.0.0__7c307b91aa13d208/IBM.Data.DB2.dll
+lib/mono/gac/IBM.Data.DB2/1.0.0.0__7c307b91aa13d208/IBM.Data.DB2.dll.mdb
+lib/mono/gac/ICSharpCode.SharpZipLib/4.84.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll
+lib/mono/gac/ICSharpCode.SharpZipLib/4.84.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll.mdb
+lib/mono/gac/Microsoft.Build.Engine/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Engine.dll
+lib/mono/gac/Microsoft.Build.Engine/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Engine.dll.mdb
+lib/mono/gac/Microsoft.Build.Engine/14.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Engine.dll
+lib/mono/gac/Microsoft.Build.Engine/14.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Engine.dll.mdb
+lib/mono/gac/Microsoft.Build.Engine/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Engine.dll
+lib/mono/gac/Microsoft.Build.Engine/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Engine.dll.mdb
+lib/mono/gac/Microsoft.Build.Framework/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll
+lib/mono/gac/Microsoft.Build.Framework/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll.mdb
+lib/mono/gac/Microsoft.Build.Framework/14.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll
+lib/mono/gac/Microsoft.Build.Framework/14.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll.mdb
+lib/mono/gac/Microsoft.Build.Framework/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll
+lib/mono/gac/Microsoft.Build.Framework/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll.mdb
+lib/mono/gac/Microsoft.Build.Tasks.Core/14.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Tasks.Core.dll
+lib/mono/gac/Microsoft.Build.Tasks.Core/14.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Tasks.Core.dll.mdb
+lib/mono/gac/Microsoft.Build.Tasks.v12.0/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Tasks.v12.0.dll
+lib/mono/gac/Microsoft.Build.Tasks.v12.0/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Tasks.v12.0.dll.mdb
+lib/mono/gac/Microsoft.Build.Tasks.v4.0/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Tasks.v4.0.dll
+lib/mono/gac/Microsoft.Build.Tasks.v4.0/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Tasks.v4.0.dll.mdb
+lib/mono/gac/Microsoft.Build.Utilities.Core/14.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Utilities.Core.dll
+lib/mono/gac/Microsoft.Build.Utilities.Core/14.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Utilities.Core.dll.mdb
+lib/mono/gac/Microsoft.Build.Utilities.v12.0/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Utilities.v12.0.dll
+lib/mono/gac/Microsoft.Build.Utilities.v12.0/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Utilities.v12.0.dll.mdb
+lib/mono/gac/Microsoft.Build.Utilities.v4.0/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Utilities.v4.0.dll
+lib/mono/gac/Microsoft.Build.Utilities.v4.0/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Utilities.v4.0.dll.mdb
+lib/mono/gac/Microsoft.Build/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.dll
+lib/mono/gac/Microsoft.Build/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.dll.mdb
+lib/mono/gac/Microsoft.Build/14.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.dll
+lib/mono/gac/Microsoft.Build/14.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.dll.mdb
+lib/mono/gac/Microsoft.Build/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.dll
+lib/mono/gac/Microsoft.Build/4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.dll.mdb
+lib/mono/gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
+lib/mono/gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll.mdb
+lib/mono/gac/Microsoft.VisualC/0.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
+lib/mono/gac/Microsoft.VisualC/0.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll.mdb
+lib/mono/gac/Microsoft.Web.Infrastructure/1.0.0.0__31bf3856ad364e35/Microsoft.Web.Infrastructure.dll
+lib/mono/gac/Microsoft.Web.Infrastructure/1.0.0.0__31bf3856ad364e35/Microsoft.Web.Infrastructure.dll.mdb
+lib/mono/gac/Mono.C5/1.1.1.0__ba07f434b1c35cbd/Mono.C5.dll
+lib/mono/gac/Mono.C5/1.1.1.0__ba07f434b1c35cbd/Mono.C5.dll.mdb
+lib/mono/gac/Mono.CSharp/4.0.0.0__0738eb9f132ed756/Mono.CSharp.dll
+lib/mono/gac/Mono.CSharp/4.0.0.0__0738eb9f132ed756/Mono.CSharp.dll.mdb
+lib/mono/gac/Mono.Cairo/4.0.0.0__0738eb9f132ed756/Mono.Cairo.dll
+lib/mono/gac/Mono.Cairo/4.0.0.0__0738eb9f132ed756/Mono.Cairo.dll.mdb
+lib/mono/gac/Mono.Cecil/0.9.5.0__0738eb9f132ed756/Mono.Cecil.dll
+lib/mono/gac/Mono.Cecil/0.9.5.0__0738eb9f132ed756/Mono.Cecil.dll.mdb
+lib/mono/gac/Mono.CodeContracts/4.0.0.0__0738eb9f132ed756/Mono.CodeContracts.dll
+lib/mono/gac/Mono.CodeContracts/4.0.0.0__0738eb9f132ed756/Mono.CodeContracts.dll.mdb
+lib/mono/gac/Mono.CompilerServices.SymbolWriter/4.0.0.0__0738eb9f132ed756/Mono.CompilerServices.SymbolWriter.dll
+lib/mono/gac/Mono.CompilerServices.SymbolWriter/4.0.0.0__0738eb9f132ed756/Mono.CompilerServices.SymbolWriter.dll.mdb
+lib/mono/gac/Mono.Data.Sqlite/4.0.0.0__0738eb9f132ed756/Mono.Data.Sqlite.dll
+lib/mono/gac/Mono.Data.Sqlite/4.0.0.0__0738eb9f132ed756/Mono.Data.Sqlite.dll.mdb
+lib/mono/gac/Mono.Data.Tds/4.0.0.0__0738eb9f132ed756/Mono.Data.Tds.dll
+lib/mono/gac/Mono.Data.Tds/4.0.0.0__0738eb9f132ed756/Mono.Data.Tds.dll.mdb
+lib/mono/gac/Mono.Debugger.Soft/4.0.0.0__0738eb9f132ed756/Mono.Debugger.Soft.dll
+lib/mono/gac/Mono.Debugger.Soft/4.0.0.0__0738eb9f132ed756/Mono.Debugger.Soft.dll.mdb
+lib/mono/gac/Mono.Http/4.0.0.0__0738eb9f132ed756/Mono.Http.dll
+lib/mono/gac/Mono.Http/4.0.0.0__0738eb9f132ed756/Mono.Http.dll.mdb
+lib/mono/gac/Mono.Management/4.0.0.0__0738eb9f132ed756/Mono.Management.dll
+lib/mono/gac/Mono.Management/4.0.0.0__0738eb9f132ed756/Mono.Management.dll.mdb
+lib/mono/gac/Mono.Messaging.RabbitMQ/4.0.0.0__0738eb9f132ed756/Mono.Messaging.RabbitMQ.dll
+lib/mono/gac/Mono.Messaging.RabbitMQ/4.0.0.0__0738eb9f132ed756/Mono.Messaging.RabbitMQ.dll.mdb
+lib/mono/gac/Mono.Messaging/4.0.0.0__0738eb9f132ed756/Mono.Messaging.dll
+lib/mono/gac/Mono.Messaging/4.0.0.0__0738eb9f132ed756/Mono.Messaging.dll.mdb
+lib/mono/gac/Mono.Parallel/4.0.0.0__0738eb9f132ed756/Mono.Parallel.dll
+lib/mono/gac/Mono.Parallel/4.0.0.0__0738eb9f132ed756/Mono.Parallel.dll.mdb
+lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll
+lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll.mdb
+lib/mono/gac/Mono.Security.Win32/4.0.0.0__0738eb9f132ed756/Mono.Security.Win32.dll
+lib/mono/gac/Mono.Security.Win32/4.0.0.0__0738eb9f132ed756/Mono.Security.Win32.dll.mdb
+lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll
+lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll.mdb
+lib/mono/gac/Mono.Simd/4.0.0.0__0738eb9f132ed756/Mono.Simd.dll
+lib/mono/gac/Mono.Simd/4.0.0.0__0738eb9f132ed756/Mono.Simd.dll.mdb
+lib/mono/gac/Mono.Tasklets/4.0.0.0__0738eb9f132ed756/Mono.Tasklets.dll
+lib/mono/gac/Mono.Tasklets/4.0.0.0__0738eb9f132ed756/Mono.Tasklets.dll.mdb
+lib/mono/gac/Mono.WebBrowser/4.0.0.0__0738eb9f132ed756/Mono.WebBrowser.dll
+lib/mono/gac/Mono.WebBrowser/4.0.0.0__0738eb9f132ed756/Mono.WebBrowser.dll.mdb
+lib/mono/gac/Mono.XBuild.Tasks/12.0.0.0__0738eb9f132ed756/Mono.XBuild.Tasks.dll
+lib/mono/gac/Mono.XBuild.Tasks/12.0.0.0__0738eb9f132ed756/Mono.XBuild.Tasks.dll.mdb
+lib/mono/gac/Mono.XBuild.Tasks/14.0.0.0__0738eb9f132ed756/Mono.XBuild.Tasks.dll
+lib/mono/gac/Mono.XBuild.Tasks/14.0.0.0__0738eb9f132ed756/Mono.XBuild.Tasks.dll.mdb
+lib/mono/gac/Mono.XBuild.Tasks/4.0.0.0__0738eb9f132ed756/Mono.XBuild.Tasks.dll
+lib/mono/gac/Mono.XBuild.Tasks/4.0.0.0__0738eb9f132ed756/Mono.XBuild.Tasks.dll.mdb
+lib/mono/gac/Novell.Directory.Ldap/4.0.0.0__0738eb9f132ed756/Novell.Directory.Ldap.dll
+lib/mono/gac/Novell.Directory.Ldap/4.0.0.0__0738eb9f132ed756/Novell.Directory.Ldap.dll.mdb
+lib/mono/gac/PEAPI/4.0.0.0__0738eb9f132ed756/PEAPI.dll
+lib/mono/gac/PEAPI/4.0.0.0__0738eb9f132ed756/PEAPI.dll.mdb
+lib/mono/gac/RabbitMQ.Client/4.0.0.0__b03f5f7f11d50a3a/RabbitMQ.Client.dll
+lib/mono/gac/RabbitMQ.Client/4.0.0.0__b03f5f7f11d50a3a/RabbitMQ.Client.dll.mdb
+lib/mono/gac/System.ComponentModel.Composition/4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll
+lib/mono/gac/System.ComponentModel.Composition/4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll.mdb
+lib/mono/gac/System.ComponentModel.DataAnnotations/4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
+lib/mono/gac/System.ComponentModel.DataAnnotations/4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll.mdb
+lib/mono/gac/System.Configuration.Install/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll
+lib/mono/gac/System.Configuration.Install/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll.mdb
+lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
+lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.mdb
+lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll
+lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll.mdb
+lib/mono/gac/System.Data.DataSetExtensions/4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
+lib/mono/gac/System.Data.DataSetExtensions/4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll.mdb
+lib/mono/gac/System.Data.Entity/4.0.0.0__b77a5c561934e089/System.Data.Entity.dll
+lib/mono/gac/System.Data.Entity/4.0.0.0__b77a5c561934e089/System.Data.Entity.dll.mdb
+lib/mono/gac/System.Data.Linq/4.0.0.0__b77a5c561934e089/System.Data.Linq.dll
+lib/mono/gac/System.Data.Linq/4.0.0.0__b77a5c561934e089/System.Data.Linq.dll.mdb
+lib/mono/gac/System.Data.OracleClient/4.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll
+lib/mono/gac/System.Data.OracleClient/4.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll.mdb
+lib/mono/gac/System.Data.Services.Client/4.0.0.0__b77a5c561934e089/System.Data.Services.Client.dll
+lib/mono/gac/System.Data.Services.Client/4.0.0.0__b77a5c561934e089/System.Data.Services.Client.dll.mdb
+lib/mono/gac/System.Data.Services/4.0.0.0__b77a5c561934e089/System.Data.Services.dll
+lib/mono/gac/System.Data.Services/4.0.0.0__b77a5c561934e089/System.Data.Services.dll.mdb
+lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll
+lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll.mdb
+lib/mono/gac/System.Design/4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
+lib/mono/gac/System.Design/4.0.0.0__b03f5f7f11d50a3a/System.Design.dll.mdb
+lib/mono/gac/System.DirectoryServices.Protocols/4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.Protocols.dll
+lib/mono/gac/System.DirectoryServices.Protocols/4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.Protocols.dll.mdb
+lib/mono/gac/System.DirectoryServices/4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
+lib/mono/gac/System.DirectoryServices/4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll.mdb
+lib/mono/gac/System.Drawing.Design/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
+lib/mono/gac/System.Drawing.Design/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll.mdb
+lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
+lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.mdb
+lib/mono/gac/System.Dynamic/4.0.0.0__b77a5c561934e089/System.Dynamic.dll
+lib/mono/gac/System.Dynamic/4.0.0.0__b77a5c561934e089/System.Dynamic.dll.mdb
+lib/mono/gac/System.EnterpriseServices/4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
+lib/mono/gac/System.EnterpriseServices/4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll.mdb
+lib/mono/gac/System.IO.Compression.FileSystem/4.0.0.0__b77a5c561934e089/System.IO.Compression.FileSystem.dll
+lib/mono/gac/System.IO.Compression.FileSystem/4.0.0.0__b77a5c561934e089/System.IO.Compression.FileSystem.dll.mdb
+lib/mono/gac/System.IO.Compression/4.0.0.0__b77a5c561934e089/System.IO.Compression.dll
+lib/mono/gac/System.IO.Compression/4.0.0.0__b77a5c561934e089/System.IO.Compression.dll.mdb
+lib/mono/gac/System.IdentityModel.Selectors/4.0.0.0__b77a5c561934e089/System.IdentityModel.Selectors.dll
+lib/mono/gac/System.IdentityModel.Selectors/4.0.0.0__b77a5c561934e089/System.IdentityModel.Selectors.dll.mdb
+lib/mono/gac/System.IdentityModel/4.0.0.0__b77a5c561934e089/System.IdentityModel.dll
+lib/mono/gac/System.IdentityModel/4.0.0.0__b77a5c561934e089/System.IdentityModel.dll.mdb
+lib/mono/gac/System.Json.Microsoft/4.0.0.0__31bf3856ad364e35/System.Json.Microsoft.dll
+lib/mono/gac/System.Json.Microsoft/4.0.0.0__31bf3856ad364e35/System.Json.Microsoft.dll.mdb
+lib/mono/gac/System.Json/4.0.0.0__31bf3856ad364e35/System.Json.dll
+lib/mono/gac/System.Json/4.0.0.0__31bf3856ad364e35/System.Json.dll.mdb
+lib/mono/gac/System.Management/4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
+lib/mono/gac/System.Management/4.0.0.0__b03f5f7f11d50a3a/System.Management.dll.mdb
+lib/mono/gac/System.Messaging/4.0.0.0__b03f5f7f11d50a3a/System.Messaging.dll
+lib/mono/gac/System.Messaging/4.0.0.0__b03f5f7f11d50a3a/System.Messaging.dll.mdb
+lib/mono/gac/System.Net.Http.Formatting/4.0.0.0__31bf3856ad364e35/System.Net.Http.Formatting.dll
+lib/mono/gac/System.Net.Http.Formatting/4.0.0.0__31bf3856ad364e35/System.Net.Http.Formatting.dll.mdb
+lib/mono/gac/System.Net.Http.WebRequest/4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.WebRequest.dll
+lib/mono/gac/System.Net.Http.WebRequest/4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.WebRequest.dll.mdb
+lib/mono/gac/System.Net.Http/4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
+lib/mono/gac/System.Net.Http/4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll.mdb
+lib/mono/gac/System.Net/4.0.0.0__b03f5f7f11d50a3a/System.Net.dll
+lib/mono/gac/System.Net/4.0.0.0__b03f5f7f11d50a3a/System.Net.dll.mdb
+lib/mono/gac/System.Numerics/4.0.0.0__b77a5c561934e089/System.Numerics.dll
+lib/mono/gac/System.Numerics/4.0.0.0__b77a5c561934e089/System.Numerics.dll.mdb
+lib/mono/gac/System.Reactive.Core/2.2.0.0__31bf3856ad364e35/System.Reactive.Core.dll
+lib/mono/gac/System.Reactive.Core/2.2.0.0__31bf3856ad364e35/System.Reactive.Core.dll.mdb
+lib/mono/gac/System.Reactive.Debugger/2.2.0.0__31bf3856ad364e35/System.Reactive.Debugger.dll
+lib/mono/gac/System.Reactive.Debugger/2.2.0.0__31bf3856ad364e35/System.Reactive.Debugger.dll.mdb
+lib/mono/gac/System.Reactive.Experimental/2.2.0.0__31bf3856ad364e35/System.Reactive.Experimental.dll
+lib/mono/gac/System.Reactive.Experimental/2.2.0.0__31bf3856ad364e35/System.Reactive.Experimental.dll.mdb
+lib/mono/gac/System.Reactive.Interfaces/2.2.0.0__31bf3856ad364e35/System.Reactive.Interfaces.dll
+lib/mono/gac/System.Reactive.Interfaces/2.2.0.0__31bf3856ad364e35/System.Reactive.Interfaces.dll.mdb
+lib/mono/gac/System.Reactive.Linq/2.2.0.0__31bf3856ad364e35/System.Reactive.Linq.dll
+lib/mono/gac/System.Reactive.Linq/2.2.0.0__31bf3856ad364e35/System.Reactive.Linq.dll.mdb
+lib/mono/gac/System.Reactive.Observable.Aliases/0.0.0.0__31bf3856ad364e35/System.Reactive.Observable.Aliases.dll
+lib/mono/gac/System.Reactive.Observable.Aliases/0.0.0.0__31bf3856ad364e35/System.Reactive.Observable.Aliases.dll.mdb
+lib/mono/gac/System.Reactive.PlatformServices/2.2.0.0__31bf3856ad364e35/System.Reactive.PlatformServices.dll
+lib/mono/gac/System.Reactive.PlatformServices/2.2.0.0__31bf3856ad364e35/System.Reactive.PlatformServices.dll.mdb
+lib/mono/gac/System.Reactive.Providers/2.2.0.0__31bf3856ad364e35/System.Reactive.Providers.dll
+lib/mono/gac/System.Reactive.Providers/2.2.0.0__31bf3856ad364e35/System.Reactive.Providers.dll.mdb
+lib/mono/gac/System.Reactive.Runtime.Remoting/2.2.0.0__31bf3856ad364e35/System.Reactive.Runtime.Remoting.dll
+lib/mono/gac/System.Reactive.Runtime.Remoting/2.2.0.0__31bf3856ad364e35/System.Reactive.Runtime.Remoting.dll.mdb
+lib/mono/gac/System.Reactive.Windows.Forms/2.2.0.0__31bf3856ad364e35/System.Reactive.Windows.Forms.dll
+lib/mono/gac/System.Reactive.Windows.Forms/2.2.0.0__31bf3856ad364e35/System.Reactive.Windows.Forms.dll.mdb
+lib/mono/gac/System.Reactive.Windows.Threading/2.2.0.0__31bf3856ad364e35/System.Reactive.Windows.Threading.dll
+lib/mono/gac/System.Reactive.Windows.Threading/2.2.0.0__31bf3856ad364e35/System.Reactive.Windows.Threading.dll.mdb
+lib/mono/gac/System.Runtime.Caching/4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll
+lib/mono/gac/System.Runtime.Caching/4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll.mdb
+lib/mono/gac/System.Runtime.DurableInstancing/4.0.0.0__31bf3856ad364e35/System.Runtime.DurableInstancing.dll
+lib/mono/gac/System.Runtime.DurableInstancing/4.0.0.0__31bf3856ad364e35/System.Runtime.DurableInstancing.dll.mdb
+lib/mono/gac/System.Runtime.Remoting/4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
+lib/mono/gac/System.Runtime.Remoting/4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll.mdb
+lib/mono/gac/System.Runtime.Serialization.Formatters.Soap/4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
+lib/mono/gac/System.Runtime.Serialization.Formatters.Soap/4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll.mdb
+lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
+lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll.mdb
+lib/mono/gac/System.Security/4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
+lib/mono/gac/System.Security/4.0.0.0__b03f5f7f11d50a3a/System.Security.dll.mdb
+lib/mono/gac/System.ServiceModel.Activation/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Activation.dll
+lib/mono/gac/System.ServiceModel.Activation/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Activation.dll.mdb
+lib/mono/gac/System.ServiceModel.Discovery/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Discovery.dll
+lib/mono/gac/System.ServiceModel.Discovery/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Discovery.dll.mdb
+lib/mono/gac/System.ServiceModel.Routing/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Routing.dll
+lib/mono/gac/System.ServiceModel.Routing/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Routing.dll.mdb
+lib/mono/gac/System.ServiceModel.Web/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll
+lib/mono/gac/System.ServiceModel.Web/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll.mdb
+lib/mono/gac/System.ServiceModel/4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
+lib/mono/gac/System.ServiceModel/4.0.0.0__b77a5c561934e089/System.ServiceModel.dll.mdb
+lib/mono/gac/System.ServiceProcess/4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
+lib/mono/gac/System.ServiceProcess/4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll.mdb
+lib/mono/gac/System.Threading.Tasks.Dataflow/4.0.0.0__b77a5c561934e089/System.Threading.Tasks.Dataflow.dll
+lib/mono/gac/System.Threading.Tasks.Dataflow/4.0.0.0__b77a5c561934e089/System.Threading.Tasks.Dataflow.dll.mdb
+lib/mono/gac/System.Transactions/4.0.0.0__b77a5c561934e089/System.Transactions.dll
+lib/mono/gac/System.Transactions/4.0.0.0__b77a5c561934e089/System.Transactions.dll.mdb
+lib/mono/gac/System.Web.Abstractions/4.0.0.0__31bf3856ad364e35/System.Web.Abstractions.dll
+lib/mono/gac/System.Web.Abstractions/4.0.0.0__31bf3856ad364e35/System.Web.Abstractions.dll.mdb
+lib/mono/gac/System.Web.ApplicationServices/4.0.0.0__31bf3856ad364e35/System.Web.ApplicationServices.dll
+lib/mono/gac/System.Web.ApplicationServices/4.0.0.0__31bf3856ad364e35/System.Web.ApplicationServices.dll.mdb
+lib/mono/gac/System.Web.DynamicData/4.0.0.0__31bf3856ad364e35/System.Web.DynamicData.dll
+lib/mono/gac/System.Web.DynamicData/4.0.0.0__31bf3856ad364e35/System.Web.DynamicData.dll.mdb
+lib/mono/gac/System.Web.Extensions.Design/4.0.0.0__31bf3856ad364e35/System.Web.Extensions.Design.dll
+lib/mono/gac/System.Web.Extensions.Design/4.0.0.0__31bf3856ad364e35/System.Web.Extensions.Design.dll.mdb
+lib/mono/gac/System.Web.Extensions/4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll
+lib/mono/gac/System.Web.Extensions/4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll.mdb
+lib/mono/gac/System.Web.Http.SelfHost/4.0.0.0__31bf3856ad364e35/System.Web.Http.SelfHost.dll
+lib/mono/gac/System.Web.Http.SelfHost/4.0.0.0__31bf3856ad364e35/System.Web.Http.SelfHost.dll.mdb
+lib/mono/gac/System.Web.Http.WebHost/4.0.0.0__31bf3856ad364e35/System.Web.Http.WebHost.dll
+lib/mono/gac/System.Web.Http.WebHost/4.0.0.0__31bf3856ad364e35/System.Web.Http.WebHost.dll.mdb
+lib/mono/gac/System.Web.Http/4.0.0.0__31bf3856ad364e35/System.Web.Http.dll
+lib/mono/gac/System.Web.Http/4.0.0.0__31bf3856ad364e35/System.Web.Http.dll.mdb
+lib/mono/gac/System.Web.Mvc/3.0.0.0__31bf3856ad364e35/System.Web.Mvc.dll
+lib/mono/gac/System.Web.Mvc/3.0.0.0__31bf3856ad364e35/System.Web.Mvc.dll.mdb
+lib/mono/gac/System.Web.Razor/2.0.0.0__31bf3856ad364e35/System.Web.Razor.dll
+lib/mono/gac/System.Web.Razor/2.0.0.0__31bf3856ad364e35/System.Web.Razor.dll.mdb
+lib/mono/gac/System.Web.Routing/4.0.0.0__31bf3856ad364e35/System.Web.Routing.dll
+lib/mono/gac/System.Web.Routing/4.0.0.0__31bf3856ad364e35/System.Web.Routing.dll.mdb
+lib/mono/gac/System.Web.Services/4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
+lib/mono/gac/System.Web.Services/4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll.mdb
+lib/mono/gac/System.Web.WebPages.Deployment/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.Deployment.dll
+lib/mono/gac/System.Web.WebPages.Deployment/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.Deployment.dll.mdb
+lib/mono/gac/System.Web.WebPages.Razor/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.Razor.dll
+lib/mono/gac/System.Web.WebPages.Razor/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.Razor.dll.mdb
+lib/mono/gac/System.Web.WebPages/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.dll
+lib/mono/gac/System.Web.WebPages/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.dll.mdb
+lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
+lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll.mdb
+lib/mono/gac/System.Windows.Forms.DataVisualization/4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
+lib/mono/gac/System.Windows.Forms.DataVisualization/4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll.mdb
+lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
+lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.mdb
+lib/mono/gac/System.Windows/4.0.0.0__b03f5f7f11d50a3a/System.Windows.dll
+lib/mono/gac/System.Xaml/4.0.0.0__b77a5c561934e089/System.Xaml.dll
+lib/mono/gac/System.Xaml/4.0.0.0__b77a5c561934e089/System.Xaml.dll.mdb
+lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
+lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll.mdb
+lib/mono/gac/System.Xml.Serialization/4.0.0.0__b77a5c561934e089/System.Xml.Serialization.dll
+lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll
+lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll.mdb
+lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
+lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll.mdb
+lib/mono/gac/WebMatrix.Data/4.0.0.0__0738eb9f132ed756/WebMatrix.Data.dll
+lib/mono/gac/WebMatrix.Data/4.0.0.0__0738eb9f132ed756/WebMatrix.Data.dll.mdb
+lib/mono/gac/WindowsBase/4.0.0.0__31bf3856ad364e35/WindowsBase.dll
+lib/mono/gac/WindowsBase/4.0.0.0__31bf3856ad364e35/WindowsBase.dll.mdb
+lib/mono/gac/cscompmgd/0.0.0.0__b03f5f7f11d50a3a/cscompmgd.dll
+lib/mono/gac/cscompmgd/0.0.0.0__b03f5f7f11d50a3a/cscompmgd.dll.mdb
+lib/mono/gac/mono-service/4.0.0.0__0738eb9f132ed756/mono-service.exe
+lib/mono/gac/mono-service/4.0.0.0__0738eb9f132ed756/mono-service.exe.mdb
+lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll
+lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll.config
+lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll.mdb
+lib/mono/gac/nunit-console-runner/2.4.8.0__96d09a1eb7f44a77/nunit-console-runner.dll
+lib/mono/gac/nunit-console-runner/2.4.8.0__96d09a1eb7f44a77/nunit-console-runner.dll.mdb
+lib/mono/gac/nunit.core.extensions/2.4.8.0__96d09a1eb7f44a77/nunit.core.extensions.dll
+lib/mono/gac/nunit.core.extensions/2.4.8.0__96d09a1eb7f44a77/nunit.core.extensions.dll.mdb
+lib/mono/gac/nunit.core.interfaces/2.4.8.0__96d09a1eb7f44a77/nunit.core.interfaces.dll
+lib/mono/gac/nunit.core.interfaces/2.4.8.0__96d09a1eb7f44a77/nunit.core.interfaces.dll.mdb
+lib/mono/gac/nunit.core/2.4.8.0__96d09a1eb7f44a77/nunit.core.dll
+lib/mono/gac/nunit.core/2.4.8.0__96d09a1eb7f44a77/nunit.core.dll.mdb
+lib/mono/gac/nunit.framework.extensions/2.4.8.0__96d09a1eb7f44a77/nunit.framework.extensions.dll
+lib/mono/gac/nunit.framework.extensions/2.4.8.0__96d09a1eb7f44a77/nunit.framework.extensions.dll.mdb
+lib/mono/gac/nunit.framework/2.4.8.0__96d09a1eb7f44a77/nunit.framework.dll
+lib/mono/gac/nunit.framework/2.4.8.0__96d09a1eb7f44a77/nunit.framework.dll.mdb
+lib/mono/gac/nunit.mocks/2.4.8.0__96d09a1eb7f44a77/nunit.mocks.dll
+lib/mono/gac/nunit.mocks/2.4.8.0__96d09a1eb7f44a77/nunit.mocks.dll.mdb
+lib/mono/gac/nunit.util/2.4.8.0__96d09a1eb7f44a77/nunit.util.dll
+lib/mono/gac/nunit.util/2.4.8.0__96d09a1eb7f44a77/nunit.util.dll.mdb
+lib/mono/lldb/mono.py
+lib/mono/mono-configuration-crypto/4.5/Mono.Configuration.Crypto.dll
+lib/mono/mono-configuration-crypto/4.5/Mono.Configuration.Crypto.dll.mdb
+lib/mono/mono-configuration-crypto/4.5/mono-configuration-crypto.exe
+lib/mono/mono-configuration-crypto/4.5/mono-configuration-crypto.exe.mdb
+lib/mono/monodoc/monodoc.dll
+lib/mono/xbuild-frameworks/.NETFramework/v2.0/RedistList/FrameworkList.xml
+lib/mono/xbuild-frameworks/.NETFramework/v3.0/RedistList/FrameworkList.xml
+lib/mono/xbuild-frameworks/.NETFramework/v3.5/RedistList/FrameworkList.xml
+lib/mono/xbuild-frameworks/.NETFramework/v4.0/Profile/Client/RedistList/FrameworkList.xml
+lib/mono/xbuild-frameworks/.NETFramework/v4.0/RedistList/FrameworkList.xml
+lib/mono/xbuild-frameworks/.NETFramework/v4.5.1/RedistList/FrameworkList.xml
+lib/mono/xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml
+lib/mono/xbuild/12.0/bin/MSBuild/Microsoft.Build.CommonTypes.xsd
+lib/mono/xbuild/12.0/bin/MSBuild/Microsoft.Build.Core.xsd
+lib/mono/xbuild/12.0/bin/Microsoft.Build.Engine.dll
+lib/mono/xbuild/12.0/bin/Microsoft.Build.Framework.dll
+lib/mono/xbuild/12.0/bin/Microsoft.Build.Tasks.v12.0.dll
+lib/mono/xbuild/12.0/bin/Microsoft.Build.Utilities.v12.0.dll
+lib/mono/xbuild/12.0/bin/Microsoft.Build.dll
+lib/mono/xbuild/12.0/bin/Microsoft.Build.xsd
+lib/mono/xbuild/12.0/bin/Microsoft.CSharp.targets
+lib/mono/xbuild/12.0/bin/Microsoft.Common.targets
+lib/mono/xbuild/12.0/bin/Microsoft.Common.tasks
+lib/mono/xbuild/12.0/bin/Microsoft.VisualBasic.targets
+lib/mono/xbuild/12.0/bin/Mono.XBuild.Tasks.dll
+lib/mono/xbuild/12.0/bin/xbuild.exe
+lib/mono/xbuild/12.0/bin/xbuild.exe.config
+lib/mono/xbuild/12.0/bin/xbuild.exe.mdb
+lib/mono/xbuild/12.0/bin/xbuild.rsp
+lib/mono/xbuild/14.0/bin/MSBuild/Microsoft.Build.CommonTypes.xsd
+lib/mono/xbuild/14.0/bin/MSBuild/Microsoft.Build.Core.xsd
+lib/mono/xbuild/14.0/bin/Microsoft.Build.Engine.dll
+lib/mono/xbuild/14.0/bin/Microsoft.Build.Framework.dll
+lib/mono/xbuild/14.0/bin/Microsoft.Build.Tasks.Core.dll
+lib/mono/xbuild/14.0/bin/Microsoft.Build.Utilities.Core.dll
+lib/mono/xbuild/14.0/bin/Microsoft.Build.dll
+lib/mono/xbuild/14.0/bin/Microsoft.Build.xsd
+lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets
+lib/mono/xbuild/14.0/bin/Microsoft.Common.targets
+lib/mono/xbuild/14.0/bin/Microsoft.Common.tasks
+lib/mono/xbuild/14.0/bin/Microsoft.VisualBasic.targets
+lib/mono/xbuild/14.0/bin/Mono.XBuild.Tasks.dll
+lib/mono/xbuild/14.0/bin/xbuild.exe
+lib/mono/xbuild/14.0/bin/xbuild.exe.config
+lib/mono/xbuild/14.0/bin/xbuild.exe.mdb
+lib/mono/xbuild/14.0/bin/xbuild.rsp
+lib/mono/xbuild/Microsoft/Portable/Microsoft.Portable.Core.props
+lib/mono/xbuild/Microsoft/Portable/Microsoft.Portable.Core.targets
+lib/mono/xbuild/Microsoft/Portable/v4.0/Microsoft.Portable.CSharp.targets
+lib/mono/xbuild/Microsoft/Portable/v4.0/Microsoft.Portable.Common.targets
+lib/mono/xbuild/Microsoft/Portable/v4.0/Microsoft.Portable.VisualBasic.targets
+lib/mono/xbuild/Microsoft/Portable/v4.5/Microsoft.Portable.CSharp.targets
+lib/mono/xbuild/Microsoft/Portable/v4.5/Microsoft.Portable.Common.targets
+lib/mono/xbuild/Microsoft/Portable/v4.5/Microsoft.Portable.VisualBasic.targets
+lib/mono/xbuild/Microsoft/VisualStudio/v10.0/WebApplications/Microsoft.WebApplication.targets
+lib/mono/xbuild/Microsoft/VisualStudio/v11.0/WebApplications/Microsoft.WebApplication.targets
+lib/mono/xbuild/Microsoft/VisualStudio/v9.0/WebApplications/Microsoft.WebApplication.targets
+${PLIST.monodoc}lib/monodoc/monodoc.xml
+${PLIST.monodoc}lib/monodoc/sources/Mono.source
+${PLIST.monodoc}lib/monodoc/sources/Mono.tree
+${PLIST.monodoc}lib/monodoc/sources/Mono.zip
+${PLIST.monodoc}lib/monodoc/sources/Novell.source
+${PLIST.monodoc}lib/monodoc/sources/Novell.tree
+${PLIST.monodoc}lib/monodoc/sources/Novell.zip
+${PLIST.monodoc}lib/monodoc/sources/cs-errors.tree
+${PLIST.monodoc}lib/monodoc/sources/cs-errors.zip
+${PLIST.monodoc}lib/monodoc/sources/ecma334.tree
+${PLIST.monodoc}lib/monodoc/sources/ecma334.zip
+${PLIST.monodoc}lib/monodoc/sources/lang-csharp.source
+${PLIST.monodoc}lib/monodoc/sources/mono-file-formats.source
+${PLIST.monodoc}lib/monodoc/sources/mono-file-formats.tree
+${PLIST.monodoc}lib/monodoc/sources/mono-file-formats.zip
+${PLIST.monodoc}lib/monodoc/sources/mono-tools.source
+${PLIST.monodoc}lib/monodoc/sources/mono-tools.tree
+${PLIST.monodoc}lib/monodoc/sources/mono-tools.zip
+${PLIST.monodoc}lib/monodoc/sources/monoapi.source
+${PLIST.monodoc}lib/monodoc/sources/monoapi.tree
+${PLIST.monodoc}lib/monodoc/sources/monoapi.zip
+${PLIST.monodoc}lib/monodoc/sources/netdocs.source
+${PLIST.monodoc}lib/monodoc/sources/netdocs.tree
+${PLIST.monodoc}lib/monodoc/sources/netdocs.zip
+lib/pkgconfig/aspnetwebstack.pc
+lib/pkgconfig/cecil.pc
+lib/pkgconfig/dotnet.pc
+lib/pkgconfig/dotnet35.pc
+lib/pkgconfig/mono-2.pc
+lib/pkgconfig/mono-cairo.pc
+lib/pkgconfig/mono-lineeditor.pc
+lib/pkgconfig/mono-nunit.pc
+lib/pkgconfig/mono-options.pc
+lib/pkgconfig/mono.pc
+lib/pkgconfig/monodoc.pc
+lib/pkgconfig/reactive.pc
+lib/pkgconfig/system.web.extensions.design_1.0.pc
+lib/pkgconfig/system.web.extensions_1.0.pc
+lib/pkgconfig/system.web.mvc.pc
+lib/pkgconfig/system.web.mvc2.pc
+lib/pkgconfig/system.web.mvc3.pc
+lib/pkgconfig/wcf.pc
+lib/pkgconfig/xbuild12.pc
+man/man1/al.1
+man/man1/cccheck.1
+man/man1/ccrewrite.1
+man/man1/cert2spc.1
+man/man1/certmgr.1
+man/man1/chktrust.1
+man/man1/cilc.1
+man/man1/crlupdate.1
+man/man1/csharp.1
+man/man1/disco.1
+man/man1/dtd2xsd.1
+man/man1/gacutil.1
+man/man1/genxs.1
+man/man1/httpcfg.1
+man/man1/ilasm.1
+man/man1/lc.1
+man/man1/macpack.1
+man/man1/makecert.1
+man/man1/mconfig.1
+man/man1/mcs.1
+man/man1/mdassembler.1
+man/man1/mdoc-assemble.1
+man/man1/mdoc-export-html.1
+man/man1/mdoc-export-msxdoc.1
+man/man1/mdoc-update.1
+man/man1/mdoc-validate.1
+man/man1/mdoc.1
+man/man1/mdvalidater.1
+man/man1/mkbundle.1
+man/man1/mono-api-info.1
+man/man1/mono-cil-strip.1
+man/man1/mono-configuration-crypto.1
+man/man1/mono-service.1
+man/man1/mono-shlib-cop.1
+man/man1/mono-xmltool.1
+man/man1/mono.1
+man/man1/monodis.1
+man/man1/monodocer.1
+man/man1/monodocs2html.1
+man/man1/monolinker.1
+man/man1/monop.1
+man/man1/mozroots.1
+man/man1/mprof-report.1
+man/man1/pdb2mdb.1
+man/man1/permview.1
+man/man1/prj2make.1
+man/man1/resgen.1
+man/man1/secutil.1
+man/man1/setreg.1
+man/man1/sgen.1
+man/man1/signcode.1
+man/man1/sn.1
+man/man1/soapsuds.1
+man/man1/sqlsharp.1
+man/man1/wsdl.1
+man/man1/xbuild.1
+man/man1/xsd.1
+man/man5/mdoc.5
+man/man5/mono-config.5
+share/examples/mono/2.0/Browsers/Compat.browser
+share/examples/mono/2.0/DefaultWsdlHelpGenerator.aspx
+share/examples/mono/2.0/machine.config
+share/examples/mono/2.0/settings.map
+share/examples/mono/2.0/web.config
+share/examples/mono/4.0/Browsers/Compat.browser
+share/examples/mono/4.0/DefaultWsdlHelpGenerator.aspx
+share/examples/mono/4.0/machine.config
+share/examples/mono/4.0/settings.map
+share/examples/mono/4.0/web.config
+share/examples/mono/4.5/Browsers/Compat.browser
+share/examples/mono/4.5/DefaultWsdlHelpGenerator.aspx
+share/examples/mono/4.5/machine.config
+share/examples/mono/4.5/settings.map
+share/examples/mono/4.5/web.config
+share/examples/mono/browscap.ini
+share/examples/mono/config
+share/examples/mono/mconfig/config.xml
+share/libgc-mono/README
+share/libgc-mono/README.DGUX386
+share/libgc-mono/README.Mac
+share/libgc-mono/README.MacOSX
+share/libgc-mono/README.OS2
+share/libgc-mono/README.amiga
+share/libgc-mono/README.arm.cross
+share/libgc-mono/README.autoconf
+share/libgc-mono/README.changes
+share/libgc-mono/README.contributors
+share/libgc-mono/README.cords
+share/libgc-mono/README.darwin
+share/libgc-mono/README.dj
+share/libgc-mono/README.environment
+share/libgc-mono/README.ews4800
+share/libgc-mono/README.hp
+share/libgc-mono/README.linux
+share/libgc-mono/README.macros
+share/libgc-mono/README.rs6000
+share/libgc-mono/README.sgi
+share/libgc-mono/README.solaris2
+share/libgc-mono/README.uts
+share/libgc-mono/README.win32
+share/libgc-mono/barrett_diagram
+share/libgc-mono/debugging.html
+share/libgc-mono/gc.man
+share/libgc-mono/gcdescr.html
+share/libgc-mono/gcinterface.html
+share/libgc-mono/leak.html
+share/libgc-mono/scale.html
+share/libgc-mono/simple_example.html
+share/libgc-mono/tree.html
+share/mono-2.0/mono/cil/cil-opcodes.xml
diff --git a/mono38/buildlink3.mk b/mono38/buildlink3.mk
new file mode 100644
index 0000000..cc5adca
--- /dev/null
+++ b/mono38/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.52 2015/05/21 20:03:23 kefren Exp $
+
+BUILDLINK_TREE+=	mono
+
+.if !defined(MONO_BUILDLINK3_MK)
+MONO_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.mono+=	mono>=4
+BUILDLINK_ABI_DEPENDS.mono?=	mono>=4.0.1
+BUILDLINK_PKGSRCDIR.mono?=	../../lang/mono
+ALL_ENV+=			MONO_SHARED_DIR=${WRKDIR:Q}
+BUILDLINK_CONTENTS_FILTER.mono=	${EGREP} '(^include/|^lib/)'
+
+.include "../../textproc/icu/buildlink3.mk"
+.endif # MONO_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-mono
diff --git a/mono38/distinfo b/mono38/distinfo
new file mode 100644
index 0000000..57e0736
--- /dev/null
+++ b/mono38/distinfo
@@ -0,0 +1,63 @@
+$NetBSD: distinfo,v 1.107 2015/11/03 22:50:39 agc Exp $
+
+SHA1 (mono-4.4.0.122.tar.bz2) = 132a8e9aa422e82ccdb776c7cc1db89ce140b0b3
+RMD160 (mono-4.4.0.122.tar.bz2) = 41d58720d7cb4f510cad64c1dbecdd9a6c9d19a1
+SHA512 (mono-4.4.0.122.tar.bz2) = 264b3779fc94e40c44f8cc637169d7f3a6367ead75b932069bc0498d53c13ea62ef5711784d1bc0767b85e0cb04424b9eee0ce7ed10772076902b55210097a10
+Size (mono-4.4.0.122.tar.bz2) = 84904723 bytes
+SHA1 (patch-aa) = 84e5bca2b6d9715271c343f774c81186858d90c9
+SHA1 (patch-ad) = ebd47980f0141f7cbd0c6bbcfc15942cebc263f1
+SHA1 (patch-ae) = 25869b98f9197243aea799b75b238d92f58e8845
+SHA1 (patch-af) = 6a458a91dc34420d45238b5dad01ed63f0bd9e00
+SHA1 (patch-ai) = d06c382d188f4263a2a505ca3d3ee491baa3af28
+SHA1 (patch-aj) = 33b75ec2662cc442f602b21b03fee1e5c39e3a76
+SHA1 (patch-ak) = 262845edcf84cf5127b7e01963f0d433aad7682a
+SHA1 (patch-al) = 07462d3f9cf2aa08b1fb837400084d32a7062eee
+SHA1 (patch-am) = ff0af9c120ebeb59edcdb727c7d36aa5939c73af
+SHA1 (patch-ap) = e0590d7014ae4ef74ee9f9c39f069411a66c8f76
+SHA1 (patch-aq) = 91f8384c62e4a7a1b2079038495a1a78364926c9
+SHA1 (patch-ar) = e225bfaa1a18aa5997a1a6472889da3a0ec533cc
+SHA1 (patch-as) = 101c0119f498a389613a3cd54497e85b3aece1c2
+SHA1 (patch-ba) = f501f1fa3e603660dc8f64ea6bc020b4f4c08a57
+SHA1 (patch-bc) = 1fbb3d78683dc29944eb69d2b033f34539da2b39
+SHA1 (patch-bd) = a6706236caae06c5defa5c8e2488380cc64f93ab
+SHA1 (patch-be) = d1b603478ff8b1acdd2160efe2d88974f62ac20f
+SHA1 (patch-bf) = 550c198e41ccc33dd690950754af4557df9b1d1d
+SHA1 (patch-bi) = 4d2252c53facafeb8fc7f459759294da5f14dfeb
+SHA1 (patch-cc) = d26c9e04f04896f0e7b2edab61cd347d76e0fcaf
+SHA1 (patch-configure) = 20af37b1f87623504d8e70dd6b749eeb3bf0118a
+SHA1 (patch-da) = 08c7c78aa4c6f1a1de4d34aebe05cd2ed1e7dcfd
+SHA1 (patch-data_Makefile.in) = 0c54664b1a59714c6bec02547d70eaa7dee47928
+SHA1 (patch-data_mono-nunit.pc.in) = 59e0a932727b842ac90c2d0b702481d62f72cab8
+SHA1 (patch-data_net_4_0_Browsers_Makefile.in) = ab4baa45dd75b87786cbc7d942611915d5ae1f72
+SHA1 (patch-data_net_4_5_Browsers_Makefile.in) = e4cab08ffa040020684edb3a9fbc8e448d2faf35
+SHA1 (patch-data_net_4_5_Makefile.in) = 778be615f4f21f2561e47e082302c09f02c6f8f6
+SHA1 (patch-db) = 185ae2e5cbac9bca99443efbc5a8ae63423656cf
+SHA1 (patch-dc) = 725c82a9ac4ae9c01045149504a6df6a64d808a3
+SHA1 (patch-de) = 0c2a123868b20236fceb93d33fa3084a1afd004c
+SHA1 (patch-df) = b2780e809d681795a6bdd9039ec890cfc9362187
+SHA1 (patch-dh) = 30f0bea7c707829247c2b426a88c4adba057e534
+SHA1 (patch-di) = 67a26c3cd7752d5b629f00cdba7cc9613d10f43c
+SHA1 (patch-dj) = 049cc88dc523975404445f13de81255d75a22156
+SHA1 (patch-dk) = ad78819e71f082d0b7f262c162d3a67cfdfdcf2f
+SHA1 (patch-dl) = dc63c1d3f6a1d78b2f5bb725cdff6824e2307dc5
+SHA1 (patch-do) = 0bda0d2e482be218fb502e0c4ea945a41d078d27
+SHA1 (patch-libgc_misc.c) = 52c68e7b6f1b58f480286bd135591f97a3e13125
+SHA1 (patch-man_mprof-report.1) = 0a80c164614cc9af5f01822005193d80f1d89946
+SHA1 (patch-mono_dis_Makefile.in) = f000112e2712faf29104489e45feae8d6fc45169
+SHA1 (patch-mono_metadata_icall.c) = 191a7fccb174855026cb11dd0f6ac450bb920ec7
+SHA1 (patch-mono_metadata_mono-perfcounters.c) = 8cfbfa62fe4201a20bc07645ccf6b13487a64fc3
+SHA1 (patch-mono_metadata_mono-route.c) = 6eb741efca0a66fae894f7c49fa8f6393079e67f
+SHA1 (patch-mono_mini_mini-arm.c) = 1c4f85a6b2a49604a6b4299f65f0c93d0c01ffa3
+SHA1 (patch-mono_profiler_proflog.c) = 060e8052aeedc1ee224d33644f39b8085a6c92a2
+SHA1 (patch-mono_unit-tests_Makefile.in) = 98cb082e2e0ad53c36b513a7bce9568c26e14f21
+SHA1 (patch-mono_utils_Makefile.in) = be9caeff6d687e8c686d7436db2f39f7803c231a
+SHA1 (patch-mono_utils_mono-compiler.h) = 210062c167c00500f6a9176ef94c8cd96d39c730
+SHA1 (patch-mono_utils_mono-mmap.c) = 869c24a57861fcfb1bdc8a04ed0e0d1fd5a0e0b5
+SHA1 (patch-mono_utils_mono-semaphore.c) = a47c7816445c7781e1cf0efc889dedfbf5b351f9
+SHA1 (patch-mono_utils_mono-threads-dragonfly.c) = d41c7735d5ba0224ff4a4cf70308fb835ec00bbe
+SHA1 (patch-mono_utils_mono-threads-netbsd.c) = 29d7bdb4906bca4e2f5a0a94b7e70e04570df8ee
+SHA1 (patch-mono_utils_mono-threads-posix.c) = d0cb2b1be62cbafe86a3efa817b8120af4ab1086
+SHA1 (patch-mono_utils_mono-threads-solaris.c) = 8781c9e09edfbbbc9940f02cce46a3ce5b6c10c3
+SHA1 (patch-po_Makefile.in) = 53f967c75ae028d991f118fb3bbc5b90bb4ceea7
+SHA1 (patch-support_signal.c) = 33e0c19c21955b105d78a05b2b10d00f479a60c2
+SHA1 (patch-support_time.c) = 2031ab294d66594ff3645b03c48ffca143ab59b5
diff --git a/mono38/options.mk b/mono38/options.mk
new file mode 100644
index 0000000..1902117
--- /dev/null
+++ b/mono38/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.3 2010/10/16 04:32:18 kefren Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.mono
+PKG_SUPPORTED_OPTIONS=	moonlight
+# PKG_SUGGESTED_OPTIONS=	moonlight
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=		moon
+
+.if !empty(PKG_OPTIONS:Mmoonlight)
+PLIST.moon=	yes
+CONFIGURE_ARGS+=	--with-moonlight=yes
+.else
+CONFIGURE_ARGS+=	--with-moonlight=no
+.endif
diff --git a/mono38/patches/patch-aa b/mono38/patches/patch-aa
new file mode 100644
index 0000000..2a2f646
--- /dev/null
+++ b/mono38/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.18 2014/11/30 08:40:51 spz Exp $
+--- mono/io-layer/collection.c.orig	2014-09-22 13:23:09.000000000 +0000
++++ mono/io-layer/collection.c
+@@ -58,7 +58,11 @@ void _wapi_collection_init (void)
+ 
+ #if defined(HAVE_PTHREAD_ATTR_SETSTACKSIZE)
+         if (set_stacksize == 0) {
++#ifdef PTHREAD_STACK_MIN
+ 			ret = pthread_attr_setstacksize (&attr, MAX (65536, PTHREAD_STACK_MIN));
++#else
++			ret = pthread_attr_setstacksize (&attr, 65536);
++#endif
+ 			g_assert (ret == 0);
+         } else if (set_stacksize == 1) {
+ 			ret = pthread_attr_setstacksize (&attr, 131072);
diff --git a/mono38/patches/patch-ad b/mono38/patches/patch-ad
new file mode 100644
index 0000000..4f840bb
--- /dev/null
+++ b/mono38/patches/patch-ad
@@ -0,0 +1,52 @@
+$NetBSD: patch-ad,v 1.27 2014/11/30 08:40:51 spz Exp $
+
+--- mono/utils/mono-sigcontext.h.orig	2014-09-22 13:23:09.000000000 +0000
++++ mono/utils/mono-sigcontext.h
+@@ -204,6 +204,10 @@ typedef struct ucontext {
+ 	#define UCONTEXT_REG_RSI(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_RSI])
+ 	#define UCONTEXT_REG_RDI(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_RDI])
+ 	#define UCONTEXT_REG_RIP(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_RIP])
++	#define UCONTEXT_REG_R8(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_R8])
++	#define UCONTEXT_REG_R9(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_R9])
++	#define UCONTEXT_REG_R10(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_R10])
++	#define UCONTEXT_REG_R11(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_R11])
+ 	#define UCONTEXT_REG_R12(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_R12])
+ 	#define UCONTEXT_REG_R13(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_R13])
+ 	#define UCONTEXT_REG_R14(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_R14])
+@@ -292,7 +296,7 @@ typedef struct ucontext {
+ 	#define UCONTEXT_REG_FPRn(ctx, n) (((os_ucontext*)(ctx))->uc_mcontext.__fpregs.__fpu_regs [(n)])
+ 	#define UCONTEXT_REG_NIP(ctx)     _UC_MACHINE_PC(ctx)
+ 	#define UCONTEXT_REG_LNK(ctx)     (((os_ucontext*)(ctx))->uc_mcontext.__gregs [_REG_LR])
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__DragonFly__)
+ 	typedef ucontext_t os_ucontext;
+ 
+ 	#define UCONTEXT_REG_Rn(ctx, n)   ((ctx)->uc_mcontext.mc_gpr [(n)])
+@@ -354,6 +358,27 @@ typedef struct ucontext {
+ 	#define UCONTEXT_REG_R11(ctx) (((arm_ucontext*)(ctx))->sig_ctx.arm_fp)
+ 	#define UCONTEXT_REG_R12(ctx) (((arm_ucontext*)(ctx))->sig_ctx.arm_ip)
+ 	#define UCONTEXT_REG_CPSR(ctx) (((arm_ucontext*)(ctx))->sig_ctx.arm_cpsr)
++#elif defined(__NetBSD__)
++	typedef ucontext_t arm_ucontext;
++
++	#define UCONTEXT_REG_PC(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_PC])
++	#define UCONTEXT_REG_SP(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_SP])
++	#define UCONTEXT_REG_LR(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_LR])
++	#define UCONTEXT_REG_R0(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R0])
++	#define UCONTEXT_REG_R1(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R1])
++	#define UCONTEXT_REG_R2(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R2])
++	#define UCONTEXT_REG_R3(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R3])
++	#define UCONTEXT_REG_R4(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R4])
++	#define UCONTEXT_REG_R5(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R5])
++	#define UCONTEXT_REG_R6(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R6])
++	#define UCONTEXT_REG_R7(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R7])
++	#define UCONTEXT_REG_R8(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R8])
++	#define UCONTEXT_REG_R9(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R9])
++	#define UCONTEXT_REG_R10(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R10])
++	#define UCONTEXT_REG_R11(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R11])
++	#define UCONTEXT_REG_R12(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_R12])
++	#define UCONTEXT_REG_CPSR(ctx) (((ucontext_t*)(ctx))->uc_mcontext.__gregs[_REG_CPSR])
++	#define UCONTEXT_REG_VFPREGS(ctx) (double*)(&((ucontext_t*)(ctx))->uc_mcontext.__fpu)
+ #endif
+ 
+ #elif defined(TARGET_ARM64)
diff --git a/mono38/patches/patch-ae b/mono38/patches/patch-ae
new file mode 100644
index 0000000..1c9d792
--- /dev/null
+++ b/mono38/patches/patch-ae
@@ -0,0 +1,21 @@
+$NetBSD: patch-ae,v 1.13 2014/11/30 08:40:51 spz Exp $
+--- libgc/configure.orig	2014-10-04 09:29:04.000000000 +0000
++++ libgc/configure
+@@ -5037,7 +5037,7 @@ $as_echo "$as_me: WARNING: \"Only HP/UX 
+ 	$as_echo "#define USE_COMPILER_TLS 1" >>confdefs.h
+ 
+ 	;;
+-      *-*-freebsd*)
++      *-*-freebsd* | *-*-*dragonfly*)
+ 	$as_echo "#define GC_FREEBSD_THREADS 1" >>confdefs.h
+ 
+ 	if test "x$PTHREAD_CFLAGS" != "x"; then
+@@ -5078,6 +5078,8 @@ $as_echo "$as_me: WARNING: \"Only HP/UX 
+      *-*-netbsd*)
+ 	$as_echo "#define GC_NETBSD_THREADS 1" >>confdefs.h
+ 
++	$as_echo "#define _REENTRANT 1" >>confdefs.h
++
+ 	if test "${enable_parallel_mark}" = yes; then
+ 	  $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
+ 
diff --git a/mono38/patches/patch-af b/mono38/patches/patch-af
new file mode 100644
index 0000000..496a08a
--- /dev/null
+++ b/mono38/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.14 2014/11/30 08:40:51 spz Exp $
+--- mono/metadata/Makefile.in.orig	2014-10-04 09:29:00.000000000 +0000
++++ mono/metadata/Makefile.in
+@@ -213,7 +213,7 @@ libmonoruntime_static_la_LINK = $(LIBTOO
+ 	$(libmonoruntime_static_la_CFLAGS) $(CFLAGS) \
+ 	$(libmonoruntime_static_la_LDFLAGS) $(LDFLAGS) -o $@
+ @DISABLE_EXECUTABLES_FALSE@@SUPPORT_BOEHM_TRUE@am_libmonoruntime_static_la_rpath =
+-libmonoruntime_la_LIBADD =
++libmonoruntime_la_LIBADD = $(ICU_LIBS)
+ am__libmonoruntime_la_SOURCES_DIST = console-unix.c console-win32.c \
+ 	assembly.c attach.h attach.c char-conversions.h cil-coff.h \
+ 	class.c class-internals.h cominterop.c cominterop.h \
diff --git a/mono38/patches/patch-ai b/mono38/patches/patch-ai
new file mode 100644
index 0000000..b88445a
--- /dev/null
+++ b/mono38/patches/patch-ai
@@ -0,0 +1,207 @@
+$NetBSD: patch-ai,v 1.10 2014/11/30 08:40:51 spz Exp $
+
+--- mono/metadata/object.c.orig	2014-10-04 09:27:43.000000000 +0000
++++ mono/metadata/object.c
+@@ -4122,6 +4122,135 @@ mono_install_runtime_invoke (MonoInvokeF
+ 	default_mono_runtime_invoke = func ? func: dummy_mono_runtime_invoke;
+ }
+ 
++/*
++ * is_widen_compatible:
++ * 
++ * Tests if @candidate can be used in place of @type by means of a widening conversion.
++ * This means, for example, that a byte can be widened to an int and be used as argument in
++ * a reflection call. 
++ * 
++ * Returns true if @candidate can be widened to @type.
++ */
++static gboolean
++is_widen_compatible (MonoType * type, MonoType *candidate)
++{
++	if (type->type == candidate->type)
++		return TRUE;
++
++	switch (candidate->type) {
++	case MONO_TYPE_U1:
++		switch (type->type) {
++		case MONO_TYPE_U2:
++		case MONO_TYPE_I2:
++		case MONO_TYPE_CHAR:
++		case MONO_TYPE_U:
++		case MONO_TYPE_I:
++		case MONO_TYPE_U4:
++		case MONO_TYPE_I4:
++		case MONO_TYPE_U8:
++		case MONO_TYPE_I8:
++		case MONO_TYPE_R4:
++		case MONO_TYPE_R8:
++			return TRUE;
++		}
++		return FALSE;
++	case MONO_TYPE_I1:
++		switch (type->type) {
++		case MONO_TYPE_I2:
++		case MONO_TYPE_I:
++		case MONO_TYPE_I4:
++		case MONO_TYPE_I8:
++		case MONO_TYPE_R4:
++		case MONO_TYPE_R8:
++			return TRUE;
++		}
++	case MONO_TYPE_BOOLEAN:
++		return type->type == MONO_TYPE_BOOLEAN;
++	case MONO_TYPE_U2:
++		switch (type->type) {
++		case MONO_TYPE_U2:
++		case MONO_TYPE_U:
++		case MONO_TYPE_I:
++		case MONO_TYPE_U4:
++		case MONO_TYPE_I4:
++		case MONO_TYPE_U8:
++		case MONO_TYPE_I8:
++		case MONO_TYPE_R4:
++		case MONO_TYPE_R8:
++			return TRUE;
++		}
++		return FALSE;
++	case MONO_TYPE_I2:
++		switch (type->type) {
++		case MONO_TYPE_I:
++		case MONO_TYPE_I4:
++		case MONO_TYPE_I8:
++		case MONO_TYPE_R4:
++		case MONO_TYPE_R8:
++			return TRUE;
++		}
++		return FALSE;
++	case MONO_TYPE_CHAR:
++		switch (type->type) {
++		case MONO_TYPE_U2:
++		case MONO_TYPE_U:
++		case MONO_TYPE_I:
++		case MONO_TYPE_U4:
++		case MONO_TYPE_I4:
++		case MONO_TYPE_U8:
++		case MONO_TYPE_I8:
++		case MONO_TYPE_R4:
++		case MONO_TYPE_R8:
++			return TRUE;
++		}
++		return FALSE;
++	case MONO_TYPE_U:
++		switch (type->type) {
++		case MONO_TYPE_U4:
++		case MONO_TYPE_U8:
++		case MONO_TYPE_R4:
++		case MONO_TYPE_R8:
++			return TRUE;
++		}
++		return FALSE;
++	case MONO_TYPE_I:
++		switch (type->type) {
++		case MONO_TYPE_I:
++		case MONO_TYPE_I8:
++		case MONO_TYPE_R4:
++		case MONO_TYPE_R8:
++			return TRUE;
++		}
++		return FALSE;
++	case MONO_TYPE_U4:
++		switch (type->type) {
++		case MONO_TYPE_U:
++		case MONO_TYPE_U8:
++		case MONO_TYPE_I8:
++		case MONO_TYPE_R4:
++		case MONO_TYPE_R8:
++			return TRUE;
++		}
++		return FALSE;
++	case MONO_TYPE_I4:
++		switch (type->type) {
++		case MONO_TYPE_I:
++		case MONO_TYPE_I8:
++		case MONO_TYPE_R4:
++		case MONO_TYPE_R8:
++			return TRUE;
++		}
++		return FALSE;
++	case MONO_TYPE_U8:
++	case MONO_TYPE_I8:
++		return type->type == MONO_TYPE_R4 || type->type == MONO_TYPE_R8;
++	case MONO_TYPE_R4:
++		return type->type == MONO_TYPE_R8;
++	case MONO_TYPE_R8:
++		break;
++	}
++	return FALSE;
++}
+ 
+ /**
+  * mono_runtime_invoke_array:
+@@ -4174,6 +4303,8 @@ mono_runtime_invoke_array (MonoMethod *m
+ 		pa = alloca (sizeof (gpointer) * mono_array_length (params));
+ 		for (i = 0; i < mono_array_length (params); i++) {
+ 			MonoType *t = sig->params [i];
++			MonoClass *par_class = mono_class_from_mono_type (t);
++			MonoObject *pao;
+ 
+ 		again:
+ 			switch (t->type) {
+@@ -4198,9 +4329,16 @@ mono_runtime_invoke_array (MonoMethod *m
+ 					if (t->byref)
+ 						has_byref_nullables = TRUE;
+ 				} else {
++					pao = mono_array_get (params, MonoObject*, i);
+ 					/* MS seems to create the objects if a null is passed in */
+-					if (!mono_array_get (params, MonoObject*, i))
+-						mono_array_setref (params, i, mono_object_new (mono_domain_get (), mono_class_from_mono_type (sig->params [i]))); 
++					if (pao) {
++						if ((t->type == MONO_TYPE_VALUETYPE && pao->vtable->klass != par_class) ||
++							(t->type != MONO_TYPE_VALUETYPE && !is_widen_compatible (t, &pao->vtable->klass->byval_arg)))
++							mono_raise_exception (mono_get_exception_argument ("", "Incompatible type passed"));
++					} else {
++						pao = mono_object_new (mono_domain_get (), par_class);
++						mono_array_setref (params, i, pao);
++					}
+ 
+ 					if (t->byref) {
+ 						/*
+@@ -4210,12 +4348,13 @@ mono_runtime_invoke_array (MonoMethod *m
+ 						 * object, pass that to the callee, and replace the original
+ 						 * boxed object in the arg array with the copy.
+ 						 */
+-						MonoObject *orig = mono_array_get (params, MonoObject*, i);
++						MonoObject *orig = pao;
+ 						MonoObject *copy = mono_value_box (mono_domain_get (), orig->vtable->klass, mono_object_unbox (orig));
+ 						mono_array_setref (params, i, copy);
++						pao = copy;
+ 					}
+ 						
+-					pa [i] = mono_object_unbox (mono_array_get (params, MonoObject*, i));
++					pa [i] = mono_object_unbox (pao);
+ 				}
+ 				break;
+ 			case MONO_TYPE_STRING:
+@@ -4223,11 +4362,19 @@ mono_runtime_invoke_array (MonoMethod *m
+ 			case MONO_TYPE_CLASS:
+ 			case MONO_TYPE_ARRAY:
+ 			case MONO_TYPE_SZARRAY:
+-				if (t->byref)
++				if (t->byref) {
+ 					pa [i] = mono_array_addr (params, MonoObject*, i);
+ 					// FIXME: I need to check this code path
+-				else
+-					pa [i] = mono_array_get (params, MonoObject*, i);
++				} else {
++					pao = mono_array_get (params, MonoObject*, i);
++					pa [i] = pao;
++					
++					if (pao != NULL && !mono_class_is_assignable_from (par_class, pao->vtable->klass) &&
++						(pao->vtable->klass == mono_defaults.transparent_proxy_class &&
++							!mono_class_is_assignable_from (par_class, ((MonoTransparentProxy*)pao)->remote_class->proxy_class))) {
++						mono_raise_exception (mono_get_exception_argument ("", "Incompatible type passed"));
++					}
++				}
+ 				break;
+ 			case MONO_TYPE_GENERICINST:
+ 				if (t->byref)
diff --git a/mono38/patches/patch-aj b/mono38/patches/patch-aj
new file mode 100644
index 0000000..331192b
--- /dev/null
+++ b/mono38/patches/patch-aj
@@ -0,0 +1,12 @@
+$NetBSD: patch-aj,v 1.10 2014/11/30 08:40:51 spz Exp $
+--- data/net_2_0/Browsers/Makefile.in.orig	2014-10-04 09:28:58.000000000 +0000
++++ data/net_2_0/Browsers/Makefile.in
+@@ -351,7 +351,7 @@ target_vendor = @target_vendor@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-monodir = $(sysconfdir)/mono/2.0/Browsers
++monodir = $(datadir)/examples/mono/2.0/Browsers
+ EXTRA_DIST = ../../Browsers/Compat.browser
+ mono_DATA = ../../Browsers/Compat.browser
+ all: all-am
diff --git a/mono38/patches/patch-ak b/mono38/patches/patch-ak
new file mode 100644
index 0000000..8dd30c8
--- /dev/null
+++ b/mono38/patches/patch-ak
@@ -0,0 +1,56 @@
+$NetBSD: patch-ak,v 1.12 2015/06/15 09:27:29 joerg Exp $
+--- libgc/pthread_support.c.orig	2015-04-24 01:26:16.000000000 +0000
++++ libgc/pthread_support.c
+@@ -71,7 +71,7 @@
+       defined(GC_DARWIN_THREADS) || defined(GC_AIX_THREADS)) || \
+       defined(GC_NETBSD_THREADS) && !defined(USE_PTHREAD_SPECIFIC) || \
+       defined(GC_FREEBSD_THREADS) && !defined(USE_PTHREAD_SPECIFIC) || \
+-      defined(GC_OPENBSD_THREADS)
++      !defined(USE_COMPILER_TLS) || defined(GC_OPENBSD_THREADS)
+ #   define USE_PTHREAD_SPECIFIC
+ # endif
+ #endif
+@@ -595,6 +595,20 @@ static void start_mark_threads()
+ 	}
+       }
+ #   endif /* HPUX || GC_DGUX386_THREADS */
++#   if defined(__NetBSD__)
++#     define MAX_STACK_SIZE (1024 * 1024 *sizeof(word))
++      {
++	size_t old_size;
++	int code;
++
++        if (pthread_attr_getstacksize(&attr, &old_size) != 0)
++	  ABORT("pthread_attr_getstacksize failed\n");
++	if (old_size > MAX_STACK_SIZE) {
++	  if (pthread_attr_setstacksize(&attr, MAX_STACK_SIZE) != 0)
++		  ABORT("pthread_attr_setstacksize failed\n");
++	}
++      }
++#   endif
+ #   ifdef CONDPRINT
+       if (GC_print_stats) {
+ 	GC_printf1("Starting %ld marker threads\n", GC_markers - 1);
+@@ -1282,6 +1296,22 @@ void GC_end_blocking(void) {
+ #define __d10_sleep sleep
+ #endif /* GC_DGUX386_THREADS */
+ 
++#undef nanosleep
++#undef usleep
++#undef sleep
++
++/* A wrapper for the standard C nanosleep function     */
++int WRAP_FUNC(nanosleep) (const struct timespec *rqtp, struct timespec *rmtp)
++{
++    int result;
++
++    GC_start_blocking();
++    result = REAL_FUNC(nanosleep)(rqtp, rmtp);
++    GC_end_blocking();
++
++    return result;
++}
++
+ /* A wrapper for the standard C sleep function	*/
+ int WRAP_FUNC(sleep) (unsigned int seconds)
+ {
diff --git a/mono38/patches/patch-al b/mono38/patches/patch-al
new file mode 100644
index 0000000..81b8dbe
--- /dev/null
+++ b/mono38/patches/patch-al
@@ -0,0 +1,12 @@
+$NetBSD: patch-al,v 1.8 2014/11/30 08:40:51 spz Exp $
+--- data/config.in.orig	2014-10-04 09:27:43.000000000 +0000
++++ data/config.in
+@@ -21,7 +21,7 @@
+ 	<dllmap dll="libXinerama" target="@XINERAMA@" os="!windows" />
+ 	<dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/>
+ 	<dllmap dll="libcairo-2.dll" target="libcairo.2.dylib" os="osx"/>
+-	<dllmap dll="libcups" target="libcups.so.2" os="!windows"/>
++	<dllmap dll="libcups" target="libcups.so" os="!windows"/>
+ 	<dllmap dll="libcups" target="libcups.dylib" os="osx"/>
+ 	<dllmap dll="i:kernel32.dll">
+ 		<dllentry dll="__Internal" name="CopyMemory" target="mono_win32_compat_CopyMemory"/>
diff --git a/mono38/patches/patch-am b/mono38/patches/patch-am
new file mode 100644
index 0000000..7c519a6
--- /dev/null
+++ b/mono38/patches/patch-am
@@ -0,0 +1,22 @@
+$NetBSD: patch-am,v 1.7 2014/11/30 08:40:51 spz Exp $
+
+--- mono/io-layer/io.c.orig	2014-10-04 09:27:43.000000000 +0000
++++ mono/io-layer/io.c
+@@ -3463,7 +3463,7 @@ guint32 GetTempPath (guint32 len, gunich
+ 	return(ret);
+ }
+ 
+-#ifdef HAVE_GETFSSTAT
++#if (defined(HAVE_GETFSSTAT) && defined(HAVE_SYS_STATFS_H))
+ /* Darwin has getfsstat */
+ gint32 GetLogicalDriveStrings (guint32 len, gunichar2 *buf)
+ {
+@@ -4260,7 +4260,7 @@ guint32 GetDriveType(const gunichar2 *ro
+ 	return (drive_type);
+ }
+ 
+-#if defined (PLATFORM_MACOSX) || defined (__linux__) || defined(PLATFORM_BSD) || defined(__native_client__) || defined(__FreeBSD_kernel__)
++#if defined (PLATFORM_MACOSX) || defined (__linux__) || defined(PLATFORM_BSD) || defined(__native_client__) || defined(__FreeBSD_kernel__) || defined(PLATFORM_SOLARIS)
+ static gchar*
+ get_fstypename (gchar *utfpath)
+ {
diff --git a/mono38/patches/patch-ap b/mono38/patches/patch-ap
new file mode 100644
index 0000000..e7e4e5e
--- /dev/null
+++ b/mono38/patches/patch-ap
@@ -0,0 +1,26 @@
+$NetBSD: patch-ap,v 1.5 2014/11/30 08:40:51 spz Exp $
+--- mcs/jay/Makefile.orig	2014-09-22 13:23:09.000000000 +0000
++++ mcs/jay/Makefile
+@@ -21,19 +21,19 @@ ifndef NO_INSTALL
+ install-local:
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/bin
+ 	$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/share/jay
+-	$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/share/man/man1
++	$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1
+ 	$(INSTALL_BIN) jay $(DESTDIR)$(prefix)/bin
+ 	for datafile in $(datafiles) ; do \
+ 	   $(INSTALL_DATA) $$datafile $(DESTDIR)$(prefix)/share/jay ; \
+ 	done
+-	$(INSTALL_DATA) jay.1 $(DESTDIR)$(prefix)/share/man/man1
++	$(INSTALL_DATA) jay.1 $(DESTDIR)$(mandir)/man1
+ 
+ uninstall-local:
+ 	-rm -f $(DESTDIR)$(prefix)/bin/jay
+ 	for datafile in $(datafiles) ; do \
+ 	   rm -f $(DESTDIR)$(prefix)/share/jay/$$datafile || : ; \
+ 	done
+-	-rm -f $(DESTDIR)$(prefix)/share/man/man1/jay.1
++	-rm -f $(DESTDIR)$(mandir)/man1/jay.1
+ endif
+ 
+ csproj-local:
diff --git a/mono38/patches/patch-aq b/mono38/patches/patch-aq
new file mode 100644
index 0000000..5621f7b
--- /dev/null
+++ b/mono38/patches/patch-aq
@@ -0,0 +1,12 @@
+$NetBSD: patch-aq,v 1.7 2014/11/30 08:40:51 spz Exp $
+--- data/net_4_0/Makefile.in.orig	2014-10-04 09:28:58.000000000 +0000
++++ data/net_4_0/Makefile.in
+@@ -412,7 +412,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ SUBDIRS = Browsers
+-monodir = $(sysconfdir)/mono/4.0
++monodir = $(datadir)/examples/mono/4.0
+ EXTRA_DIST = machine.config \
+ 	      web.config \
+ 	      DefaultWsdlHelpGenerator.aspx \
diff --git a/mono38/patches/patch-ar b/mono38/patches/patch-ar
new file mode 100644
index 0000000..6950df3
--- /dev/null
+++ b/mono38/patches/patch-ar
@@ -0,0 +1,12 @@
+$NetBSD: patch-ar,v 1.6 2014/11/30 08:40:51 spz Exp $
+--- data/net_2_0/Makefile.in.orig	2014-10-04 09:28:58.000000000 +0000
++++ data/net_2_0/Makefile.in
+@@ -412,7 +412,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ SUBDIRS = Browsers
+-monodir = $(sysconfdir)/mono/2.0
++monodir = $(datadir)/examples/mono/2.0
+ EXTRA_DIST = machine.config \
+ 	      web.config \
+ 	      DefaultWsdlHelpGenerator.aspx \
diff --git a/mono38/patches/patch-as b/mono38/patches/patch-as
new file mode 100644
index 0000000..1fc65f0
--- /dev/null
+++ b/mono38/patches/patch-as
@@ -0,0 +1,18 @@
+$NetBSD: patch-as,v 1.4 2014/11/30 08:40:51 spz Exp $
+
+From FreeBSD: https://bugzilla.novell.com/show_bug.cgi?id=528830
+
+--- mono/metadata/appdomain.c.orig	2014-10-04 09:27:43.000000000 +0000
++++ mono/metadata/appdomain.c
+@@ -2476,6 +2476,11 @@ mono_domain_try_unload (MonoDomain *doma
+ 			CloseHandle (thread_handle);
+ 			unload_data_unref (thread_data);
+ 			return;
++		} else if (!mono_thread_has_appdomain_ref (mono_thread_current (), domain) && !(mono_thread_interruption_requested ())) {
++			if (!domain->friendly_name) {
++				CloseHandle (thread_handle);
++				return;
++			}
+ 		}
+ 	}
+ 	CloseHandle (thread_handle);
diff --git a/mono38/patches/patch-ba b/mono38/patches/patch-ba
new file mode 100644
index 0000000..6fe873f
--- /dev/null
+++ b/mono38/patches/patch-ba
@@ -0,0 +1,12 @@
+$NetBSD: patch-ba,v 1.11 2014/11/30 08:40:51 spz Exp $
+--- mono/cil/Makefile.in.orig	2014-10-04 09:28:59.000000000 +0000
++++ mono/cil/Makefile.in
+@@ -593,7 +593,7 @@ uninstall-am: uninstall-defDATA uninstal
+ 	uninstall-am uninstall-defDATA uninstall-xmlDATA
+ 
+ opcode.def: make-opcodes-def.pl cil-opcodes.xml
+-	perl $(srcdir)/make-opcodes-def.pl $(srcdir)/cil-opcodes.xml $@.tmp
++	$(PERL) $(srcdir)/make-opcodes-def.pl $(srcdir)/cil-opcodes.xml $@.tmp
+ 	mv $@.tmp $@
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/mono38/patches/patch-bc b/mono38/patches/patch-bc
new file mode 100644
index 0000000..2fffbd4
--- /dev/null
+++ b/mono38/patches/patch-bc
@@ -0,0 +1,23 @@
+$NetBSD: patch-bc,v 1.8 2014/11/30 08:40:51 spz Exp $
+
+--- mono/mini/Makefile.in.orig	2014-10-04 09:29:00.000000000 +0000
++++ mono/mini/Makefile.in
+@@ -3018,15 +3018,15 @@ mbench: test.exe
+ 
+ stat1: mono bench.exe
+ 	$(RUNTIME) --verbose --statfile stats.pl --regression bench.exe
+-	perl viewstat.pl stats.pl
++	$(PERL) viewstat.pl stats.pl
+ 
+ stat2: mono basic.exe
+ 	$(RUNTIME) --verbose --statfile stats.pl --regression basic.exe
+-	perl viewstat.pl -e stats.pl
++	$(PERL) viewstat.pl -e stats.pl
+ 
+ stat3: mono bench.exe
+ 	$(RUNTIME) --statfile stats.pl --ncompile 1000 --compile Tests:test_0_many_nested_loops bench.exe 
+-	perl viewstat.pl stats.pl
++	$(PERL) viewstat.pl stats.pl
+ 
+ docu: mini.sgm
+ 	docbook2txt mini.sgm
diff --git a/mono38/patches/patch-bd b/mono38/patches/patch-bd
new file mode 100644
index 0000000..55206c0
--- /dev/null
+++ b/mono38/patches/patch-bd
@@ -0,0 +1,17 @@
+$NetBSD: patch-bd,v 1.7 2015/06/04 17:16:20 jperkin Exp $
+
+Add MANDIR, but don't hardcode it (fixed in post-patch by SUBST_*).
+
+--- mcs/build/config-default.make.orig	2014-09-22 13:23:05.000000000 +0000
++++ mcs/build/config-default.make
+@@ -17,8 +17,9 @@ LIBRARY_FLAGS = /noconfig
+ ifndef CFLAGS
+ CFLAGS = -g -O2
+ endif
+-prefix = /usr/local
++prefix = @PREFIX@
+ exec_prefix = $(prefix)
++mandir = @PKGMANDIR@
+ mono_libdir = $(exec_prefix)/lib
+ sysconfdir = $(prefix)/etc
+ #RUNTIME = mono
diff --git a/mono38/patches/patch-be b/mono38/patches/patch-be
new file mode 100644
index 0000000..216f0da
--- /dev/null
+++ b/mono38/patches/patch-be
@@ -0,0 +1,36 @@
+$NetBSD: patch-be,v 1.5 2014/11/30 08:40:51 spz Exp $
+
+--- support/sys-mman.c.orig	2014-09-22 13:23:09.000000000 +0000
++++ support/sys-mman.c
+@@ -10,7 +10,6 @@
+ #include <config.h>
+ 
+ #ifndef __OpenBSD__
+-#define _XOPEN_SOURCE 600
+ #endif
+ 
+ #ifdef PLATFORM_MACOSX
+@@ -25,6 +24,9 @@
+ #include <sys/types.h>
+ #include <sys/mman.h>
+ #include <errno.h>
++#ifdef __sun
++#include <unistd.h>
++#endif
+ 
+ #include "map.h"
+ #include "mph.h"
+@@ -109,8 +111,13 @@ Mono_Posix_Syscall_mremap (void *old_add
+ 	if (Mono_Posix_FromMremapFlags (flags, &_flags) == -1)
+ 		return MAP_FAILED;
+ 
++#if defined(__NetBSD__)
++	return mremap (old_address, (size_t) old_size, old_address, (size_t) new_size,
++			(unsigned long) _flags);
++#else
+ 	return mremap (old_address, (size_t) old_size, (size_t) new_size,
+ 			(unsigned long) _flags);
++#endif
+ }
+ #endif /* def HAVE_MREMAP */
+ 
diff --git a/mono38/patches/patch-bf b/mono38/patches/patch-bf
new file mode 100644
index 0000000..37fe6a0
--- /dev/null
+++ b/mono38/patches/patch-bf
@@ -0,0 +1,25 @@
+$NetBSD: patch-bf,v 1.4 2014/11/30 08:40:51 spz Exp $
+--- support/map.c.orig	2014-09-22 13:23:09.000000000 +0000
++++ support/map.c
+@@ -3623,13 +3623,21 @@ int Mono_Posix_ToMountFlags (guint64 x, 
+ 
+ int Mono_Posix_FromMremapFlags (guint64 x, guint64 *r)
+ {
++#ifdef __NetBSD__
++	*r = MAP_FIXED;
++#else
+ 	*r = 0;
++#endif
+ 	if ((x & Mono_Posix_MremapFlags_MREMAP_MAYMOVE) == Mono_Posix_MremapFlags_MREMAP_MAYMOVE)
++#ifdef __NetBSD__
++	*r &= ~MAP_FIXED;
++#else
+ #ifdef MREMAP_MAYMOVE
+ 		*r |= MREMAP_MAYMOVE;
+ #else /* def MREMAP_MAYMOVE */
+ 		{errno = EINVAL; return -1;}
+ #endif /* ndef MREMAP_MAYMOVE */
++#endif /* __NetBSD__ */
+ 	if (x == 0)
+ 		return 0;
+ 	return 0;
diff --git a/mono38/patches/patch-bi b/mono38/patches/patch-bi
new file mode 100644
index 0000000..2fb921e
--- /dev/null
+++ b/mono38/patches/patch-bi
@@ -0,0 +1,37 @@
+$NetBSD: patch-bi,v 1.3 2014/11/30 08:40:51 spz Exp $
+--- mono/metadata/filewatcher.c.orig	2014-09-22 13:23:09.000000000 +0000
++++ mono/metadata/filewatcher.c
+@@ -45,9 +45,6 @@ static int (*FAMNextEvent) (gpointer, gp
+ gint
+ ves_icall_System_IO_FSW_SupportsFSW (void)
+ {
+-#if HAVE_KQUEUE
+-	return 3;
+-#else
+ 	MonoDl *fam_module;
+ 	int lib_used = 4; /* gamin */
+ 	int inotify_instance;
+@@ -71,15 +68,22 @@ ves_icall_System_IO_FSW_SupportsFSW (voi
+ 	}
+ 
+ 	if (fam_module == NULL)
++#if HAVE_KQUEUE
++		return 3;
++#else
+ 		return 0;
++#endif
+ 
+ 	err = mono_dl_symbol (fam_module, "FAMNextEvent", (gpointer *) &FAMNextEvent);
+ 	g_free (err);
+ 	if (FAMNextEvent == NULL)
++#if HAVE_KQUEUE
++		return 3;
++#else
+ 		return 0;
++#endif
+ 
+ 	return lib_used;
+-#endif
+ }
+ 
+ /* Almost copied from fam.h. Weird, I know */
diff --git a/mono38/patches/patch-cc b/mono38/patches/patch-cc
new file mode 100644
index 0000000..093c299
--- /dev/null
+++ b/mono38/patches/patch-cc
@@ -0,0 +1,33 @@
+$NetBSD: patch-cc,v 1.6 2014/11/30 08:40:51 spz Exp $
+
+Currently mono is not copying the domain default context for some of
+the newly created threads. This leads to some problems with programs
+that use remoting stack, for example monodevelop that is unusable -
+it doesn't compile and run projects. The following hack fixes the
+issue until further investigations for pkgsrc-2010Q3 release.
+
+Bug tracking: https://bugzilla.novell.com/show_bug.cgi?id=599485
+
+
+--- mono/metadata/domain.c.orig	2014-10-04 09:27:43.000000000 +0000
++++ mono/metadata/domain.c
+@@ -2359,7 +2359,18 @@ mono_context_set (MonoAppContext * new_c
+ MonoAppContext * 
+ mono_context_get (void)
+ {
+-	return GET_APPCONTEXT ();
++	MonoAppContext *retval = GET_APPCONTEXT();
++#ifdef __NetBSD__
++	/*
++	 * We gotta find out why context is sometime NULL for newly threads
++	 * Until then use default context if it's not set
++	 */
++	if(retval == NULL) {
++		retval = ves_icall_System_AppDomain_InternalGetDefaultContext();
++		mono_context_set(retval);
++	}
++#endif
++	return retval;
+ }
+ 
+ /* LOCKING: the caller holds the lock for this domain */
diff --git a/mono38/patches/patch-configure b/mono38/patches/patch-configure
new file mode 100644
index 0000000..0d7d309
--- /dev/null
+++ b/mono38/patches/patch-configure
@@ -0,0 +1,153 @@
+$NetBSD: patch-configure,v 1.3 2015/08/25 12:23:00 wiz Exp $
+
+--- configure.orig	2015-08-04 07:48:54.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
+@@ -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="/usr/X11R7/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"
diff --git a/mono38/patches/patch-da b/mono38/patches/patch-da
new file mode 100644
index 0000000..43c9770
--- /dev/null
+++ b/mono38/patches/patch-da
@@ -0,0 +1,157 @@
+$NetBSD: patch-da,v 1.6 2014/11/30 08:40:51 spz Exp $
+
+Support 64-bit SunOS.
+
+--- libgc/include/private/gcconfig.h.orig	2014-09-22 13:23:05.000000000 +0000
++++ libgc/include/private/gcconfig.h
+@@ -169,6 +169,11 @@
+ #    define SUNOS5
+ #    define mach_type_known
+ # endif
++# if defined(sun) && defined(__amd64)
++#    define X86_64
++#    define SUNOS5
++#    define mach_type_known
++# endif
+ # if (defined(__OS2__) || defined(__EMX__)) && defined(__32BIT__)
+ #    define I386
+ #    define OS2
+@@ -372,6 +377,9 @@
+ #   define OPENBSD
+ #   define mach_type_known
+ # endif
++# if defined(__DragonFly__)
++# define FREEBSD
++# endif
+ # if defined(FREEBSD) && (defined(i386) || defined(__i386__))
+ #   define I386
+ #   define mach_type_known
+@@ -711,6 +719,10 @@
+ #   endif
+ #   ifdef NETBSD
+ #	define OS_TYPE "NETBSD"
++#       ifndef USE_MMAP
++#         define USE_MMAP
++#       endif
++#       define USE_MMAP_ANON
+ #	define HEURISTIC2
+ #	ifdef __ELF__
+ #	  define DATASTART GC_data_start
+@@ -902,6 +914,10 @@
+ #   ifdef NETBSD
+ #     define ALIGNMENT 4
+ #     define OS_TYPE "NETBSD"
++#     ifndef USE_MMAP
++#       define USE_MMAP
++#     endif
++#     define USE_MMAP_ANON
+ #     define HEURISTIC2
+       extern char etext[];
+ #     define DATASTART GC_data_start
+@@ -1097,6 +1113,10 @@
+ #   endif
+ #   ifdef NETBSD
+ #     define OS_TYPE "NETBSD"
++#     ifndef USE_MMAP
++#       define USE_MMAP
++#     endif
++#     define USE_MMAP_ANON
+ #     define HEURISTIC2
+ #     ifdef __ELF__
+ #	define DATASTART GC_data_start
+@@ -1390,6 +1410,10 @@
+ #   endif
+ #   ifdef NETBSD
+ #	define OS_TYPE "NETBSD"
++#       ifndef USE_MMAP
++#           define USE_MMAP
++#       endif
++#       define USE_MMAP_ANON
+ #	ifdef __ELF__
+ #	    define DYNAMIC_LOADING
+ #	endif
+@@ -1551,6 +1575,10 @@
+ #   if defined(NETBSD)
+ #     define ALIGNMENT 4
+ #     define OS_TYPE "NETBSD"
++#     ifndef USE_MMAP
++#         define USE_MMAP
++#     endif
++#     define USE_MMAP_ANON
+ #     define HEURISTIC2
+ #     define USE_GENERIC_PUSH_REGS
+ #     ifdef __ELF__
+@@ -1677,6 +1705,10 @@
+ #   endif
+ #   ifdef NETBSD
+ #	define OS_TYPE "NETBSD"
++#       ifndef USE_MMAP
++#           define USE_MMAP
++#       endif
++#       define USE_MMAP_ANON
+ #	define HEURISTIC2
+ #	define DATASTART GC_data_start
+ #	define ELFCLASS32 32
+@@ -1944,6 +1976,10 @@
+ #   define ALIGNMENT 4
+ #   ifdef NETBSD
+ #       define OS_TYPE "NETBSD"
++#       ifndef USE_MMAP
++#           define USE_MMAP
++#       endif
++#       define USE_MMAP_ANON
+ #       define HEURISTIC2
+ #	ifdef __ELF__
+ #          define DATASTART GC_data_start
+@@ -2041,6 +2077,10 @@
+ #   endif
+ #   ifdef NETBSD
+ #      define OS_TYPE "NETBSD"
++#      ifndef USE_MMAP
++#          define USE_MMAP
++#      endif
++#      define USE_MMAP_ANON
+ #      define HEURISTIC2
+ #      define DATASTART GC_data_start
+ #       define USE_GENERIC_PUSH_REGS
+@@ -2159,6 +2199,10 @@
+ #   endif
+ #   ifdef NETBSD
+ #	define OS_TYPE "NETBSD"
++#       ifndef USE_MMAP
++#         define USE_MMAP
++#       endif
++#       define USE_MMAP_ANON
+ #	ifdef __ELF__
+ #	    define DYNAMIC_LOADING
+ #	endif
+@@ -2166,6 +2210,29 @@
+ 	extern char etext[];
+ #	define SEARCH_FOR_DATA_START
+ #   endif
++#   ifdef SUNOS5
++#	define OS_TYPE "SUNOS5"
++#	define ELF_CLASS ELFCLASS64
++	extern int _etext[], _end[];
++	extern ptr_t GC_SysVGetDataStart();
++#	define DATASTART GC_SysVGetDataStart(0x1000, _etext)
++#	define DATAEND (_end)
++#	include <sys/vmparam.h>
++#	ifdef USERLIMIT
++#	    define STACKBOTTOM USRSTACK
++#	else
++#	    define HEURISTIC2
++#	endif
++#	define DYNAMIC_LOADING
++#	if !defined(USE_MMAP) && defined(REDIRECT_MALLOC)
++#	    define USE_MMAP
++#	endif
++#	ifdef USE_MMAP
++#	    define HEAP_START (ptr_t)0x40000000
++#	else
++#	    define HEAP_START DATAEND
++#	endif
++#   endif
+ #   ifdef OPENBSD
+ #       define OS_TYPE "OPENBSD"
+ #       define ELF_CLASS ELFCLASS64
diff --git a/mono38/patches/patch-data_Makefile.in b/mono38/patches/patch-data_Makefile.in
new file mode 100644
index 0000000..a7586a2
--- /dev/null
+++ b/mono38/patches/patch-data_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-data_Makefile.in,v 1.1 2015/05/21 14:38:08 kefren Exp $
+
+Fix monodir
+
+--- data/Makefile.in.orig	2015-05-06 00:29:54.000000000 +0300
++++ data/Makefile.in	2015-05-11 15:40:33.000000000 +0300
+@@ -434,7 +434,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ SUBDIRS = net_2_0 net_4_0 net_4_5
+-monodir = $(sysconfdir)/mono
++monodir = $(datadir)/examples/mono
+ monolldbdir = $(libdir)/mono/lldb
+ EXTRA_DIST = \
+ 	config.in \
diff --git a/mono38/patches/patch-data_mono-nunit.pc.in b/mono38/patches/patch-data_mono-nunit.pc.in
new file mode 100644
index 0000000..aae04de
--- /dev/null
+++ b/mono38/patches/patch-data_mono-nunit.pc.in
@@ -0,0 +1,12 @@
+$NetBSD: patch-data_mono-nunit.pc.in,v 1.1 2015/05/23 06:20:20 kefren Exp $
+
+Fix nunit pkg-config path
+
+--- data/mono-nunit.pc.in.orig	2015-05-22 17:30:11.000000000 +0300
++++ data/mono-nunit.pc.in	2015-05-22 17:30:49.000000000 +0300
+@@ -6,4 +6,4 @@
+ Name: Mono NUnit
+ Description: Mono's version of NUnit
+ Version: @VERSION@
+-Libs: -r:${libdir}/mono/2.0/nunit.core.dll -r:${libdir}/mono/2.0/nunit.core.interfaces.dll -r:${libdir}/mono/2.0/nunit.core.extensions.dll -r:${libdir}/mono/2.0/nunit.framework.dll -r:${libdir}/mono/2.0/nunit.framework.extensions.dll -r:${libdir}/mono/2.0/nunit.mocks.dll -r:${libdir}/mono/2.0/nunit.util.dll -r:${libdir}/mono/2.0/nunit-console-runner.dll 
++Libs: -r:${libdir}/mono/4.5/nunit.core.dll -r:${libdir}/mono/4.5/nunit.core.interfaces.dll -r:${libdir}/mono/4.5/nunit.core.extensions.dll -r:${libdir}/mono/4.5/nunit.framework.dll -r:${libdir}/mono/4.5/nunit.framework.extensions.dll -r:${libdir}/mono/4.5/nunit.mocks.dll -r:${libdir}/mono/4.5/nunit.util.dll -r:${libdir}/mono/4.5/nunit-console-runner.dll 
diff --git a/mono38/patches/patch-data_net_4_0_Browsers_Makefile.in b/mono38/patches/patch-data_net_4_0_Browsers_Makefile.in
new file mode 100644
index 0000000..b51c002
--- /dev/null
+++ b/mono38/patches/patch-data_net_4_0_Browsers_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-data_net_4_0_Browsers_Makefile.in,v 1.1 2015/05/21 14:38:08 kefren Exp $
+
+Path fix
+
+--- data/net_4_0/Browsers/Makefile.in.orig	2015-05-21 17:13:51.000000000 +0300
++++ data/net_4_0/Browsers/Makefile.in	2015-05-21 17:14:18.000000000 +0300
+@@ -355,7 +355,7 @@ target_vendor = @target_vendor@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-monodir = $(sysconfdir)/mono/4.0/Browsers
++monodir = $(datadir)/examples/mono/4.0/Browsers
+ EXTRA_DIST = ../../Browsers/Compat.browser
+ mono_DATA = ../../Browsers/Compat.browser
+ all: all-am
diff --git a/mono38/patches/patch-data_net_4_5_Browsers_Makefile.in b/mono38/patches/patch-data_net_4_5_Browsers_Makefile.in
new file mode 100644
index 0000000..1ea724a
--- /dev/null
+++ b/mono38/patches/patch-data_net_4_5_Browsers_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-data_net_4_5_Browsers_Makefile.in,v 1.1 2015/05/21 14:38:08 kefren Exp $
+
+Path fix
+
+--- data/net_4_5/Browsers/Makefile.in.orig	2015-05-21 17:12:06.000000000 +0300
++++ data/net_4_5/Browsers/Makefile.in	2015-05-21 17:12:30.000000000 +0300
+@@ -355,7 +355,7 @@ target_vendor = @target_vendor@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-monodir = $(sysconfdir)/mono/4.5/Browsers
++monodir = $(datadir)/examples/mono/4.5/Browsers
+ EXTRA_DIST = ../../Browsers/Compat.browser
+ mono_DATA = ../../Browsers/Compat.browser
+ all: all-am
diff --git a/mono38/patches/patch-data_net_4_5_Makefile.in b/mono38/patches/patch-data_net_4_5_Makefile.in
new file mode 100644
index 0000000..bb3535c
--- /dev/null
+++ b/mono38/patches/patch-data_net_4_5_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-data_net_4_5_Makefile.in,v 1.1 2015/05/21 14:38:08 kefren Exp $
+
+Path fix
+
+--- data/net_4_5/Makefile.in.orig	2015-05-21 15:22:23.000000000 +0300
++++ data/net_4_5/Makefile.in	2015-05-21 15:23:00.000000000 +0300
+@@ -416,7 +416,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ SUBDIRS = Browsers
+-monodir = $(sysconfdir)/mono/4.5
++monodir = $(datadir)/examples/mono/4.5
+ EXTRA_DIST = machine.config \
+ 	      web.config \
+ 	      DefaultWsdlHelpGenerator.aspx \
diff --git a/mono38/patches/patch-db b/mono38/patches/patch-db
new file mode 100644
index 0000000..0ba84b5
--- /dev/null
+++ b/mono38/patches/patch-db
@@ -0,0 +1,37 @@
+$NetBSD: patch-db,v 1.10 2015/05/21 14:38:08 kefren Exp $
+
+--- mono/utils/mono-proclib.c.orig	2015-04-30 13:28:36.000000000 +0300
++++ mono/utils/mono-proclib.c	2015-05-11 15:45:04.000000000 +0300
+@@ -19,24 +19,29 @@
+ #include <process.h>
+ #endif
+ 
+-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
++#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+ #include <sys/errno.h>
+ #include <sys/param.h>
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
++#ifndef __DragonFly__
+ #include <sys/proc.h>
++#endif
+ #if defined(__APPLE__)
+ #include <mach/mach.h>
+ #endif
+ #ifdef HAVE_SYS_USER_H
+ #include <sys/user.h>
+ #endif
+-#ifdef HAVE_STRUCT_KINFO_PROC_KP_PROC
++#if defined(HAVE_STRUCT_KINFO_PROC_KP_PROC) && !defined(__NetBSD__)
+ #    define kinfo_pid_member kp_proc.p_pid
+ #    define kinfo_name_member kp_proc.p_comm
+-#elif defined(__OpenBSD__)
++#elif defined(__OpenBSD__) || defined(__NetBSD__)
+ #    define kinfo_pid_member p_pid
+ #    define kinfo_name_member p_comm
++#elif defined(__DragonFly__)
++#    define kinfo_pid_member kp_pid
++#    define kinfo_name_member kp_comm
+ #else
+ #define kinfo_pid_member ki_pid
+ #define kinfo_name_member ki_comm
diff --git a/mono38/patches/patch-dc b/mono38/patches/patch-dc
new file mode 100644
index 0000000..1a68aaf
--- /dev/null
+++ b/mono38/patches/patch-dc
@@ -0,0 +1,12 @@
+$NetBSD: patch-dc,v 1.7 2014/11/30 08:40:51 spz Exp $
+--- mono/mini/mini-x86.h.orig	2014-10-04 09:27:43.000000000 +0000
++++ mono/mini/mini-x86.h
+@@ -48,7 +48,7 @@ struct sigcontext {
+ #endif /* __HAIKU__ */
+ 
+ #if defined( __linux__) || defined(__sun) || defined(__APPLE__) || defined(__NetBSD__) || \
+-       defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
++       defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ #define MONO_ARCH_USE_SIGACTION
+ #endif
+ 
diff --git a/mono38/patches/patch-de b/mono38/patches/patch-de
new file mode 100644
index 0000000..53af8da
--- /dev/null
+++ b/mono38/patches/patch-de
@@ -0,0 +1,12 @@
+$NetBSD: patch-de,v 1.5 2014/11/30 08:40:51 spz Exp $
+--- ikvm-native/jni.c.orig	2014-09-22 13:23:05.000000000 +0000
++++ ikvm-native/jni.c
+@@ -28,7 +28,7 @@
+ #include <malloc.h>
+ #define ALLOCA _alloca
+ #else
+-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ #include <stdlib.h>
+ #else
+ #include <alloca.h>
diff --git a/mono38/patches/patch-df b/mono38/patches/patch-df
new file mode 100644
index 0000000..5201698
--- /dev/null
+++ b/mono38/patches/patch-df
@@ -0,0 +1,12 @@
+$NetBSD: patch-df,v 1.5 2014/11/30 08:40:51 spz Exp $
+--- support/mph.h.orig	2014-09-22 13:23:09.000000000 +0000
++++ support/mph.h
+@@ -36,7 +36,7 @@
+ #include <stdint.h>             /* for SIZE_MAX */
+ #endif
+ 
+-#if __APPLE__ || __BSD__ || __FreeBSD__ || __OpenBSD__
++#if __APPLE__ || __BSD__ || __FreeBSD__ || __OpenBSD__ || __NetBSD__ || __DragonFly__
+ #define MPH_ON_BSD
+ #endif
+ 
diff --git a/mono38/patches/patch-dh b/mono38/patches/patch-dh
new file mode 100644
index 0000000..b9d2dad
--- /dev/null
+++ b/mono38/patches/patch-dh
@@ -0,0 +1,12 @@
+$NetBSD: patch-dh,v 1.5 2014/11/30 08:40:51 spz Exp $
+--- mono/mini/mini-x86.c.orig	2014-10-04 09:27:43.000000000 +0000
++++ mono/mini/mini-x86.c
+@@ -242,7 +242,7 @@ static const guint32 *callconv_param_reg
+ 	}
+ }
+ 
+-#if defined(TARGET_WIN32) || defined(__APPLE__) || defined(__FreeBSD__)
++#if defined(TARGET_WIN32) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
+ #define SMALL_STRUCTS_IN_REGS
+ static X86_Reg_No return_regs [] = { X86_EAX, X86_EDX };
+ #endif
diff --git a/mono38/patches/patch-di b/mono38/patches/patch-di
new file mode 100644
index 0000000..dec8138
--- /dev/null
+++ b/mono38/patches/patch-di
@@ -0,0 +1,12 @@
+$NetBSD: patch-di,v 1.6 2014/11/30 08:40:51 spz Exp $
+--- mono/tests/libtest.c.orig	2014-09-22 13:23:09.000000000 +0000
++++ mono/tests/libtest.c
+@@ -3463,7 +3463,7 @@ mono_test_marshal_ccw_itest (MonoComObje
+  * mono_method_get_unmanaged_thunk tests
+  */
+ 
+-#if defined(__GNUC__) && ((defined(__i386__) && (defined(__linux__) || defined (__APPLE__)) || defined (__FreeBSD__) || defined(__OpenBSD__)) || (defined(__ppc__) && defined(__APPLE__)))
++#if defined(__GNUC__) && ((defined(__i386__) && (defined(__linux__) || defined (__APPLE__)) || defined (__NetBSD__) || defined (__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)) || (defined(__ppc__) && defined(__APPLE__)))
+ #define ALIGN(size) __attribute__ ((aligned(size)))
+ #else
+ #define ALIGN(size)
diff --git a/mono38/patches/patch-dj b/mono38/patches/patch-dj
new file mode 100644
index 0000000..ebab757
--- /dev/null
+++ b/mono38/patches/patch-dj
@@ -0,0 +1,16 @@
+$NetBSD: patch-dj,v 1.3 2014/11/30 08:40:51 spz Exp $
+
+Although DragonFly has a POSIX.1e implementation, it's too old at the
+moment to be usable here.
+
+--- support/sys-xattr.c.orig	2014-09-22 13:23:09.000000000 +0000
++++ support/sys-xattr.c
+@@ -11,7 +11,7 @@
+ 
+ #include <config.h>
+ 
+-#if defined(HAVE_SYS_XATTR_H) || defined(HAVE_ATTR_ATTR_H) || defined(HAVE_SYS_EXTATTR_H)
++#if defined(HAVE_SYS_XATTR_H) || defined(HAVE_ATTR_ATTR_H) || (defined(HAVE_SYS_EXTATTR_H) && !defined(__DragonFly__))
+ 
+ #include <sys/types.h>
+ 
diff --git a/mono38/patches/patch-dk b/mono38/patches/patch-dk
new file mode 100644
index 0000000..11c17c7
--- /dev/null
+++ b/mono38/patches/patch-dk
@@ -0,0 +1,12 @@
+$NetBSD: patch-dk,v 1.4 2014/11/30 08:40:51 spz Exp $
+
+--- libgc/include/gc.h.orig	2014-09-22 13:23:05.000000000 +0000
++++ libgc/include/gc.h
+@@ -526,6 +526,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_of
+ /* This may also be desirable if it is possible but expensive to	*/
+ /* retrieve the call chain.						*/
+ #if (defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__) \
++     || defined(__DragonFly__) \
+      || defined(__FreeBSD__)) & !defined(GC_CAN_SAVE_CALL_STACKS)
+ # define GC_ADD_CALLER
+ # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) 
diff --git a/mono38/patches/patch-dl b/mono38/patches/patch-dl
new file mode 100644
index 0000000..64f0b10
--- /dev/null
+++ b/mono38/patches/patch-dl
@@ -0,0 +1,34 @@
+$NetBSD: patch-dl,v 1.5 2014/11/30 08:40:51 spz Exp $
+
+SunOS needs unistd.h for sysconf().
+
+--- mono/utils/dlmalloc.c.orig	2014-09-22 13:23:09.000000000 +0000
++++ mono/utils/dlmalloc.c
+@@ -1208,11 +1208,14 @@ int mspace_mallopt(int, int);
+ #ifndef LACKS_UNISTD_H
+ #include <unistd.h>     /* for sbrk */
+ #else /* LACKS_UNISTD_H */
+-#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
++#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) || !defined(__DragonFly__)
+ extern void*     sbrk(ptrdiff_t);
+ #endif /* FreeBSD etc */
+ #endif /* LACKS_UNISTD_H */
+ #endif /* HAVE_MMAP */
++#ifdef __sun
++#include <unistd.h> /* for sysconf */
++#endif
+ 
+ #ifndef WIN32
+ #ifndef malloc_getpagesize
+@@ -1375,7 +1378,11 @@ static int win32munmap(void* ptr, size_t
+ #endif /* HAVE_MMAP */
+ 
+ #if HAVE_MMAP && HAVE_MREMAP
++#ifdef linux
+ #define CALL_MREMAP(addr, osz, nsz, mv) mremap((addr), (osz), (nsz), (mv))
++#else
++#define CALL_MREMAP(addr, osz, nsz, mv) mremap((addr), (osz), (addr), (nsz), (mv))
++#endif
+ #else  /* HAVE_MMAP && HAVE_MREMAP */
+ #define CALL_MREMAP(addr, osz, nsz, mv) MFAIL
+ #endif /* HAVE_MMAP && HAVE_MREMAP */
diff --git a/mono38/patches/patch-do b/mono38/patches/patch-do
new file mode 100644
index 0000000..0e55003
--- /dev/null
+++ b/mono38/patches/patch-do
@@ -0,0 +1,13 @@
+$NetBSD: patch-do,v 1.3 2014/11/30 08:40:51 spz Exp $
+
+--- libgc/headers.c.orig	2014-09-22 13:23:05.000000000 +0000
++++ libgc/headers.c
+@@ -139,6 +139,8 @@ void GC_init_headers()
+     register unsigned i;
+     
+     GC_all_nils = (bottom_index *)GC_scratch_alloc((word)sizeof(bottom_index));
++    if (GC_all_nils == NULL)
++	ABORT("out of memory");
+     BZERO(GC_all_nils, sizeof(bottom_index));
+     for (i = 0; i < TOP_SZ; i++) {
+         GC_top_index[i] = GC_all_nils;
diff --git a/mono38/patches/patch-libgc_misc.c b/mono38/patches/patch-libgc_misc.c
new file mode 100644
index 0000000..5d69eca
--- /dev/null
+++ b/mono38/patches/patch-libgc_misc.c
@@ -0,0 +1,36 @@
+$NetBSD: patch-libgc_misc.c,v 1.1 2015/06/15 09:27:29 joerg Exp $
+
+--- libgc/misc.c.orig	2015-06-13 23:08:46.000000000 +0000
++++ libgc/misc.c
+@@ -14,10 +14,10 @@
+  */
+ /* Boehm, July 31, 1995 5:02 pm PDT */
+ 
+-
+ #include <stdio.h>
+ #include <limits.h>
+ #ifndef _WIN32_WCE
++#include <sys/resource.h>
+ #include <signal.h>
+ #endif
+ 
+@@ -766,6 +766,19 @@ void GC_init_inner()
+ 	  initial_heap_sz = divHBLKSZ(initial_heap_sz);
+ 	}
+     }
++#ifdef RLIMIT_AS
++    {
++        /*
++         * If there is a VA limit for the process,
++         * keep the heap under 75% if that limit.
++         */
++	struct rlimit lim;
++	if (!getrlimit(RLIMIT_AS, &lim)) {
++	  if (lim.rlim_cur != RLIM_INFINITY && lim.rlim_cur == (word)lim.rlim_cur)
++	    GC_set_max_heap_size(lim.rlim_cur / 2 + lim.rlim_cur / 4);
++	}
++    }
++#endif
+     {
+ 	char * sz_str = GETENV("GC_MAXIMUM_HEAP_SIZE");
+ 	if (sz_str != NULL) {
diff --git a/mono38/patches/patch-man_mprof-report.1 b/mono38/patches/patch-man_mprof-report.1
new file mode 100644
index 0000000..76a3e9e
--- /dev/null
+++ b/mono38/patches/patch-man_mprof-report.1
@@ -0,0 +1,12 @@
+$NetBSD: patch-man_mprof-report.1,v 1.3 2014/11/30 08:40:51 spz Exp $
+
+Fix mandoc -Tlint warnings.
+
+--- man/mprof-report.1.orig	2014-09-22 13:23:05.000000000 +0000
++++ man/mprof-report.1
+@@ -1,4 +1,4 @@
+-.TH mprof-report 1 "" 
++.TH MPROF-REPORT 1 ""
+ .SH The Mono log profiler
+ .PP
+ The Mono \f[I]log\f[] profiler can be used to collect a lot of
diff --git a/mono38/patches/patch-mono_dis_Makefile.in b/mono38/patches/patch-mono_dis_Makefile.in
new file mode 100644
index 0000000..144a6f0
--- /dev/null
+++ b/mono38/patches/patch-mono_dis_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-mono_dis_Makefile.in,v 1.1 2015/05/21 14:38:08 kefren Exp $
+
+--- mono/dis/Makefile.in.orig	2015-05-11 16:34:26.000000000 +0300
++++ mono/dis/Makefile.in	2015-05-11 16:34:57.000000000 +0300
+@@ -428,7 +428,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
+-@SUPPORT_SGEN_FALSE@metadata_lib = $(top_builddir)/mono/metadata/libmonoruntime-static.a
++@SUPPORT_SGEN_FALSE@metadata_lib = $(top_builddir)/mono/metadata/libmonoruntime-static.la
+ @SUPPORT_SGEN_TRUE@metadata_lib = $(top_builddir)/mono/metadata/libmonoruntimesgen-static.la
+ @SUPPORT_SGEN_FALSE@gc_lib = $(LIBGC_STATIC_LIBS)
+ runtime_lib = \
diff --git a/mono38/patches/patch-mono_metadata_icall.c b/mono38/patches/patch-mono_metadata_icall.c
new file mode 100644
index 0000000..4730472
--- /dev/null
+++ b/mono38/patches/patch-mono_metadata_icall.c
@@ -0,0 +1,22 @@
+$NetBSD: patch-mono_metadata_icall.c,v 1.1 2015/05/21 14:38:08 kefren Exp $
+
+strtod hack until someone has time to debug mono_strtod
+
+--- mono/metadata/icall.c.orig	2015-05-21 14:20:36.000000000 +0300
++++ mono/metadata/icall.c	2015-05-21 14:22:00.000000000 +0300
+@@ -127,10 +127,15 @@ mono_double_ParseImpl (char *ptr, double
+ 	*result = 0.0;
+ 
+ 	if (*ptr){
++#if defined(__NetBSD__)
++		/* XXX WIP: mono_strtod spins 100% CPU on NetBSD */
++		*result = strtod(ptr, &endptr);
++#else
+ 		/* mono_strtod () is not thread-safe */
+ 		mono_mutex_lock (&mono_strtod_mutex);
+ 		*result = mono_strtod (ptr, &endptr);
+ 		mono_mutex_unlock (&mono_strtod_mutex);
++#endif
+ 	}
+ 
+ 	if (!*ptr || (endptr && *endptr))
diff --git a/mono38/patches/patch-mono_metadata_mono-perfcounters.c b/mono38/patches/patch-mono_metadata_mono-perfcounters.c
new file mode 100644
index 0000000..ee7c6a1
--- /dev/null
+++ b/mono38/patches/patch-mono_metadata_mono-perfcounters.c
@@ -0,0 +1,52 @@
+$NetBSD: patch-mono_metadata_mono-perfcounters.c,v 1.2 2015/05/22 06:55:40 kefren Exp $
+
+Correct mibs initialization for NetBSD
+
+--- mono/metadata/mono-perfcounters.c.orig	2015-04-26 19:28:39.000000000 +0300
++++ mono/metadata/mono-perfcounters.c	2015-05-14 19:07:18.000000000 +0300
+@@ -33,6 +33,9 @@
+ #if defined (__NetBSD__) || defined (__APPLE__)
+ #include <sys/sysctl.h>
+ #endif
++#if defined(__NetBSD__)
++#include <sys/vmmeter.h>
++#endif
+ #include "metadata/mono-perfcounters.h"
+ #include "metadata/appdomain.h"
+ #include "metadata/object-internals.h"
+@@ -473,11 +476,7 @@ mono_determine_physical_ram_available_si
+ #elif defined (__NetBSD__)
+ 	struct vmtotal vm_total;
+ 	guint64 page_size;
+-	int mib [2];
+-	size_t len;
+-
+-
+-	mib = {
++	int mib [2] = {
+ 		CTL_VM,
+ #if defined (VM_METER)
+ 		VM_METER
+@@ -485,17 +484,15 @@ mono_determine_physical_ram_available_si
+ 		VM_TOTAL
+ #endif
+ 	};
+-	len = sizeof (vm_total);
++	size_t len = sizeof (vm_total);
+ 	sysctl (mib, 2, &vm_total, &len, NULL, 0);
+ 
+-	mib = {
+-		CTL_HW,
+-		HW_PAGESIZE
+-	};
++	mib[0] = CTL_HW;
++	mib[1] = HW_PAGESIZE;
+ 	len = sizeof (page_size);
+-	sysctl (mib, 2, &page_size, &len, NULL, 0
++	sysctl (mib, 2, &page_size, &len, NULL, 0);
+ 
+-	return ((guint64) value.t_free * page_size) / 1024;
++	return ((guint64) vm_total.t_free * page_size) / 1024;
+ #elif defined (__APPLE__)
+ 	mach_msg_type_number_t count = HOST_VM_INFO_COUNT;
+ 	vm_statistics_data_t vmstat;
diff --git a/mono38/patches/patch-mono_metadata_mono-route.c b/mono38/patches/patch-mono_metadata_mono-route.c
new file mode 100644
index 0000000..bc6891b
--- /dev/null
+++ b/mono38/patches/patch-mono_metadata_mono-route.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-mono_metadata_mono-route.c,v 1.1 2015/05/21 14:38:08 kefren Exp $
+
+Fix includes
+
+--- mono/metadata/mono-route.c.orig	2015-05-11 16:20:29.000000000 +0300
++++ mono/metadata/mono-route.c	2015-05-11 16:20:39.000000000 +0300
+@@ -8,6 +8,7 @@
+ 
+ #if defined(PLATFORM_MACOSX) || defined(PLATFORM_BSD)
+ 
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <net/if.h>
+ #include <net/if_dl.h>
diff --git a/mono38/patches/patch-mono_mini_mini-arm.c b/mono38/patches/patch-mono_mini_mini-arm.c
new file mode 100644
index 0000000..acc8503
--- /dev/null
+++ b/mono38/patches/patch-mono_mini_mini-arm.c
@@ -0,0 +1,72 @@
+$NetBSD: patch-mono_mini_mini-arm.c,v 1.5 2015/05/21 14:38:08 kefren Exp $
+
+--- mono/mini/mini-arm.c.orig	2015-04-30 13:27:46.000000000 +0300
++++ mono/mini/mini-arm.c	2015-05-11 15:55:15.000000000 +0300
+@@ -56,6 +56,11 @@
+ #define IS_VFP (TRUE)
+ #endif
+ 
++#ifdef __NetBSD__
++#include <machine/sysarch.h>
++#include <sys/sysctl.h>
++#endif
++
+ #if defined(__ARM_EABI__) && defined(__linux__) && !defined(PLATFORM_ANDROID) && !defined(__native_client__)
+ #define HAVE_AEABI_READ_TP 1
+ #endif
+@@ -922,6 +927,10 @@ void
+ mono_arch_init (void)
+ {
+ 	const char *cpu_arch;
++#if defined(__NetBSD__)
++	char *s = NULL;
++	size_t len;
++#endif
+ 
+ 	mono_mutex_init_recursive (&mini_arch_mutex);
+ #ifdef MONO_ARCH_SOFT_DEBUG_SUPPORTED
+@@ -986,6 +995,32 @@ mono_arch_init (void)
+ 	   have a way to properly detect CPU features on it. */
+ 	thumb_supported = TRUE;
+ 	iphone_abi = TRUE;
++#elif defined(__NetBSD__)
++	if (sysctlbyname("machdep.cpu_arch", NULL, &len, NULL, 0) < 0) {
++		/* sysctlbyname error */
++		return;
++	}
++	s = malloc(len);
++	if (sysctlbyname("machdep.cpu_arch", s, &len, NULL, 0) < 0) {
++		/* sysctlbyname error */
++		free(s);
++		return;
++	}
++
++	switch (s[0]) {
++	case '7':
++		v7_supported = TRUE;
++		/* FALLTHROUGH */
++	case '6':
++		v6_supported = TRUE;
++		/* FALLTHROUGH */
++	case '5':
++		v5_supported = TRUE;
++		break;
++	}
++
++	free(s);
++	
+ #else
+ 	thumb_supported = mono_hwcap_arm_has_thumb;
+ 	thumb2_supported = mono_hwcap_arm_has_thumb2;
+@@ -1196,6 +1231,11 @@ mono_arch_flush_icache (guint8 *code, gi
+ #ifdef MONO_CROSS_COMPILE
+ #elif __APPLE__
+ 	sys_icache_invalidate (code, size);
++#elif defined(__NetBSD__)
++	struct arm_sync_icache_args args;
++	args.addr = (uintptr_t)code;
++	args.len = (size_t)size;
++	sysarch(ARM_SYNC_ICACHE, &args);
+ #elif __GNUC_PREREQ(4, 3)
+     __builtin___clear_cache (code, code + size);
+ #elif __GNUC_PREREQ(4, 1)
diff --git a/mono38/patches/patch-mono_profiler_proflog.c b/mono38/patches/patch-mono_profiler_proflog.c
new file mode 100644
index 0000000..4386900
--- /dev/null
+++ b/mono38/patches/patch-mono_profiler_proflog.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-mono_profiler_proflog.c,v 1.2 2014/11/30 08:40:51 spz Exp $
+
+SunOS libelf does not support largefile.
+
+--- mono/profiler/proflog.c.orig	2014-09-22 13:23:09.000000000 +0000
++++ mono/profiler/proflog.c
+@@ -38,6 +38,10 @@
+ #ifdef HAVE_EXECINFO_H
+ #include <execinfo.h>
+ #endif
++#ifdef __sun
++#undef _FILE_OFFSET_BITS
++#define _FILE_OFFSET_BITS 32
++#endif
+ #ifdef HAVE_LINK_H
+ #include <link.h>
+ #endif
diff --git a/mono38/patches/patch-mono_unit-tests_Makefile.in b/mono38/patches/patch-mono_unit-tests_Makefile.in
new file mode 100644
index 0000000..2b13c53
--- /dev/null
+++ b/mono38/patches/patch-mono_unit-tests_Makefile.in
@@ -0,0 +1,21 @@
+$NetBSD: patch-mono_unit-tests_Makefile.in,v 1.2 2014/11/30 08:40:51 spz Exp $
+
+--- mono/unit-tests/Makefile.in.orig	2014-10-04 09:29:01.000000000 +0000
++++ mono/unit-tests/Makefile.in
+@@ -79,14 +79,8 @@ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+ target_triplet = @target@
+-@CROSS_COMPILE_FALSE@@HOST_WIN32_FALSE@@PLATFORM_GNU_FALSE@@SUPPORT_BOEHM_TRUE@noinst_PROGRAMS = test-sgen-qsort$(EXEEXT) \
+-@CROSS_COMPILE_FALSE@@HOST_WIN32_FALSE@@PLATFORM_GNU_FALSE@@SUPPORT_BOEHM_TRUE@	test-gc-memfuncs$(EXEEXT) \
+-@CROSS_COMPILE_FALSE@@HOST_WIN32_FALSE@@PLATFORM_GNU_FALSE@@SUPPORT_BOEHM_TRUE@	test-mono-linked-list-set$(EXEEXT) \
+-@CROSS_COMPILE_FALSE@@HOST_WIN32_FALSE@@PLATFORM_GNU_FALSE@@SUPPORT_BOEHM_TRUE@	test-conc-hashtable$(EXEEXT)
+-@CROSS_COMPILE_FALSE@@HOST_WIN32_FALSE@@PLATFORM_GNU_FALSE@@SUPPORT_BOEHM_TRUE@TESTS = test-sgen-qsort$(EXEEXT) \
+-@CROSS_COMPILE_FALSE@@HOST_WIN32_FALSE@@PLATFORM_GNU_FALSE@@SUPPORT_BOEHM_TRUE@	test-gc-memfuncs$(EXEEXT) \
+-@CROSS_COMPILE_FALSE@@HOST_WIN32_FALSE@@PLATFORM_GNU_FALSE@@SUPPORT_BOEHM_TRUE@	test-mono-linked-list-set$(EXEEXT) \
+-@CROSS_COMPILE_FALSE@@HOST_WIN32_FALSE@@PLATFORM_GNU_FALSE@@SUPPORT_BOEHM_TRUE@	test-conc-hashtable$(EXEEXT)
++@CROSS_COMPILE_FALSE@@HOST_WIN32_FALSE@@PLATFORM_GNU_FALSE@@SUPPORT_BOEHM_TRUE@noinst_PROGRAMS =
++@CROSS_COMPILE_FALSE@@HOST_WIN32_FALSE@@PLATFORM_GNU_FALSE@@SUPPORT_BOEHM_TRUE@TESTS =
+ subdir = mono/unit-tests
+ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ 	$(top_srcdir)/mkinstalldirs $(top_srcdir)/depcomp \
diff --git a/mono38/patches/patch-mono_utils_Makefile.in b/mono38/patches/patch-mono_utils_Makefile.in
new file mode 100644
index 0000000..ab75c1f
--- /dev/null
+++ b/mono38/patches/patch-mono_utils_Makefile.in
@@ -0,0 +1,43 @@
+$NetBSD: patch-mono_utils_Makefile.in,v 1.3 2015/05/26 12:19:46 jperkin Exp $
+
+Add NetBSD and Solaris threads
+
+--- mono/utils/Makefile.in.orig	2015-04-26 16:29:35.000000000 +0000
++++ mono/utils/Makefile.in
+@@ -146,6 +146,7 @@ am__libmonoutils_la_SOURCES_DIST = mono-
+ 	mono-threads-mach.c mono-threads-mach-helper.c \
+ 	mono-threads-windows.c mono-threads-linux.c \
+ 	mono-threads-freebsd.c mono-threads-openbsd.c \
++	mono-threads-netbsd.c mono-threads-dragonfly.c mono-threads-solaris.c \
+ 	mono-threads-android.c mono-threads.h mono-tls.h mono-tls.c \
+ 	linux_magic.h mono-memory-model.h atomic.h atomic.c \
+ 	mono-hwcap.h mono-hwcap.c bsearch.h bsearch.c \
+@@ -174,7 +175,7 @@ am__objects_1 = mono-md5.lo mono-sha1.lo
+ 	mono-linked-list-set.lo mono-threads.lo mono-threads-posix.lo \
+ 	mono-threads-mach.lo mono-threads-mach-helper.lo \
+ 	mono-threads-windows.lo mono-threads-linux.lo \
+-	mono-threads-freebsd.lo mono-threads-openbsd.lo \
++	mono-threads-freebsd.lo mono-threads-openbsd.lo mono-threads-netbsd.lo mono-threads-solaris.lo \
+ 	mono-threads-android.lo mono-tls.lo atomic.lo mono-hwcap.lo \
+ 	bsearch.lo mono-conc-hashtable.lo sha1.lo json.lo \
+ 	networking.lo networking-posix.lo networking-fallback.lo \
+@@ -600,6 +601,9 @@ monoutils_sources = \
+ 	mono-threads-linux.c	\
+ 	mono-threads-freebsd.c	\
+ 	mono-threads-openbsd.c	\
++	mono-threads-solaris.c	\
++	mono-threads-netbsd.c	\
++	mono-threads-dragonfly.c	\
+ 	mono-threads-android.c	\
+ 	mono-threads.h	\
+ 	mono-tls.h	\
+@@ -753,6 +757,9 @@ distclean-compile:
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mono-threads-mach-helper.Plo@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mono-threads-mach.Plo@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mono-threads-openbsd.Plo@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mono-threads-solaris.Plo@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mono-threads-netbsd.Plo@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mono-threads-dragonfly.Plo@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mono-threads-posix.Plo@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mono-threads-windows.Plo@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mono-threads.Plo@am__quote@
diff --git a/mono38/patches/patch-mono_utils_mono-compiler.h b/mono38/patches/patch-mono_utils_mono-compiler.h
new file mode 100644
index 0000000..1b18e1e
--- /dev/null
+++ b/mono38/patches/patch-mono_utils_mono-compiler.h
@@ -0,0 +1,38 @@
+$NetBSD: patch-mono_utils_mono-compiler.h,v 1.3 2014/11/30 08:40:51 spz Exp $
+
+Make sure that TLS variables are actually emitted, since the compiler
+doesn't see all references.
+
+--- mono/utils/mono-compiler.h.orig	2014-10-04 09:27:43.000000000 +0000
++++ mono/utils/mono-compiler.h
+@@ -36,7 +36,7 @@
+ #if defined(PIC)
+ 
+ #ifdef PIC_INITIAL_EXEC
+-#define MONO_TLS_FAST __attribute__((tls_model("initial-exec")))
++#define MONO_TLS_FAST __attribute__((tls_model("initial-exec"), used))
+ #else
+ #if defined (__powerpc__)
+ /* local dynamic requires a call to __tls_get_addr to look up the
+@@ -48,18 +48,18 @@
+    For now we will disable this. */
+ #define MONO_TLS_FAST
+ #else
+-#define MONO_TLS_FAST __attribute__((tls_model("local-dynamic")))
++#define MONO_TLS_FAST __attribute__((tls_model("local-dynamic"), used))
+ #endif
+ #endif
+ 
+ #else
+ 
+-#define MONO_TLS_FAST __attribute__((tls_model("local-exec")))
++#define MONO_TLS_FAST __attribute__((tls_model("local-exec"), used))
+ 
+ #endif
+ 
+ #else
+-#define MONO_TLS_FAST 
++#define MONO_TLS_FAST
+ #endif
+ 
+ #if defined(__GNUC__) && defined(__i386__)
diff --git a/mono38/patches/patch-mono_utils_mono-mmap.c b/mono38/patches/patch-mono_utils_mono-mmap.c
new file mode 100644
index 0000000..40096a6
--- /dev/null
+++ b/mono38/patches/patch-mono_utils_mono-mmap.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-mono_utils_mono-mmap.c,v 1.2 2014/11/30 08:40:51 spz Exp $
+
+Use posix_madvise on SunOS.
+
+--- mono/utils/mono-mmap.c.orig	2014-09-22 13:23:09.000000000 +0000
++++ mono/utils/mono-mmap.c
+@@ -431,7 +431,7 @@ mono_mprotect (void *addr, size_t length
+ 			memset (addr, 0, length);
+ #else
+ 		memset (addr, 0, length);
+-#ifdef HAVE_MADVISE
++#if defined(HAVE_MADVISE) && !defined(__sun)
+ 		madvise (addr, length, MADV_DONTNEED);
+ 		madvise (addr, length, MADV_FREE);
+ #else
diff --git a/mono38/patches/patch-mono_utils_mono-semaphore.c b/mono38/patches/patch-mono_utils_mono-semaphore.c
new file mode 100644
index 0000000..77d5427
--- /dev/null
+++ b/mono38/patches/patch-mono_utils_mono-semaphore.c
@@ -0,0 +1,55 @@
+$NetBSD: patch-mono_utils_mono-semaphore.c,v 1.1 2015/05/21 14:38:08 kefren Exp $
+
+A grotty implementation of sem_timedwait for NetBSD
+
+--- mono/utils/mono-semaphore.c.orig	2015-04-24 04:26:18.000000000 +0300
++++ mono/utils/mono-semaphore.c	2015-05-21 16:19:49.000000000 +0300
+@@ -25,6 +25,9 @@
+ #  elif defined(__native_client__) && defined(USE_NEWLIB)
+ #    define TIMESPEC struct timespec
+ #    define WAIT_BLOCK(a, b) sem_trywait(a)
++#  elif defined(__NetBSD__)
++#    define TIMESPEC struct timespec
++#    define WAIT_BLOCK(a, b) netbsd_sem_timedwait(a, b)
+ #  else
+ #    define TIMESPEC struct timespec
+ #    define WAIT_BLOCK(a,b) sem_timedwait (a, b)
+@@ -34,6 +37,38 @@
+ #define NSEC_PER_SEC 1000000000
+ #endif
+ 
++#if defined(__NetBSD__)
++
++/* XXX: Actually I think NetBSD-current has sem_timedwait */
++int netbsd_sem_timedwait(sem_t *sem, TIMESPEC *tv);
++
++int
++netbsd_sem_timedwait(sem_t *sem, TIMESPEC *tv)
++{
++	struct timeval tval;
++
++	TIMESPEC_TO_TIMEVAL(&tval, tv);
++
++	while(sem_trywait(sem) == -1) {
++		struct timeval t;
++
++		if (errno == EINVAL)
++			return -1;
++
++		usleep(1000);
++		gettimeofday(&t, NULL);
++		if (t.tv_sec > tval.tv_sec ||
++		    (t.tv_sec == tval.tv_sec && t.tv_usec > tval.tv_usec)) {
++			errno = ETIMEDOUT;
++			return -1;
++		}
++	}
++
++	return 0;
++}
++
++#endif
++
+ int
+ mono_sem_timedwait (MonoSemType *sem, guint32 timeout_ms, gboolean alertable)
+ {
diff --git a/mono38/patches/patch-mono_utils_mono-threads-dragonfly.c b/mono38/patches/patch-mono_utils_mono-threads-dragonfly.c
new file mode 100644
index 0000000..1009801
--- /dev/null
+++ b/mono38/patches/patch-mono_utils_mono-threads-dragonfly.c
@@ -0,0 +1,29 @@
+$NetBSD: patch-mono_utils_mono-threads-dragonfly.c,v 1.2 2014/11/30 08:50:26 spz Exp $
+
+--- mono/utils/mono-threads-dragonfly.c.orig	2014-11-29 21:20:20.000000000 +0000
++++ mono/utils/mono-threads-dragonfly.c
+@@ -0,0 +1,24 @@
++#include <config.h>
++
++#if defined(__DragonFly__)
++
++#include <mono/utils/mono-threads.h>
++#include <pthread.h>
++#include <pthread_np.h>
++
++void
++mono_threads_core_get_stack_bounds (guint8 **staddr, size_t *stsize)
++{
++	pthread_attr_t attr;
++
++	*staddr = NULL;
++	*stsize = (size_t)-1;
++
++	pthread_attr_init (&attr);
++	pthread_attr_get_np (pthread_self (), &attr);
++
++	pthread_attr_getstack (&attr, (void**)staddr, stsize);
++	pthread_attr_destroy (&attr);
++}
++
++#endif
diff --git a/mono38/patches/patch-mono_utils_mono-threads-netbsd.c b/mono38/patches/patch-mono_utils_mono-threads-netbsd.c
new file mode 100644
index 0000000..991fd4c
--- /dev/null
+++ b/mono38/patches/patch-mono_utils_mono-threads-netbsd.c
@@ -0,0 +1,28 @@
+$NetBSD: patch-mono_utils_mono-threads-netbsd.c,v 1.1 2014/11/30 08:40:51 spz Exp $
+
+--- mono/utils/mono-threads-netbsd.c.orig	2014-11-29 21:20:20.000000000 +0000
++++ mono/utils/mono-threads-netbsd.c
+@@ -0,0 +1,23 @@
++#include <config.h>
++
++#if defined(__NetBSD__)
++
++#include <mono/utils/mono-threads.h>
++#include <pthread.h>
++
++void
++mono_threads_core_get_stack_bounds (guint8 **staddr, size_t *stsize)
++{
++	pthread_attr_t attr;
++
++	*staddr = NULL;
++	*stsize = (size_t)-1;
++
++	pthread_attr_init (&attr);
++	pthread_attr_get_np (pthread_self (), &attr);
++
++	pthread_attr_getstack (&attr, (void**)staddr, stsize);
++	pthread_attr_destroy (&attr);
++}
++
++#endif
diff --git a/mono38/patches/patch-mono_utils_mono-threads-posix.c b/mono38/patches/patch-mono_utils_mono-threads-posix.c
new file mode 100644
index 0000000..321fb81
--- /dev/null
+++ b/mono38/patches/patch-mono_utils_mono-threads-posix.c
@@ -0,0 +1,26 @@
+$NetBSD: patch-mono_utils_mono-threads-posix.c,v 1.2 2014/11/30 08:40:51 spz Exp $
+
+--- mono/utils/mono-threads-posix.c.orig	2014-10-04 09:27:43.000000000 +0000
++++ mono/utils/mono-threads-posix.c
+@@ -420,13 +420,21 @@ mono_threads_core_set_name (MonoNativeTh
+ {
+ #ifdef HAVE_PTHREAD_SETNAME_NP
+ 	if (!name) {
++#ifdef linux
+ 		pthread_setname_np (tid, "");
++#else
++		pthread_setname_np (tid, "%s", "");
++#endif
+ 	} else {
+ 		char n [16];
+ 
+ 		strncpy (n, name, 16);
+ 		n [15] = '\0';
++#ifdef linux
+ 		pthread_setname_np (tid, n);
++#else
++		pthread_setname_np (tid, "%s", n);
++#endif
+ 	}
+ #endif
+ }
diff --git a/mono38/patches/patch-mono_utils_mono-threads-solaris.c b/mono38/patches/patch-mono_utils_mono-threads-solaris.c
new file mode 100644
index 0000000..f126734
--- /dev/null
+++ b/mono38/patches/patch-mono_utils_mono-threads-solaris.c
@@ -0,0 +1,24 @@
+$NetBSD: patch-mono_utils_mono-threads-solaris.c,v 1.1 2014/11/30 08:40:51 spz Exp $
+
+--- mono/utils/mono-threads-solaris.c.orig	2014-11-29 21:53:35.000000000 +0000
++++ mono/utils/mono-threads-solaris.c
+@@ -0,0 +1,19 @@
++#include <config.h>
++
++#if defined(PLATFORM_SOLARIS)
++
++#include <mono/utils/mono-threads.h>
++#include <pthread.h>
++
++void
++mono_threads_core_get_stack_bounds (guint8 **staddr, size_t *stsize)
++{
++	pthread_attr_t attr;
++	pthread_attr_init (&attr);
++	pthread_attr_getstacksize (&attr, &stsize);
++	pthread_attr_destroy (&attr);
++	*staddr = NULL;
++	return;
++}
++
++#endif
diff --git a/mono38/patches/patch-po_Makefile.in b/mono38/patches/patch-po_Makefile.in
new file mode 100644
index 0000000..08248d0
--- /dev/null
+++ b/mono38/patches/patch-po_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-po_Makefile.in,v 1.2 2014/11/30 08:40:51 spz Exp $
+
+--- po/Makefile.in.orig	2014-10-04 09:29:01.000000000 +0000
++++ po/Makefile.in
+@@ -381,7 +381,7 @@ target_vendor = @target_vendor@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = mcs
++SUBDIRS = 
+ all: all-recursive
+ 
+ .SUFFIXES:
diff --git a/mono38/patches/patch-support_signal.c b/mono38/patches/patch-support_signal.c
new file mode 100644
index 0000000..af3b945
--- /dev/null
+++ b/mono38/patches/patch-support_signal.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-support_signal.c,v 1.2 2014/11/30 08:40:51 spz Exp $
+
+Add necessary includes on SunOS.
+
+--- support/signal.c.orig	2014-09-22 13:23:09.000000000 +0000
++++ support/signal.c
+@@ -31,6 +31,10 @@
+ #include <mono/metadata/appdomain.h>
+ #endif
+ 
++#ifdef __sun
++#include <siginfo.h>
++#endif
++
+ G_BEGIN_DECLS
+ 
+ typedef void (*mph_sighandler_t)(int);
diff --git a/mono38/patches/patch-support_time.c b/mono38/patches/patch-support_time.c
new file mode 100644
index 0000000..a4a2bf0
--- /dev/null
+++ b/mono38/patches/patch-support_time.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-support_time.c,v 1.2 2014/11/30 08:40:51 spz Exp $
+
+Add necessary includes on SunOS.
+
+--- support/time.c.orig	2014-09-22 13:23:09.000000000 +0000
++++ support/time.c
+@@ -10,6 +10,9 @@
+ #define _SVID_SOURCE
+ #include <time.h>
+ #include <errno.h>
++#ifdef __sun
++#include <unistd.h>
++#endif
+ 
+ #include "map.h"
+ #include "mph.h"


Home | Main Index | Thread Index | Old Index