summaryrefslogtreecommitdiff
path: root/lang/mono/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mono/patches/patch-aj')
-rw-r--r--lang/mono/patches/patch-aj26
1 files changed, 26 insertions, 0 deletions
diff --git a/lang/mono/patches/patch-aj b/lang/mono/patches/patch-aj
new file mode 100644
index 00000000000..8bebb9642c0
--- /dev/null
+++ b/lang/mono/patches/patch-aj
@@ -0,0 +1,26 @@
+$NetBSD: patch-aj,v 1.1 2003/12/03 00:12:12 recht Exp $
+
+--- libgc/include/private/gcconfig.h.orig 2003-08-26 23:01:26.000000000 +0200
++++ libgc/include/private/gcconfig.h 2003-11-27 18:42:00.000000000 +0100
+@@ -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