freebsd-ports/games/freeblocks/files/patch-src_game.c
Christian Weisgerber c6ee17c83b 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
2021-02-25 14:58:03 +00:00

13 lines
257 B
C

--- src/game.c.orig 2015-03-09 12:48:31 UTC
+++ src/game.c
@@ -23,6 +23,10 @@
#include "menu.h"
#include "sys.h"
+bool cursor_moving;
+int cursor_timer;
+int rebind_index;
+
void gameTitle() {
title_screen = true;
high_scores_screen = false;