From be9284ea3a750113cb44d661f6229db0cd202ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Apestegu=C3=ADa?= Date: Mon, 1 Feb 2021 17:44:56 +0000 Subject: games/xkoules: Unbreak build with -fno-common PR: 253128 Submitted by: m.ne@gmx.net --- games/xkoules/files/patch-server.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 games/xkoules/files/patch-server.c (limited to 'games/xkoules/files/patch-server.c') diff --git a/games/xkoules/files/patch-server.c b/games/xkoules/files/patch-server.c new file mode 100644 index 000000000000..951df7e76568 --- /dev/null +++ b/games/xkoules/files/patch-server.c @@ -0,0 +1,12 @@ +--- server.c.orig 1998-03-04 18:59:19 UTC ++++ server.c +@@ -80,8 +80,7 @@ static long sizes[MAXPACKET]; + static long isizes[MAXPACKET]; + char acceled[5]; + #endif +-struct control controls[MAXROCKETS]; +-static unsigned char Clientmap[5]; ++static unsigned char Clientmap[MAXROCKETS]; + static int Socket; + /*static int tbreak; */ + #define BUFFERSIZE 65536 -- cgit v1.2.3