summaryrefslogtreecommitdiff
path: root/games-board/ace/files/ace-1.4-gcc10.patch
blob: 23324d585a0440b00c93a4e2d6edd7c0eef982f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Fix FTBFS with GCC 10
 Use extern keyword, as linker otherwise sees multiple definitions.
Bug-Debian: https://bugs.debian.org/956976

--- a/lib/table.c
+++ b/lib/table.c
@@ -53,7 +53,7 @@
 static int graphics_disabled = 1;
 
 OptionDesc *app_options;
-OptionDesc *xwin_options;
+extern OptionDesc *xwin_options;
 static OptionDesc *options[5];
 
 static OptionDesc ace_options[] = {