1
0
Fork 0

Adding patch to fix FTBFS with GCC-10 (Closes: #957986).

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-17 22:51:08 +01:00
parent d1afea1781
commit c239296652
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 16 additions and 0 deletions

15
debian/patches/debian/0001-gcc-10.patch vendored Normal file
View 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
View file

@ -0,0 +1 @@
debian/0001-gcc-10.patch