File: gcc10-ftbfs

package info (click to toggle)
luola 1.3.2-14
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, trixie
  • size: 3,700 kB
  • sloc: ansic: 14,480; sh: 2,932; makefile: 128
file content (17 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: fix FTBFS with GCC-10
Author: Christian T. Steigies <cts@debian.org>
Bug-Debian: http://bugs.debian.org/957508
Last-Update: 2020-08-07
Index: luola/src/pilot.h
===================================================================
--- luola.orig/src/pilot.h
+++ luola/src/pilot.h
@@ -34,7 +34,7 @@ struct Ship;
 
 #define PARACHUTE_FRAME 2
 
-struct Pilot {
+extern struct Pilot {
     struct Walker walker;       /* inherits Walker */
     SDL_Surface *sprite[3];     /* Normal,Normal2, Parachute */
     Vector attack_vector;       /* Direction where gun is pointed to */