1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/games/gnugo/files/patch-engine_liberty.h
Niclas Zeising f1f41b8961 games/gnugo: FIx build with -fno-common
Fix the build of games/gnugo with -fno-common, which is the default when
building with llvm 11.

MFH:		2020Q3 (implicit, -fno-common fixes, ok by joenum)
2020-08-25 09:39:57 +00:00

14 lines
346 B
C

--- engine/liberty.h.orig 2020-08-25 08:52:13 UTC
+++ engine/liberty.h
@@ -856,10 +856,6 @@ struct worm_data {
extern struct worm_data worm[BOARDMAX];
-/* Unconditionally meaningless moves. */
-int meaningless_black_moves[BOARDMAX];
-int meaningless_white_moves[BOARDMAX];
-
/* Surround cache (see surround.c) */
#define MAX_SURROUND 10