SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
graphics/sane-backends/patches/patch-backend_genesys_low_cpp
Normal file
15
graphics/sane-backends/patches/patch-backend_genesys_low_cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
errno.h header is required now that errno is a per-thread variable.
|
||||
"undefined symbol 'errno'" at runtime with dlopen()'d modules.
|
||||
|
||||
Index: backend/genesys/low.cpp
|
||||
--- backend/genesys/low.cpp.orig
|
||||
+++ backend/genesys/low.cpp
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#define DEBUG_DECLARE_ONLY
|
||||
|
||||
+#include <errno.h>
|
||||
+
|
||||
#include "low.h"
|
||||
#include "assert.h"
|
||||
#include "test_settings.h"
|
Loading…
Add table
Add a link
Reference in a new issue