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 @@
errno.h header is required now that errno is a per-thread variable.
"undefined symbol 'errno'" at runtime with dlopen()'d modules.
Index: backend/snapscan-mutex.c
--- backend/snapscan-mutex.c.orig
+++ backend/snapscan-mutex.c
@@ -67,6 +67,7 @@ static void snapscani_mutex_unlock(snapscan_mutex_t* a
#elif defined USE_PTHREAD || defined HAVE_OS2_H
+#include <errno.h>
#include <pthread.h>
#define snapscan_mutex_t pthread_mutex_t