From 6f698919a825647394a9c0d6030ff35cd0c19ac5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 19 Apr 2020 17:19:28 +0200 Subject: Adding patch to fix FTBFS with GCC-10 (Closes: #957986). Signed-off-by: Daniel Baumann --- debian/patches/debian/0001-gcc-10.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/debian/0001-gcc-10.patch create mode 100644 debian/patches/series 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 -- cgit v1.2.3