diff --git a/debian/patches/debian/0001-gcc-10.patch b/debian/patches/debian/0001-gcc-10.patch new file mode 100644 index 0000000..1db21f9 --- /dev/null +++ b/debian/patches/debian/0001-gcc-10.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Description: Fixing FTBFS with GCC-10 (Closes: #957986). + +diff -Naurp xlunzip.orig/in_place.c xlunzip/in_place.c +--- xlunzip.orig/in_place.c ++++ xlunzip/in_place.c +@@ -146,7 +146,7 @@ const char * set_file_sizes( struct File + } + + +-const char * global_name; ++static const char * global_name; + static void error(char *x) { show_file_error( global_name, x, 0 ); } + + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..ab491a0 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +debian/0001-gcc-10.patch