summaryrefslogtreecommitdiff
path: root/games-board/gtkboard/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-23 23:02:44 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-23 23:02:44 +0100
commitdb063b515939ab15261136b24e4bc44386335c0c (patch)
tree54c06cac96a32ba6fe5f69e52616a2ab27bbb6d6 /games-board/gtkboard/files
parent8b4ace9c50842c5b83401ea7b179dcab940387e1 (diff)
gentoo resync : 24.09.2020
Diffstat (limited to 'games-board/gtkboard/files')
-rw-r--r--games-board/gtkboard/files/gtkboard-0.11_pre0-gcc10.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc10.patch b/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc10.patch
new file mode 100644
index 000000000000..249a790f0ee7
--- /dev/null
+++ b/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc10.patch
@@ -0,0 +1,14 @@
+--- a/src/engine.c 2020-09-22 23:14:49.105745203 -0000
++++ b/src/engine.c 2020-09-22 23:53:45.862582851 -0000
+@@ -47,9 +47,9 @@ byte * engine_search (Pos *);
+ static FILE *engine_fin, *engine_fout;
+
+ //! Eval fn for white (can be NULL, in which case game_eval will be used for both)
+-ResultType (*game_eval_white) (Pos *, Player, float *);
++extern ResultType (*game_eval_white) (Pos *, Player, float *);
+ //! Eval fn for black (can be NULL, in which case game_eval will be used for both)
+-ResultType (*game_eval_black) (Pos *, Player, float *);
++extern ResultType (*game_eval_black) (Pos *, Player, float *);
+
+ // FIXME: following 3 extern decls must be removed by refactoring (i.e, move all fns common to client and server to a new file)
+ extern void reset_game_params ();