diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2021-02-25 14:58:03 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2021-02-25 14:58:03 +0000 |
commit | c6ee17c83ba6b8755647cbcbe89cb01bb2234f73 (patch) | |
tree | 06056d45869e016889d75735121c052778beb089 /games/freeblocks/files/patch-src_game.h | |
parent | update to 2.3-0 (diff) |
games/freeblocks: fix build on FreeBSD 13/14
This fixes the variable declarations so the port will build with
LLVM11's and GCC10's default of -fno-common.
PR: 253722
Approved by: amdmi3
Notes
Notes:
svn path=/head/; revision=566539
Diffstat (limited to 'games/freeblocks/files/patch-src_game.h')
-rw-r--r-- | games/freeblocks/files/patch-src_game.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/games/freeblocks/files/patch-src_game.h b/games/freeblocks/files/patch-src_game.h new file mode 100644 index 000000000000..2ea3e02fc09f --- /dev/null +++ b/games/freeblocks/files/patch-src_game.h @@ -0,0 +1,15 @@ +--- src/game.h.orig 2015-03-09 12:48:31 UTC ++++ src/game.h +@@ -21,9 +21,9 @@ + + #include "sys.h" + +-bool cursor_moving; +-int cursor_timer; +-int rebind_index; ++extern bool cursor_moving; ++extern int cursor_timer; ++extern int rebind_index; + + void gameTitle(); + void gameHighScores(); |