Package: mtink / 1.0.16-11

gcc-10 Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Fix FTBFS with GCC 10
Bug-Debian: https://bugs.debian.org/957569
Forwarded: no
Author: Graham Inggs <ginggs@debian.org>
Last-Update: 2020-07-05

--- a/mainSrc/mtink.h
+++ b/mainSrc/mtink.h
@@ -133,11 +133,11 @@
 
 #endif
 
-wConfig_data_t firstConfig;
-wConfig_data_t newPrinter;
+extern wConfig_data_t firstConfig;
+extern wConfig_data_t newPrinter;
 
-wConfig_data_t exchangeCartridge;
-wConfig_data_t alignHead;
+extern wConfig_data_t exchangeCartridge;
+extern wConfig_data_t alignHead;
 
 #if WITH_X
 extern Widget createNoPrinterBox(char *);