commit a8d2ba400437b10e934b7e65d9f0b261bb244eb6 Author: Kevin Zheng Date: Wed Sep 16 21:19:12 2020 -0700 games/freedroid: Fix build with -fno-common diff --git a/games/freedroid/files/patch-src_global.h b/games/freedroid/files/patch-src_global.h new file mode 100644 index 000000000000..e7a3c4356b15 --- /dev/null +++ b/games/freedroid/files/patch-src_global.h @@ -0,0 +1,24 @@ +--- src/global.h.orig 2020-09-17 04:18:12 UTC ++++ src/global.h +@@ -38,7 +38,7 @@ + #define EXTERN extern + #endif + +-EXTERN char ConfigDir[255]; ++extern char ConfigDir[255]; + + EXTERN SDL_Rect OrigBlock_Rect; + EXTERN SDL_Rect Block_Rect; +@@ -70,9 +70,9 @@ EXTERN SDL_Rect ConsMenuItem_Rect; + + EXTERN float LastRefreshSound; + EXTERN float LastGotIntoBlastSound; +-EXTERN float FPSover1; +-EXTERN float FPSover10; +-EXTERN float FPSover100; ++extern float FPSover1; ++extern float FPSover10; ++extern float FPSover100; + EXTERN char *Alertcolor[AL_LAST]; + EXTERN char *Shipnames[ALLSHIPS]; +