SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,14 @@
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