summaryrefslogtreecommitdiff
path: root/games-board/gtkboard
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
parent8b4ace9c50842c5b83401ea7b179dcab940387e1 (diff)
gentoo resync : 24.09.2020
Diffstat (limited to 'games-board/gtkboard')
-rw-r--r--games-board/gtkboard/Manifest3
-rw-r--r--games-board/gtkboard/files/gtkboard-0.11_pre0-gcc10.patch14
-rw-r--r--games-board/gtkboard/gtkboard-0.11_pre0-r2.ebuild1
3 files changed, 17 insertions, 1 deletions
diff --git a/games-board/gtkboard/Manifest b/games-board/gtkboard/Manifest
index e85579ca7926..8a7cc9f0de57 100644
--- a/games-board/gtkboard/Manifest
+++ b/games-board/gtkboard/Manifest
@@ -1,6 +1,7 @@
+AUX gtkboard-0.11_pre0-gcc10.patch 776 BLAKE2B 9d8559ab8385a275f885e3c5c4ef7deff2a78d9adf309362249aee56fdbb34a8409a766a46410d698ba94fef44ff4de55fd56261b91ba51ab00d64efd24c72e7 SHA512 1be0098ee1c1641996e9a8c29fb17a2d4f79286700a9e90e5524e3d36aa4709c438af9595949b615c32caf3206a75f8bb414ce7f5147093d7de20cd1b4b05c2f
AUX gtkboard-0.11_pre0-gcc41.patch 591 BLAKE2B e3480d0969645815db2cdd9bf32e840bb671a2f9f89c96f5a7e6c61d258d52edc59eca03df64d461298d2afd478f9cccb396a75c31ecd701dc476d304b1f2b32 SHA512 ce7b16643054fd9171c867b6ee7db946577d610fe9f9f6ac9fab98378182934b2eca1828ec8550664c1c67bc2b0f6631ed4538feb9e52d6b9f0ac7e73c1cd656
AUX gtkboard-0.11_pre0-gcc45.patch 696 BLAKE2B 922d0fdaf0352d21aaa5eaae8bd4eec92b0b2f4321afdf8430096fcf46e7749a06a35c1582d8f6752b0462c96ea150457b58df5d1d32d1f24e0d540e854b3e34 SHA512 7e95753b1a69fbb7031deeb160a7b6da2113171984d8680630317f121e0a12ba97c3230342a3beb5ece6d3579ac4d65a0e9fa1b78e635c690e9e5fac15b54cd9
AUX gtkboard-0.11_pre0-stack-smash.patch 897 BLAKE2B ad479e26a9c9e730c62fba739e2eb33627cacc5befa3d3350ecfb890e432e74ed3200af52a5506e48a0a3998babbd3331168c7db9d716effdf00d94e9d98a8c3 SHA512 a1e6d4aae548fa12770cbad014f2dd312d12cea17fc9c64dd07be778be9bd479077ea5fa59e875b3a17ff4bde9cf8b074ff35f05c490a0fd3575453889f2bcf8
DIST gtkboard-0.11pre0.tar.gz 459581 BLAKE2B efe6fc70d8b7c144f0db33502fbce509a0e600008747a5e9bd42d84d0d43de1c790436b731273c36d39356fb489f5616539655fd37ed5cfb802365dcd826e013 SHA512 09d4a1d5203ef0e21d21b5b6cb351add71d0a415ad83808b6e281dcf3f869221e99ae683846462d465eaac54f5eb292e1d8447ea7cdfb07602a8add49e2db283
-EBUILD gtkboard-0.11_pre0-r2.ebuild 926 BLAKE2B aaa32375c638766e959a0c5f12a7a94638c45c38c4243b74aa23032dbb09aac91513a1c44b48ad1c5da6323af07a02d8b64f92d809ac1a0ce77dd2211ba67e8d SHA512 f7d6d1bae7f4a599359926a8161eacea0430e3d076bcee12faadcabfad10068a90ebf7877644d5d6f0987ab0f580ce835470e10d2fc445896410a3ea5b060b4b
+EBUILD gtkboard-0.11_pre0-r2.ebuild 958 BLAKE2B b673d98adf73bf483cae451a7d64caa32fcdf503ab83f077cf4c9af534659492ce48cf03f54e98c2efb7c82e6d6e599b15fe1e290cc6173b2a6a012586d6515e SHA512 0f766a77e86372dbb4e94270b5d39090feae3774f5550d2fb3c126ca0a5616eb82bc2439e63368ed47ee4dfc03e5d524a62bde7d592ffc3ba531e7ec2e6e9761
MISC metadata.xml 331 BLAKE2B e0040c6aa21b5a10ccde6c6dd7ab3463f3821cfdf21e778b4e2dabc93b0bbf902081859f781697949aee8adc870641a7ce449a84e8e451875ebd62a4ef21d970 SHA512 809518470fc270114a602f396c94e42ed33a87e6a46924679e9f1c23dae1863ee4b5a4419bd73d95a069b3810e53f3dd59bfb40ddaa888c9683ac6e2c1c52fb3
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 ();
diff --git a/games-board/gtkboard/gtkboard-0.11_pre0-r2.ebuild b/games-board/gtkboard/gtkboard-0.11_pre0-r2.ebuild
index 2886f2c69ada..a37e9a95e119 100644
--- a/games-board/gtkboard/gtkboard-0.11_pre0-r2.ebuild
+++ b/games-board/gtkboard/gtkboard-0.11_pre0-r2.ebuild
@@ -31,6 +31,7 @@ PATCHES=(
"${FILESDIR}"/${P}-gcc41.patch
"${FILESDIR}"/${P}-gcc45.patch
"${FILESDIR}"/${P}-stack-smash.patch
+ "${FILESDIR}"/${P}-gcc10.patch
)
src_prepare() {