summaryrefslogtreecommitdiff
path: root/lang/spl/files/patch-libspl.c
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@fuz.su>2021-07-20 11:42:55 +0200
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2021-07-21 16:07:47 +0800
commitf11e9f154140bf1d042a9f7fce069e21c3eda2b7 (patch)
tree562adae5cecdf0c8cbcbdcb4590343b9f992c8ca /lang/spl/files/patch-libspl.c
parentgraphics/gmic-qt: update to 2.9.8 (diff)
lang/spl: patch and unbreak with -fno-common
PR: 257295
Diffstat (limited to 'lang/spl/files/patch-libspl.c')
-rw-r--r--lang/spl/files/patch-libspl.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/spl/files/patch-libspl.c b/lang/spl/files/patch-libspl.c
new file mode 100644
index 000000000000..e1519edf96ba
--- /dev/null
+++ b/lang/spl/files/patch-libspl.c
@@ -0,0 +1,10 @@
+--- libspl.c.orig 2021-07-20 09:38:16 UTC
++++ libspl.c
+@@ -27,6 +27,7 @@ USA.
+ #include <stdio.h>
+ #include <stdlib.h>
+
++#define GLOBAL
+ #include "spl.h"
+ #include "strutils.h"
+