File: gcc10.patch

package info (click to toggle)
ace-of-penguins 1.5~rc2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,592 kB
  • sloc: sh: 13,542; ansic: 9,856; makefile: 246; perl: 36
file content (16 lines) | stat: -rw-r--r-- 441 bytes parent folder | download | duplicates (4)
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[] = {