diff options
author | jmmv <jmmv> | 2003-03-01 13:11:44 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-03-01 13:11:44 +0000 |
commit | 803a427ad258c68f05131d86318dd61bf0c893fc (patch) | |
tree | b30c56cf8a33dc5ca79b0f66f9d7f02a23ca482e /lang/mono/patches | |
parent | 1f10227b03afa7d5aec50bdfdec6946b1fa54be4 (diff) | |
download | pkgsrc-803a427ad258c68f05131d86318dd61bf0c893fc.tar.gz |
Initial import of mono, version 0.21:
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.
Package for version 0.20 provided in PR pkg/20500 by Marc Recht.
Diffstat (limited to 'lang/mono/patches')
-rw-r--r-- | lang/mono/patches/patch-aa | 15 | ||||
-rw-r--r-- | lang/mono/patches/patch-ab | 25 | ||||
-rw-r--r-- | lang/mono/patches/patch-ac | 13 | ||||
-rw-r--r-- | lang/mono/patches/patch-ad | 13 | ||||
-rw-r--r-- | lang/mono/patches/patch-ae | 16 |
5 files changed, 82 insertions, 0 deletions
diff --git a/lang/mono/patches/patch-aa b/lang/mono/patches/patch-aa new file mode 100644 index 00000000000..b1780d48b89 --- /dev/null +++ b/lang/mono/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/03/01 13:11:47 jmmv Exp $ + +--- mono/jit/jit.c.orig 2003-02-26 17:59:57.000000000 +0100 ++++ mono/jit/jit.c 2003-02-26 18:00:00.000000000 +0100 +@@ -4207,8 +4207,8 @@ + sigemptyset (&sa.sa_mask); + sa.sa_flags = 0; + //g_assert (syscall (SYS_sigaction, SIGILL, &sa, NULL) != -1); +- g_assert (syscall (SYS_sigaction, mono_thread_get_abort_signal (), &sa, NULL) != -1); +- //g_assert (sigaction (mono_thread_get_abort_signal (), &sa, NULL) != -1); ++ //g_assert (syscall (SYS_sigaction, mono_thread_get_abort_signal (), &sa, NULL) != -1); ++ g_assert (sigaction (mono_thread_get_abort_signal (), &sa, NULL) != -1); + + #if 1 + /* catch SIGSEGV */ diff --git a/lang/mono/patches/patch-ab b/lang/mono/patches/patch-ab new file mode 100644 index 00000000000..e7c95805cf3 --- /dev/null +++ b/lang/mono/patches/patch-ab @@ -0,0 +1,25 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/03/01 13:11:47 jmmv Exp $ + +--- configure.orig 2003-02-26 17:46:28.000000000 +0100 ++++ configure 2003-02-26 17:51:54.000000000 +0100 +@@ -1884,7 +1884,19 @@ + CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS" + libdl= + ;; +- *-*-*bsd*) ++ *-*-*netbsd*) ++ platform_win32=no ++ CPPFLAGS="$CPPFLAGS -D_REENTRANT" ++ libmono_cflags="-D_REENTRANT" ++ LDFLAGS="$LDFLAGS -pthread" ++ libmono_ldflags="-pthread" ++ cat >>confdefs.h <<\_ACEOF ++#define NEED_LINK_UNLINK 1 ++_ACEOF ++ ++ libdl= ++ ;; ++ *-*-freebsd*|*-*-openbsd*) + platform_win32=no + CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" + libmono_cflags="-D_THREAD_SAFE" diff --git a/lang/mono/patches/patch-ac b/lang/mono/patches/patch-ac new file mode 100644 index 00000000000..5767bc4cb40 --- /dev/null +++ b/lang/mono/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/03/01 13:11:47 jmmv Exp $ + +--- data/Makefile.in.orig 2003-02-27 23:28:21.000000000 +0100 ++++ data/Makefile.in +@@ -99,7 +99,7 @@ arch_target = @arch_target@ + libmono_cflags = @libmono_cflags@ + libmono_ldflags = @libmono_ldflags@ + +-monodir = $(sysconfdir)/mono ++monodir = $(datadir)/examples/mono + + EXTRA_DIST = config.in machine.config + diff --git a/lang/mono/patches/patch-ad b/lang/mono/patches/patch-ad new file mode 100644 index 00000000000..0dd9838cb0a --- /dev/null +++ b/lang/mono/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2003/03/01 13:11:47 jmmv Exp $ + +--- mono/metadata/icall.c.orig 2003-02-21 23:42:15.000000000 +0100 ++++ mono/metadata/icall.c +@@ -3074,7 +3074,7 @@ ves_icall_System_Configuration_DefaultCo + if (mcpath != NULL) + return mcpath; + +- path = g_build_path (G_DIR_SEPARATOR_S, mono_cfg_dir, "mono", "machine.config", NULL); ++ path = g_build_path (G_DIR_SEPARATOR_S, mono_cfg_dir, "machine.config", NULL); + + #if defined (PLATFORM_WIN32) + /* Avoid mixing '/' and '\\' */ diff --git a/lang/mono/patches/patch-ae b/lang/mono/patches/patch-ae new file mode 100644 index 00000000000..c9e15c1c7f3 --- /dev/null +++ b/lang/mono/patches/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.1.1.1 2003/03/01 13:11:47 jmmv Exp $ + +--- mono/metadata/mono-config.c.orig 2003-02-06 10:53:03.000000000 +0100 ++++ mono/metadata/mono-config.c +@@ -255,9 +255,9 @@ mono_config_parse (const char *filename) + } + #if defined (PLATFORM_WIN32) + /* maybe it's better to use a registry key or the install root from the binary */ +- mono_config_parse_file (MONO_CFG_DIR "\\mono\\config"); ++ mono_config_parse_file (MONO_CFG_DIR "\\config"); + #else +- mono_config_parse_file (MONO_CFG_DIR "/mono/config"); ++ mono_config_parse_file (MONO_CFG_DIR "/config"); + home = g_get_home_dir (); + user_cfg = g_strconcat (home, G_DIR_SEPARATOR_S, ".mono/config", NULL); + mono_config_parse_file (user_cfg); |