openbsd-ports/lang/mono/patches/patch-mono_utils_mono-threads-posix-signals_c
robert 0805e45782 update to 6.8.0.105;
- cleanup the port Makefile a bit
- remove unused deps

This went through a full bulk build. ok aja@
2020-04-06 15:11:11 +00:00

17 lines
533 B
Plaintext

$OpenBSD: patch-mono_utils_mono-threads-posix-signals_c,v 1.4 2020/04/06 15:11:11 robert Exp $
Use SIGUSR1 in OpenBSD as abort signal
Index: mono/utils/mono-threads-posix-signals.c
--- mono/utils/mono-threads-posix-signals.c.orig
+++ mono/utils/mono-threads-posix-signals.c
@@ -77,6 +77,8 @@ abort_signal_get (void)
if (abort_signum == -1)
abort_signum = mono_threads_suspend_search_alternative_signal ();
return abort_signum;
+#elif defined (__OpenBSD__)
+ return SIGUSR1;
#elif defined (SIGTTIN)
return SIGTTIN;
#else