From 0e25e3ffedf27d0c86fec9b85e680c49945989b4 Mon Sep 17 00:00:00 2001 From: Jernej Skrabec Date: Mon, 1 Jun 2020 19:32:07 +0200 Subject: [PATCH] squashfs-tools: Fix building with gcc 10 --- .../patches/squashfs-tools-4.4-fno-common.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/sysutils/squashfs-tools/patches/squashfs-tools-4.4-fno-common.patch diff --git a/packages/sysutils/squashfs-tools/patches/squashfs-tools-4.4-fno-common.patch b/packages/sysutils/squashfs-tools/patches/squashfs-tools-4.4-fno-common.patch new file mode 100644 index 0000000000..dfbf42abb3 --- /dev/null +++ b/packages/sysutils/squashfs-tools/patches/squashfs-tools-4.4-fno-common.patch @@ -0,0 +1,11 @@ +--- a/squashfs-tools/mksquashfs.h ++++ b/squashfs-tools/mksquashfs.h +@@ -143,7 +143,7 @@ struct append_file { + #endif + + extern struct cache *reader_buffer, *fragment_buffer, *reserve_cache; +-struct cache *bwriter_buffer, *fwriter_buffer; ++extern struct cache *bwriter_buffer, *fwriter_buffer; + extern struct queue *to_reader, *to_deflate, *to_writer, *from_writer, + *to_frag, *locked_fragment, *to_process_frag; + extern struct append_file **file_mapping;