From 503461cab249021f2cbb7f1ea99127be177b37c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Sat, 26 Sep 2020 10:18:32 +0000 Subject: Fix build with -fno-common While here fix complaints from portlint and portclippy --- games/netwalk/files/patch-main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 games/netwalk/files/patch-main.c (limited to 'games/netwalk/files/patch-main.c') diff --git a/games/netwalk/files/patch-main.c b/games/netwalk/files/patch-main.c new file mode 100644 index 000000000000..56fa1b9e7f46 --- /dev/null +++ b/games/netwalk/files/patch-main.c @@ -0,0 +1,11 @@ +--- main.c.orig 2013-09-24 05:25:27 UTC ++++ main.c +@@ -107,7 +107,7 @@ SDL_Surface *screen; + TTF_Font *font; + int lastmousex, lastmousey; + char *player_name; +-int game_won; ++extern int game_won; + int state; + + struct button_s { -- cgit v1.2.3