summaryrefslogtreecommitdiff
path: root/lang/mono/files
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mono/files')
-rw-r--r--lang/mono/files/patch-configure10
-rw-r--r--lang/mono/files/patch-mono_jit_jit.c11
-rw-r--r--lang/mono/files/patch-mono_metadata_debug-mono-symfile.c10
-rw-r--r--lang/mono/files/patch-mono_metadata_debug_symfile.c19
-rw-r--r--lang/mono/files/patch-mono_metadata_threads.c14
-rw-r--r--lang/mono/files/patch-mono_monoburg_monoburg.y11
6 files changed, 45 insertions, 30 deletions
diff --git a/lang/mono/files/patch-configure b/lang/mono/files/patch-configure
new file mode 100644
index 000000000000..892e154a52eb
--- /dev/null
+++ b/lang/mono/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Thu Dec 26 13:09:19 2002
++++ configure Thu Dec 26 13:09:37 2002
+@@ -7501,6 +7501,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/lang/mono/files/patch-mono_jit_jit.c b/lang/mono/files/patch-mono_jit_jit.c
new file mode 100644
index 000000000000..5295734e99f7
--- /dev/null
+++ b/lang/mono/files/patch-mono_jit_jit.c
@@ -0,0 +1,11 @@
+--- mono/jit/jit.c.orig Thu Dec 26 13:13:15 2002
++++ mono/jit/jit.c Thu Dec 26 13:13:31 2002
+@@ -4184,7 +4184,7 @@
+ sigemptyset (&sa.sa_mask);
+ sa.sa_flags = 0;
+ //g_assert (syscall (SYS_sigaction, SIGILL, &sa, NULL) != -1);
+- g_assert (sigaction (SIGRTMIN, &sa, NULL) != -1);
++ g_assert (sigaction (SIGUSR1, &sa, NULL) != -1);
+
+ #if 1
+ /* catch SIGSEGV */
diff --git a/lang/mono/files/patch-mono_metadata_debug-mono-symfile.c b/lang/mono/files/patch-mono_metadata_debug-mono-symfile.c
new file mode 100644
index 000000000000..eab4f7777fc0
--- /dev/null
+++ b/lang/mono/files/patch-mono_metadata_debug-mono-symfile.c
@@ -0,0 +1,10 @@
+--- mono/metadata/debug-mono-symfile.c.orig Thu Dec 26 12:33:21 2002
++++ mono/metadata/debug-mono-symfile.c Thu Dec 26 12:33:57 2002
+@@ -2,6 +2,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <signal.h>
++#include <sys/param.h>
+ #include <mono/metadata/metadata.h>
+ #include <mono/metadata/tabledefs.h>
+ #include <mono/metadata/rawbuffer.h>
diff --git a/lang/mono/files/patch-mono_metadata_debug_symfile.c b/lang/mono/files/patch-mono_metadata_debug_symfile.c
deleted file mode 100644
index d605a6adac9c..000000000000
--- a/lang/mono/files/patch-mono_metadata_debug_symfile.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- mono/metadata/debug-symfile.c.orig Tue Sep 10 14:21:57 2002
-+++ mono/metadata/debug-symfile.c Tue Sep 10 14:23:17 2002
-@@ -2,6 +2,7 @@
- #include <stdlib.h>
- #include <string.h>
- #include <signal.h>
-+#include <sys/param.h>
- #include <mono/metadata/metadata.h>
- #include <mono/metadata/rawbuffer.h>
- #include <mono/metadata/tokentype.h>
-@@ -165,7 +166,7 @@
- get_sections (MonoDebugSymbolFile *symfile, gboolean emit_warnings)
- {
- #ifdef HAVE_ELF_H
--#ifdef __FreeBSD__
-+#if defined(__FreeBSD__) && __FreeBSD_version < 500023
- static const char ELFMAG[] = { ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3, 0 };
- #endif
- if (!strncmp (symfile->raw_contents, ELFMAG, strlen (ELFMAG)))
diff --git a/lang/mono/files/patch-mono_metadata_threads.c b/lang/mono/files/patch-mono_metadata_threads.c
new file mode 100644
index 000000000000..9a32d90d0571
--- /dev/null
+++ b/lang/mono/files/patch-mono_metadata_threads.c
@@ -0,0 +1,14 @@
+--- mono/metadata/threads.c.orig Thu Dec 26 13:00:05 2002
++++ mono/metadata/threads.c Thu Dec 26 13:00:28 2002
+@@ -1099,9 +1099,9 @@
+ /* fixme: store the state somewhere */
+ #ifndef __MINGW32__
+ #ifdef PTHREAD_POINTER_ID
+- pthread_kill (GUINT_TO_POINTER(thread->tid), SIGRTMIN);
++ pthread_kill (GUINT_TO_POINTER(thread->tid), SIGUSR1);
+ #else
+- pthread_kill (thread->tid, SIGRTMIN);
++ pthread_kill (thread->tid, SIGUSR1);
+ #endif
+ #else
+ g_assert_not_reached ();
diff --git a/lang/mono/files/patch-mono_monoburg_monoburg.y b/lang/mono/files/patch-mono_monoburg_monoburg.y
deleted file mode 100644
index 3d2c66f682d2..000000000000
--- a/lang/mono/files/patch-mono_monoburg_monoburg.y
+++ /dev/null
@@ -1,11 +0,0 @@
---- mono/monoburg/monoburg.y.orig Sat Nov 30 14:21:57 2002
-+++ mono/monoburg/monoburg.y Sat Nov 30 14:22:31 2002
-@@ -50,7 +50,7 @@
- | IDENT ':' tree optcost optcode optcfunc { create_rule ($1, $3, $5, $4, $6); } decls
- ;
-
--optcode : /* empty */ { $$ = NULL }
-+optcode : /* empty */ { $$ = NULL; }
- | CODE
- ;
-