summaryrefslogtreecommitdiff
path: root/user/liblbxutil/gcc10.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-29 22:02:06 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 10:08:11 -0500
commit759c5c3abb3c5ec877cba01db5da6be68252fe7e (patch)
tree86168769e58a4316274364f9d1ffb50cf1194673 /user/liblbxutil/gcc10.patch
parent40a3c10c110806c88f477ac2920dc44cd0b95647 (diff)
downloadpackages-759c5c3abb3c5ec877cba01db5da6be68252fe7e.tar.gz
packages-759c5c3abb3c5ec877cba01db5da6be68252fe7e.tar.bz2
packages-759c5c3abb3c5ec877cba01db5da6be68252fe7e.tar.xz
packages-759c5c3abb3c5ec877cba01db5da6be68252fe7e.zip
user/liblbxutil: Patch for -fno-common
No upstream any more, so not submitted.
Diffstat (limited to 'user/liblbxutil/gcc10.patch')
-rw-r--r--user/liblbxutil/gcc10.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/user/liblbxutil/gcc10.patch b/user/liblbxutil/gcc10.patch
new file mode 100644
index 000000000..5e9b99d91
--- /dev/null
+++ b/user/liblbxutil/gcc10.patch
@@ -0,0 +1,18 @@
+--- liblbxutil-1.1.0/src/lbx_zlib/lbx_zlib.h.old 2009-11-02 23:52:21.000000000 -0600
++++ liblbxutil-1.1.0/src/lbx_zlib/lbx_zlib.h 2024-05-29 21:33:09.169332780 -0500
+@@ -136,9 +136,9 @@
+ #endif
+
+ /* lbx_zlib.c */
+-unsigned long stream_out_compressed;
+-unsigned long stream_out_uncompressed;
+-unsigned long stream_out_plain;
+-unsigned long stream_in_compressed;
+-unsigned long stream_in_uncompressed;
+-unsigned long stream_in_plain;
++extern unsigned long stream_out_compressed;
++extern unsigned long stream_out_uncompressed;
++extern unsigned long stream_out_plain;
++extern unsigned long stream_in_compressed;
++extern unsigned long stream_in_uncompressed;
++extern unsigned long stream_in_plain;