summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0001-gcc-10.patch
blob: 1db21f9af2434b79c6b53950d647f7d537bc0c34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 ); }