diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-26 10:18:32 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-26 10:18:32 +0000 |
commit | 503461cab249021f2cbb7f1ea99127be177b37c2 (patch) | |
tree | 2c1c5d4de6a85e79305eb45f8182e0db5e13de0c /games/netwalk/files/patch-main.c | |
parent | Delete mistakenly included editor backup file (diff) |
Fix build with -fno-common
While here fix complaints from portlint and portclippy
Diffstat (limited to 'games/netwalk/files/patch-main.c')
-rw-r--r-- | games/netwalk/files/patch-main.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 { |