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-usb.c
--- backend/snapscan-usb.c.orig
+++ backend/snapscan-usb.c
@@ -72,6 +72,7 @@
#include "snapscan-usb.h"
#include "snapscan-mutex.c"
+#include <errno.h>
#ifndef SHM_R
#define SHM_R 0