aboutsummaryrefslogtreecommitdiff
path: root/lang/mono/files/patch-libgc_include_private_gcconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mono/files/patch-libgc_include_private_gcconfig.h')
-rw-r--r--lang/mono/files/patch-libgc_include_private_gcconfig.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/mono/files/patch-libgc_include_private_gcconfig.h b/lang/mono/files/patch-libgc_include_private_gcconfig.h
new file mode 100644
index 000000000000..d43a3a5cc8f0
--- /dev/null
+++ b/lang/mono/files/patch-libgc_include_private_gcconfig.h
@@ -0,0 +1,24 @@
+--- libgc/include/private/gcconfig.h.orig Mon Oct 6 22:38:35 2003
++++ libgc/include/private/gcconfig.h Mon Oct 6 22:38:56 2003
+@@ -1151,8 +1151,8 @@
+ # ifndef GC_FREEBSD_THREADS
+ # define MPROTECT_VDB
+ # endif
+-# define SIG_SUSPEND SIGUSR1
+-# define SIG_THR_RESTART SIGUSR2
++# define SIG_SUSPEND SIGTSTP
++# define SIG_THR_RESTART SIGCONT
+ # define FREEBSD_STACKBOTTOM
+ # ifdef __ELF__
+ # define DYNAMIC_LOADING
+@@ -1466,8 +1466,8 @@
+ # ifdef FREEBSD
+ # define OS_TYPE "FREEBSD"
+ /* MPROTECT_VDB is not yet supported at all on FreeBSD/alpha. */
+-# define SIG_SUSPEND SIGUSR1
+-# define SIG_THR_RESTART SIGUSR2
++# define SIG_SUSPEND SIGTSTP
++# define SIG_THR_RESTART SIGCONT
+ # define FREEBSD_STACKBOTTOM
+ # ifdef __ELF__
+ # define DYNAMIC_LOADING