summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0001-gcc-10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian/0001-gcc-10.patch')
-rw-r--r--debian/patches/debian/0001-gcc-10.patch15
1 files changed, 15 insertions, 0 deletions
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 <daniel.baumann@progress-linux.org>
+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 ); }
+
+