squashfs-tools/gcc10.patch
Bruno Wolff III 23b679cf9b Fix a duplicate definition flagged by gcc10
This git fixed a couple of weeks ago upstream, the same way.
2020-02-08 22:14:33 -06:00

12 lines
524 B
Diff

--- squashfs-tools/mksquashfs.h.orig 2014-05-09 23:54:13.000000000 -0500
+++ squashfs-tools/mksquashfs.h 2020-02-08 22:08:33.275388914 -0600
@@ -132,7 +132,7 @@
#define BLOCK_OFFSET 2
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;