SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
graphics/sane-backends/patches/patch-backend_snapscan-usb_c
Normal file
14
graphics/sane-backends/patches/patch-backend_snapscan-usb_c
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue