Adding patch to fix FTBFS with GCC-10 (Closes: #957986).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
d1afea1781
commit
c239296652
2 changed files with 16 additions and 0 deletions
15
debian/patches/debian/0001-gcc-10.patch
vendored
Normal file
15
debian/patches/debian/0001-gcc-10.patch
vendored
Normal file
|
@ -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 ); }
|
||||||
|
|
||||||
|
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
debian/0001-gcc-10.patch
|
Loading…
Add table
Reference in a new issue