diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
commit | 90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch) | |
tree | 83fc5facb6b12be510a37bc3d241cc63e965b13a /games-board/gnugo/files/gnugo-3.9.1-fno-common.patch | |
parent | feb0daf81d888e9160f9f94502de09b66f2a63fd (diff) |
gentoo resync : 29.06.2020
Diffstat (limited to 'games-board/gnugo/files/gnugo-3.9.1-fno-common.patch')
-rw-r--r-- | games-board/gnugo/files/gnugo-3.9.1-fno-common.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/games-board/gnugo/files/gnugo-3.9.1-fno-common.patch b/games-board/gnugo/files/gnugo-3.9.1-fno-common.patch new file mode 100644 index 000000000000..db8215ecf90f --- /dev/null +++ b/games-board/gnugo/files/gnugo-3.9.1-fno-common.patch @@ -0,0 +1,25 @@ +--- a/engine/globals.c ++++ b/engine/globals.c +@@ -136,6 +136,9 @@ + * move generation is enabled. + */ + ++int meaningless_white_moves[BOARDMAX]; ++int meaningless_black_moves[BOARDMAX]; ++ + float best_move_values[10]; + int best_moves[10]; + float white_score; +--- a/engine/liberty.h ++++ b/engine/liberty.h +@@ -859,8 +859,8 @@ + extern struct worm_data worm[BOARDMAX]; + + /* Unconditionally meaningless moves. */ +-int meaningless_black_moves[BOARDMAX]; +-int meaningless_white_moves[BOARDMAX]; ++extern int meaningless_black_moves[BOARDMAX]; ++extern int meaningless_white_moves[BOARDMAX]; + + /* Surround cache (see surround.c) */ + |