[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess-book/

2023-06-04 Thread Arthur Zamarin
commit: baa20170a2a6dd8c5f74a5a8e6bd3d2837bd56da
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jun  4 16:04:35 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jun  4 16:04:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baa20170

games-board/gnuchess-book: Keyword 1.02-r1 arm64, #907772

Signed-off-by: Arthur Zamarin  gentoo.org>

 games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild 
b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
index bba4122489d1..05d5e61a8c23 100644
--- a/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
+++ b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ S="${WORKDIR}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 RESTRICT="userpriv" # bug #112898
 
 BDEPEND=">=games-board/gnuchess-6.2.3"



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/files/, games-board/gnuchess/

2023-02-01 Thread Sam James
commit: 7791570ded5f2cfdd4cadd3f7121f65ae208ce09
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  2 06:25:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  2 06:26:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7791570d

games-board/gnuchess: fix configure w/ Clang 16, fix C++17 compat

Signed-off-by: Sam James  gentoo.org>

 .../gnuchess/files/gnuchess-6.2.9-c++17.patch  | 140 +
 .../files/gnuchess-6.2.9-configure-quoting.patch   |  33 +
 ...chess-6.2.9.ebuild => gnuchess-6.2.9-r1.ebuild} |  18 ++-
 3 files changed, 188 insertions(+), 3 deletions(-)

diff --git a/games-board/gnuchess/files/gnuchess-6.2.9-c++17.patch 
b/games-board/gnuchess/files/gnuchess-6.2.9-c++17.patch
new file mode 100644
index ..211efdc71eaa
--- /dev/null
+++ b/games-board/gnuchess/files/gnuchess-6.2.9-c++17.patch
@@ -0,0 +1,140 @@
+https://lists.gnu.org/archive/html/bug-gnu-chess/2023-01/msg0.html
+
+From 321eb9b1ca1b230063259dc43be8a2ab2f3bfee9 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Tue, 17 Jan 2023 22:16:36 -0800
+Subject: [PATCH] Remove 'register' storage class classifier
+
+This is gone with c++17
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+--- a/src/frontend/atak.cc
 b/src/frontend/atak.cc
+@@ -37,7 +37,7 @@ short SqAtakd (short sq, short side)
+  *
+  **/
+ {
+-   register BitBoard *a, b, *c, d, blocker;
++   BitBoard *a, b, *c, d, blocker;
+int t;
+ 
+a = board.b[side];
+@@ -89,7 +89,7 @@ BitBoard AttackTo (int sq, int side)
+  *
+  ***/
+ {
+-   register BitBoard *a, b, *c, e, blocker;
++   BitBoard *a, b, *c, e, blocker;
+int t;
+ 
+a = board.b[side];
+--- a/src/frontend/lexpgn.cc
 b/src/frontend/lexpgn.cc
+@@ -2431,9 +2431,9 @@ extern int yylex (void);
+  */
+ YY_DECL
+ {
+-  register yy_state_type yy_current_state;
+-  register char *yy_cp, *yy_bp;
+-  register int yy_act;
++  yy_state_type yy_current_state;
++  char *yy_cp, *yy_bp;
++  int yy_act;
+ 
+ #line 153 "lexpgn.ll"
+ 
+@@ -3118,9 +3118,9 @@ case YY_STATE_EOF(RAV):
+  */
+ static int yy_get_next_buffer (void)
+ {
+-  register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
+-  register char *source = (yytext_ptr);
+-  register int number_to_move, i;
++  char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
++  char *source = (yytext_ptr);
++  int number_to_move, i;
+   int ret_val;
+ 
+   if ( (yy_c_buf_p) > _CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 
1] )
+@@ -3252,8 +3252,8 @@ static int yy_get_next_buffer (void)
+ 
+ static yy_state_type yy_get_previous_state (void)
+ {
+-  register yy_state_type yy_current_state;
+-  register char *yy_cp;
++  yy_state_type yy_current_state;
++  char *yy_cp;
+ 
+   yy_current_state = (yy_start);
+   yy_current_state += YY_AT_BOL();
+@@ -3278,8 +3278,8 @@ static int yy_get_next_buffer (void)
+  */
+ static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
+ {
+-  register int yy_is_jam;
+-  register char *yy_cp = (yy_c_buf_p);
++  int yy_is_jam;
++  char *yy_cp = (yy_c_buf_p);
+ 
+   yy_current_state = yy_nxt[yy_current_state][1];
+   yy_is_jam = (yy_current_state <= 0);
+@@ -3296,9 +3296,9 @@ static int yy_get_next_buffer (void)
+   return yy_is_jam ? 0 : yy_current_state;
+ }
+ 
+-static void yyunput (int c, register char * yy_bp )
++static void yyunput (int c, char * yy_bp )
+ {
+-  register char *yy_cp;
++  char *yy_cp;
+ 
+ yy_cp = (yy_c_buf_p);
+ 
+@@ -3308,10 +3308,10 @@ static int yy_get_next_buffer (void)
+   if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
+   { /* need to shift things up to make room */
+   /* +2 for EOB chars. */
+-  register yy_size_t number_to_move = (yy_n_chars) + 2;
+-  register char *dest = _CURRENT_BUFFER_LVALUE->yy_ch_buf[
++  yy_size_t number_to_move = (yy_n_chars) + 2;
++  char *dest = _CURRENT_BUFFER_LVALUE->yy_ch_buf[
+   YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 
2];
+-  register char *source =
++  char *source =
+   
_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
+ 
+   while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+@@ -3925,7 +3925,7 @@ int yylex_destroy  (void)
+ #ifndef yytext_ptr
+ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
+ {
+-  register int i;
++  int i;
+   for ( i = 0; i < n; ++i )
+   s1[i] = s2[i];
+ }
+@@ -3934,7 +3934,7 @@ static void yy_flex_strncpy (char* s1, yyconst char * 
s2, int n )
+ #ifdef YY_NEED_STRLEN
+ static int yy_flex_strlen (yyconst char * s )
+ {
+-  register 

[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2022-07-17 Thread Sam James
commit: 66d993abaf8b84beb25d21ce462dd6d5ffcb2717
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 17 18:05:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 17 18:05:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66d993ab

games-board/gnuchess: filter LTO (ODR)

Closes: https://bugs.gentoo.org/858611
Signed-off-by: Sam James  gentoo.org>

 games-board/gnuchess/gnuchess-6.2.9.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.9.ebuild 
b/games-board/gnuchess/gnuchess-6.2.9.ebuild
index 886f173195d4..85c25649da82 100644
--- a/games-board/gnuchess/gnuchess-6.2.9.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.9.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit flag-o-matic
+
 DESCRIPTION="Console based chess interface"
 HOMEPAGE="https://www.gnu.org/software/chess/chess.html;
 SRC_URI="mirror://gnu/chess/${P}.tar.gz"
@@ -12,6 +14,9 @@ SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv x86"
 
 src_configure() {
+   # -Wodr warnings, bug #858611
+   filter-lto
+
# bug #491088
econf --without-readline
 }



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2021-12-06 Thread Sam James
commit: a0138e04ebf3e6a4b6822d38570b336f404c61d8
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec  6 15:18:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec  6 15:18:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0138e04

games-board/gnuchess: Stabilize 6.2.9 arm64, #828395

Signed-off-by: Sam James  gentoo.org>

 games-board/gnuchess/gnuchess-6.2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.9.ebuild 
b/games-board/gnuchess/gnuchess-6.2.9.ebuild
index b7cc4a9c4946..886f173195d4 100644
--- a/games-board/gnuchess/gnuchess-6.2.9.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.9.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/chess/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv x86"
 
 src_configure() {
# bug #491088



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2021-12-06 Thread Agostino Sarubbo
commit: 766270428e7ce4ddd6225aab0d37596aca5e41a7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Dec  6 08:02:37 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Dec  6 08:02:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76627042

games-board/gnuchess: x86 stable wrt bug #828395

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 games-board/gnuchess/gnuchess-6.2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.9.ebuild 
b/games-board/gnuchess/gnuchess-6.2.9.ebuild
index 83b2bb55a3d0..b7cc4a9c4946 100644
--- a/games-board/gnuchess/gnuchess-6.2.9.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.9.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/chess/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~riscv x86"
 
 src_configure() {
# bug #491088



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2021-12-05 Thread Sam James
commit: 595dbefa959eaaf5d31b8403de4c56edb66fd301
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec  6 00:31:18 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec  6 00:31:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=595dbefa

games-board/gnuchess: Stabilize 6.2.9 ppc64, #828395

Signed-off-by: Sam James  gentoo.org>

 games-board/gnuchess/gnuchess-6.2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.9.ebuild 
b/games-board/gnuchess/gnuchess-6.2.9.ebuild
index c51789eb5764..83b2bb55a3d0 100644
--- a/games-board/gnuchess/gnuchess-6.2.9.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.9.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/chess/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~riscv ~x86"
 
 src_configure() {
# bug #491088



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2021-12-05 Thread Sam James
commit: f34ebee33757bb873ea8f860216e337c4a74c003
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec  5 18:27:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  5 18:27:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f34ebee3

games-board/gnuchess: Stabilize 6.2.9 amd64, #828395

Signed-off-by: Sam James  gentoo.org>

 games-board/gnuchess/gnuchess-6.2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.9.ebuild 
b/games-board/gnuchess/gnuchess-6.2.9.ebuild
index 81a1f0a7f157..c51789eb5764 100644
--- a/games-board/gnuchess/gnuchess-6.2.9.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.9.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/chess/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 
 src_configure() {
# bug #491088



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2021-07-13 Thread Sebastian Pipping
commit: bf8505de6ec2de62cbb79d02f4ce6d7e3770fce0
Author: Sebastian Pipping  gentoo  org>
AuthorDate: Wed Jul 14 00:29:49 2021 +
Commit: Sebastian Pipping  gentoo  org>
CommitDate: Wed Jul 14 00:29:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf8505de

games-board/gnuchess: 6.2.9

Signed-off-by: Sebastian Pipping  gentoo.org>
Package-Manager: Portage-3.0.20, Repoman-3.0.3

 games-board/gnuchess/Manifest  |  1 +
 games-board/gnuchess/gnuchess-6.2.9.ebuild | 17 +
 2 files changed, 18 insertions(+)

diff --git a/games-board/gnuchess/Manifest b/games-board/gnuchess/Manifest
index 9f86c69e766..86efcc4555b 100644
--- a/games-board/gnuchess/Manifest
+++ b/games-board/gnuchess/Manifest
@@ -1 +1,2 @@
 DIST gnuchess-6.2.8.tar.gz 804080 BLAKE2B 
7079c07ae7cd2f225c428a7bf14d53eec394382508544994918b87db35d5cbdeb9cf42a11f5bc2f9c0c7b778384d6cdb9aad4490bc9cfd40a513fc2e36cbdd67
 SHA512 
9146ee727c1eb8002eb3b1e762d71876b512eff0799eafec7019d5312766fe2bd6655c622e66f86e92f80d2f3666e48158a1245b42c30bd3221a8b379689ecdd
+DIST gnuchess-6.2.9.tar.gz 802697 BLAKE2B 
e450e1d77f3158f2a063a7fc80985ad6d59f26a17a86aa9d18d86f32ee1c01fba100e59b02ea65276a1ee480ed050fbafd68635d40bae75205763fd34bfd608a
 SHA512 
7e2ec9e14ab331ffaab2dd60da81b64b5c5a07cf14f9139d67c77886038512d15511939b8e683675ea6611e24ff2c38212a7f288540448c9225c263435f71963

diff --git a/games-board/gnuchess/gnuchess-6.2.9.ebuild 
b/games-board/gnuchess/gnuchess-6.2.9.ebuild
new file mode 100644
index 000..3d7f17e471b
--- /dev/null
+++ b/games-board/gnuchess/gnuchess-6.2.9.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Console based chess interface"
+HOMEPAGE="https://www.gnu.org/software/chess/chess.html;
+SRC_URI="mirror://gnu/chess/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+src_configure() {
+   # bug #491088
+   econf --without-readline
+}



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2021-07-06 Thread Sebastian Pipping
commit: ca4b00dd4a33d76ef2696f421ba099d8855e2718
Author: Sebastian Pipping  gentoo  org>
AuthorDate: Tue Jul  6 12:51:00 2021 +
Commit: Sebastian Pipping  gentoo  org>
CommitDate: Tue Jul  6 12:51:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca4b00dd

games-board/gnuchess: Drop vulnerable

Bug: https://bugs.gentoo.org/780855
Signed-off-by: Sebastian Pipping  gentoo.org>
Package-Manager: Portage-3.0.20, Repoman-3.0.3

 games-board/gnuchess/Manifest  |  1 -
 games-board/gnuchess/gnuchess-6.2.7.ebuild | 16 
 games-board/gnuchess/gnuchess-6.2.8.ebuild | 17 -
 3 files changed, 34 deletions(-)

diff --git a/games-board/gnuchess/Manifest b/games-board/gnuchess/Manifest
index b8526b981b1..9f86c69e766 100644
--- a/games-board/gnuchess/Manifest
+++ b/games-board/gnuchess/Manifest
@@ -1,2 +1 @@
-DIST gnuchess-6.2.7.tar.gz 802863 BLAKE2B 
2fea825cdf0e629b3c2e9965d16f432edff81ceac8e7fbfd99b7be93f7281f813b10b91a62b3823acbf8967af538b04d2d87f93abde4a580e659e1fbdc5966e9
 SHA512 
1ed9e9344fbfc8e78504290a44e2710acab53f211c4349cafb7b64cc9a1fa923fbef4b4cbe3dd96438049b1da21415db3eb81fe663a94551c30105207086e343
 DIST gnuchess-6.2.8.tar.gz 804080 BLAKE2B 
7079c07ae7cd2f225c428a7bf14d53eec394382508544994918b87db35d5cbdeb9cf42a11f5bc2f9c0c7b778384d6cdb9aad4490bc9cfd40a513fc2e36cbdd67
 SHA512 
9146ee727c1eb8002eb3b1e762d71876b512eff0799eafec7019d5312766fe2bd6655c622e66f86e92f80d2f3666e48158a1245b42c30bd3221a8b379689ecdd

diff --git a/games-board/gnuchess/gnuchess-6.2.7.ebuild 
b/games-board/gnuchess/gnuchess-6.2.7.ebuild
deleted file mode 100644
index 37bd1f10254..000
--- a/games-board/gnuchess/gnuchess-6.2.7.ebuild
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Console based chess interface"
-HOMEPAGE="https://www.gnu.org/software/chess/chess.html;
-SRC_URI="mirror://gnu/chess/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-src_configure() {
-   econf --without-readline # bug 491088
-}

diff --git a/games-board/gnuchess/gnuchess-6.2.8.ebuild 
b/games-board/gnuchess/gnuchess-6.2.8.ebuild
deleted file mode 100644
index 3d7f17e471b..000
--- a/games-board/gnuchess/gnuchess-6.2.8.ebuild
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Console based chess interface"
-HOMEPAGE="https://www.gnu.org/software/chess/chess.html;
-SRC_URI="mirror://gnu/chess/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-
-src_configure() {
-   # bug #491088
-   econf --without-readline
-}



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2021-07-05 Thread Sam James
commit: b13b8575e500caf45f0b13aa49246fa26a45a7c6
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul  5 22:34:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul  5 22:34:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b13b8575

games-board/gnuchess: Stabilize 6.2.8-r1 arm64, #780855

Signed-off-by: Sam James  gentoo.org>

 games-board/gnuchess/gnuchess-6.2.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild 
b/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
index 1c78b6b397c..8e08730283a 100644
--- a/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/chess/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 PATCHES=(
"${FILESDIR}"/${P}-cve-2021-30184.patch  # bug 780855



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2021-06-07 Thread Sergei Trofimovich
commit: 3243de9598e3af065af7ace126fcf336ab70c00a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jun  7 06:28:06 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jun  7 06:28:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3243de95

games-board/gnuchess: stable 6.2.8-r1 for ppc64

stable wrt bug #780855

Package-Manager: Portage-3.0.19, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 games-board/gnuchess/gnuchess-6.2.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild 
b/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
index 0928abdc97f..1c78b6b397c 100644
--- a/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/chess/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
 
 PATCHES=(
"${FILESDIR}"/${P}-cve-2021-30184.patch  # bug 780855



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2021-06-06 Thread Sam James
commit: 6ed927301e036f0bca41457487eaf13b007f50e1
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun  6 23:18:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun  6 23:18:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ed92730

games-board/gnuchess: Stabilize 6.2.8-r1 x86, #780855

Signed-off-by: Sam James  gentoo.org>

 games-board/gnuchess/gnuchess-6.2.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild 
b/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
index 767e1eeaef7..0928abdc97f 100644
--- a/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/chess/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 
 PATCHES=(
"${FILESDIR}"/${P}-cve-2021-30184.patch  # bug 780855



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2021-06-06 Thread Sam James
commit: baa50d500a4e7327d1841869f102d13db9674903
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun  6 23:17:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun  6 23:17:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baa50d50

games-board/gnuchess: Stabilize 6.2.8-r1 amd64, #780855

Signed-off-by: Sam James  gentoo.org>

 games-board/gnuchess/gnuchess-6.2.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild 
b/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
index af4c32879a8..767e1eeaef7 100644
--- a/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/chess/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 PATCHES=(
"${FILESDIR}"/${P}-cve-2021-30184.patch  # bug 780855



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/files/, games-board/gnuchess/

2021-06-02 Thread Sebastian Pipping
commit: c2d8827505a9f03a77a066cb21976932cf7eada7
Author: Sebastian Pipping  gentoo  org>
AuthorDate: Wed Jun  2 11:32:16 2021 +
Commit: Sebastian Pipping  gentoo  org>
CommitDate: Wed Jun  2 11:34:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d88275

games-board/gnuchess: CVE-2021-30184

Bug: https://bugs.gentoo.org/780855
Signed-off-by: Sebastian Pipping  gentoo.org>
Package-Manager: Portage-3.0.19, Repoman-3.0.3

 .../files/gnuchess-6.2.8-cve-2021-30184.patch  | 72 ++
 games-board/gnuchess/gnuchess-6.2.8-r1.ebuild  | 21 +++
 2 files changed, 93 insertions(+)

diff --git a/games-board/gnuchess/files/gnuchess-6.2.8-cve-2021-30184.patch 
b/games-board/gnuchess/files/gnuchess-6.2.8-cve-2021-30184.patch
new file mode 100644
index 000..dfa89a0e17c
--- /dev/null
+++ b/games-board/gnuchess/files/gnuchess-6.2.8-cve-2021-30184.patch
@@ -0,0 +1,72 @@
+From 7059e40c7a487b17886e1d345b52fc0cfca8df72 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping 
+Date: Wed, 2 Jun 2021 13:15:29 +0200
+Subject: [PATCH] frontend/cmd.cc: Fix buffer overflow CVE-2021-30184
+
+Based on prior work by Michael Vaughan,
+with "break;" replaced by "return;" and
+magic number 9 resolved by strlen("setboard ").
+
+Mimics close-to-identical existing code from
+elsewhere in the the same file.
+---
+ src/frontend/cmd.cc | 30 ++
+ 1 file changed, 22 insertions(+), 8 deletions(-)
+
+diff --git a/src/frontend/cmd.cc b/src/frontend/cmd.cc
+index a321fc2..394d03f 100644
+--- a/src/frontend/cmd.cc
 b/src/frontend/cmd.cc
+@@ -477,13 +477,20 @@ void cmd_pgnload(void)
+ return;
+   }
+ 
+-  strcpy( data, "setboard " );
++  const char setboardCmd[] = "setboard ";
++  unsigned int setboardLen = strlen(setboardCmd);
++  strcpy( data, setboardCmd );
+   int i=0;
+   while ( epdline[i] != '\n' ) {
+-data[i+9] = epdline[i];
+-++i;
++if (i + setboardLen < MAXSTR - 1) {
++  data[i+setboardLen] = epdline[i];
++  ++i;
++} else {
++  printf( _("Error reading contents of file '%s'.\n"), token[1] );
++  return;
++}
+   }
+-  data[i+9] = '\0';
++  data[i+setboardLen] = '\0';
+   SetDataToEngine( data );
+   SetAutoGo( true );
+   pgnloaded = 0;
+@@ -501,13 +508,20 @@ void cmd_pgnreplay(void)
+ return;
+   }
+ 
+-  strcpy( data, "setboard " );
++  const char setboardCmd[] = "setboard ";
++  unsigned int setboardLen = strlen(setboardCmd);
++  strcpy( data, setboardCmd );
+   int i=0;
+   while ( epdline[i] != '\n' ) {
+-data[i+9] = epdline[i];
+-++i;
++if (i + setboardLen < MAXSTR - 1) {
++  data[i+setboardLen] = epdline[i];
++  ++i;
++} else {
++  printf( _("Error reading contents of file '%s'.\n"), token[1] );
++  return;
++}
+   }
+-  data[i+9] = '\0';
++  data[i+setboardLen] = '\0';
+ 
+   SetDataToEngine( data );
+   SetAutoGo( true );
+-- 
+2.31.1
+

diff --git a/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild 
b/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
new file mode 100644
index 000..af4c32879a8
--- /dev/null
+++ b/games-board/gnuchess/gnuchess-6.2.8-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Console based chess interface"
+HOMEPAGE="https://www.gnu.org/software/chess/chess.html;
+SRC_URI="mirror://gnu/chess/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-cve-2021-30184.patch  # bug 780855
+)
+
+src_configure() {
+   # bug #491088
+   econf --without-readline
+}



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2021-05-09 Thread Sam James
commit: ea7c1f9a4abc6ecd64c7d73d3c2ee1affee4b839
Author: Sam James  gentoo  org>
AuthorDate: Sun May  9 22:16:30 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May  9 22:39:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea7c1f9a

games-board/gnuchess: add 6.2.8

Bug: https://bugs.gentoo.org/780855
Signed-off-by: Sam James  gentoo.org>

 games-board/gnuchess/Manifest  |  1 +
 games-board/gnuchess/gnuchess-6.2.8.ebuild | 17 +
 2 files changed, 18 insertions(+)

diff --git a/games-board/gnuchess/Manifest b/games-board/gnuchess/Manifest
index 24e258af6a8..b8526b981b1 100644
--- a/games-board/gnuchess/Manifest
+++ b/games-board/gnuchess/Manifest
@@ -1 +1,2 @@
 DIST gnuchess-6.2.7.tar.gz 802863 BLAKE2B 
2fea825cdf0e629b3c2e9965d16f432edff81ceac8e7fbfd99b7be93f7281f813b10b91a62b3823acbf8967af538b04d2d87f93abde4a580e659e1fbdc5966e9
 SHA512 
1ed9e9344fbfc8e78504290a44e2710acab53f211c4349cafb7b64cc9a1fa923fbef4b4cbe3dd96438049b1da21415db3eb81fe663a94551c30105207086e343
+DIST gnuchess-6.2.8.tar.gz 804080 BLAKE2B 
7079c07ae7cd2f225c428a7bf14d53eec394382508544994918b87db35d5cbdeb9cf42a11f5bc2f9c0c7b778384d6cdb9aad4490bc9cfd40a513fc2e36cbdd67
 SHA512 
9146ee727c1eb8002eb3b1e762d71876b512eff0799eafec7019d5312766fe2bd6655c622e66f86e92f80d2f3666e48158a1245b42c30bd3221a8b379689ecdd

diff --git a/games-board/gnuchess/gnuchess-6.2.8.ebuild 
b/games-board/gnuchess/gnuchess-6.2.8.ebuild
new file mode 100644
index 000..3d7f17e471b
--- /dev/null
+++ b/games-board/gnuchess/gnuchess-6.2.8.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Console based chess interface"
+HOMEPAGE="https://www.gnu.org/software/chess/chess.html;
+SRC_URI="mirror://gnu/chess/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+src_configure() {
+   # bug #491088
+   econf --without-readline
+}



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess-book/

2021-04-18 Thread Sam James
commit: 6909b0acb6a1f40a9e3dae8d6cf1b231f7adcdce
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 04:04:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 04:30:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6909b0ac

games-board/gnuchess-book: update EAPI 5 -> 7

Signed-off-by: Sam James  gentoo.org>

 games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild 
b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
index 47e9b358322..bba4122489d 100644
--- a/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
+++ b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
@@ -1,22 +1,20 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 DESCRIPTION="Opening book for gnuchess"
 HOMEPAGE="https://www.gnu.org/software/chess/chess.html;
 SRC_URI="mirror://gnu/chess/book_${PV}.pgn.gz"
+S="${WORKDIR}"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE=""
 RESTRICT="userpriv" # bug #112898
 
-DEPEND=">=games-board/gnuchess-6.2.3"
-RDEPEND=${DEPEND}
-
-S=${WORKDIR}
+BDEPEND=">=games-board/gnuchess-6.2.3"
+RDEPEND="${BDEPEND}"
 
 src_compile() {
gnuchess --addbook=book_${PV}.pgn || die



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2020-06-23 Thread David Seifert
commit: f0b0c28aae4466e2cb6398eaa7578b8d342a2afa
Author: David Seifert  gentoo  org>
AuthorDate: Tue Jun 23 16:16:56 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jun 23 16:16:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b0c28a

games-board/gnuchess: Remove old

Bug: https://bugs.gentoo.org/711264
Package-Manager: Portage-2.3.102, Repoman-2.3.23
Signed-off-by: David Seifert  gentoo.org>

 games-board/gnuchess/Manifest  |  2 --
 games-board/gnuchess/gnuchess-6.2.4.ebuild | 20 
 games-board/gnuchess/gnuchess-6.2.5.ebuild | 20 
 3 files changed, 42 deletions(-)

diff --git a/games-board/gnuchess/Manifest b/games-board/gnuchess/Manifest
index 53d600c941b..24e258af6a8 100644
--- a/games-board/gnuchess/Manifest
+++ b/games-board/gnuchess/Manifest
@@ -1,3 +1 @@
-DIST gnuchess-6.2.4.tar.gz 757985 BLAKE2B 
bbb83a9fe7a7ace155b869deebdb67474d6c23538e7852167e846d5570bcd878634b0b2576f3ee33407913976103c637d3b024a8b81f290325c88c84d573d85c
 SHA512 
53546d3319cd6a7bc70be5cc11c29cf33c71b747de2244a7d8d4aff6b00318ad35ee0e27058b40a265c62ef02c188d2e34cba9bbf439306220796e7332904d42
-DIST gnuchess-6.2.5.tar.gz 782359 BLAKE2B 
d9ae979023ea6265e89a25223935df3847adfc52d46df2a9fe96700081f613f7817b4add22e3a63aa4e035adea9c1f4856cb1e9b80d751c3ee63818b5924c388
 SHA512 
f3f65a85eb4c93f6f10c7058bde7ee7f4a48c2f465b24a7cc0d5bcafe4df186b434ce23bf8c032d012efffba39c6c3c60ada484ff22d87114ce2be5dd0da6835
 DIST gnuchess-6.2.7.tar.gz 802863 BLAKE2B 
2fea825cdf0e629b3c2e9965d16f432edff81ceac8e7fbfd99b7be93f7281f813b10b91a62b3823acbf8967af538b04d2d87f93abde4a580e659e1fbdc5966e9
 SHA512 
1ed9e9344fbfc8e78504290a44e2710acab53f211c4349cafb7b64cc9a1fa923fbef4b4cbe3dd96438049b1da21415db3eb81fe663a94551c30105207086e343

diff --git a/games-board/gnuchess/gnuchess-6.2.4.ebuild 
b/games-board/gnuchess/gnuchess-6.2.4.ebuild
deleted file mode 100644
index 09272e6f034..000
--- a/games-board/gnuchess/gnuchess-6.2.4.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic
-
-DESCRIPTION="Console based chess interface"
-HOMEPAGE="https://www.gnu.org/software/chess/chess.html;
-SRC_URI="mirror://gnu/chess/${P}.tar.gz"
-
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-LICENSE="GPL-3"
-SLOT="0"
-IUSE=""
-
-src_configure() {
-   strip-flags # bug #199097
-   econf --without-readline # bug 491088
-}

diff --git a/games-board/gnuchess/gnuchess-6.2.5.ebuild 
b/games-board/gnuchess/gnuchess-6.2.5.ebuild
deleted file mode 100644
index e368ad19a37..000
--- a/games-board/gnuchess/gnuchess-6.2.5.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic
-
-DESCRIPTION="Console based chess interface"
-HOMEPAGE="https://www.gnu.org/software/chess/chess.html;
-SRC_URI="mirror://gnu/chess/${P}.tar.gz"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-LICENSE="GPL-3"
-SLOT="0"
-IUSE=""
-
-src_configure() {
-   strip-flags # bug #199097
-   econf --without-readline # bug 491088
-}



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2020-06-20 Thread Thomas Deutschmann
commit: 47ebb8920fa409f574bbe8142d5905307a36c3b4
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Jun 20 13:52:54 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Jun 20 14:08:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47ebb892

games-board/gnuchess: x86 stable (bug #720792)

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann  gentoo.org>

 games-board/gnuchess/gnuchess-6.2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.7.ebuild 
b/games-board/gnuchess/gnuchess-6.2.7.ebuild
index e6d89be95c8..a79c72f20cb 100644
--- a/games-board/gnuchess/gnuchess-6.2.7.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.7.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/chess/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
 
 src_configure() {
econf --without-readline # bug 491088



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2020-06-17 Thread Agostino Sarubbo
commit: 5df35111fb1aee7e1cd803ae2edcb4a6d860eefc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun 17 07:07:14 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun 17 07:07:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5df35111

games-board/gnuchess: amd64 stable wrt bug #720792

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 games-board/gnuchess/gnuchess-6.2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.7.ebuild 
b/games-board/gnuchess/gnuchess-6.2.7.ebuild
index fcc6d93607c..e6d89be95c8 100644
--- a/games-board/gnuchess/gnuchess-6.2.7.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.7.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/chess/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
 
 src_configure() {
econf --without-readline # bug 491088



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2020-06-15 Thread Agostino Sarubbo
commit: 8dbe23a389acfacd362aaffd1323a8dd12cadf48
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 15 15:07:54 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 15 15:07:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dbe23a3

games-board/gnuchess: ppc64 stable wrt bug #720792

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 games-board/gnuchess/gnuchess-6.2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/gnuchess/gnuchess-6.2.7.ebuild 
b/games-board/gnuchess/gnuchess-6.2.7.ebuild
index 35a66b127a1..fcc6d93607c 100644
--- a/games-board/gnuchess/gnuchess-6.2.7.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.7.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/chess/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
 
 src_configure() {
econf --without-readline # bug 491088



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/

2020-06-11 Thread David Seifert
commit: 36e5d110f650769a6657df8955fb51c0b4cc615b
Author: David Seifert  gentoo  org>
AuthorDate: Thu Jun 11 12:15:49 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jun 11 12:15:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36e5d110

games-board/gnuchess: Version bump to 6.2.7

Bug: https://bugs.gentoo.org/711264
Bug: https://bugs.gentoo.org/720792
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: David Seifert  gentoo.org>

 games-board/gnuchess/Manifest  |  1 +
 games-board/gnuchess/gnuchess-6.2.7.ebuild | 16 
 2 files changed, 17 insertions(+)

diff --git a/games-board/gnuchess/Manifest b/games-board/gnuchess/Manifest
index f16d14ade61..53d600c941b 100644
--- a/games-board/gnuchess/Manifest
+++ b/games-board/gnuchess/Manifest
@@ -1,2 +1,3 @@
 DIST gnuchess-6.2.4.tar.gz 757985 BLAKE2B 
bbb83a9fe7a7ace155b869deebdb67474d6c23538e7852167e846d5570bcd878634b0b2576f3ee33407913976103c637d3b024a8b81f290325c88c84d573d85c
 SHA512 
53546d3319cd6a7bc70be5cc11c29cf33c71b747de2244a7d8d4aff6b00318ad35ee0e27058b40a265c62ef02c188d2e34cba9bbf439306220796e7332904d42
 DIST gnuchess-6.2.5.tar.gz 782359 BLAKE2B 
d9ae979023ea6265e89a25223935df3847adfc52d46df2a9fe96700081f613f7817b4add22e3a63aa4e035adea9c1f4856cb1e9b80d751c3ee63818b5924c388
 SHA512 
f3f65a85eb4c93f6f10c7058bde7ee7f4a48c2f465b24a7cc0d5bcafe4df186b434ce23bf8c032d012efffba39c6c3c60ada484ff22d87114ce2be5dd0da6835
+DIST gnuchess-6.2.7.tar.gz 802863 BLAKE2B 
2fea825cdf0e629b3c2e9965d16f432edff81ceac8e7fbfd99b7be93f7281f813b10b91a62b3823acbf8967af538b04d2d87f93abde4a580e659e1fbdc5966e9
 SHA512 
1ed9e9344fbfc8e78504290a44e2710acab53f211c4349cafb7b64cc9a1fa923fbef4b4cbe3dd96438049b1da21415db3eb81fe663a94551c30105207086e343

diff --git a/games-board/gnuchess/gnuchess-6.2.7.ebuild 
b/games-board/gnuchess/gnuchess-6.2.7.ebuild
new file mode 100644
index 000..35a66b127a1
--- /dev/null
+++ b/games-board/gnuchess/gnuchess-6.2.7.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Console based chess interface"
+HOMEPAGE="https://www.gnu.org/software/chess/chess.html;
+SRC_URI="mirror://gnu/chess/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+src_configure() {
+   econf --without-readline # bug 491088
+}



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess-book/

2017-01-16 Thread Agostino Sarubbo
commit: 31f55ccd243062e492235b82a65fef11e6ba69fe
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jan 16 10:14:56 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jan 16 10:14:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31f55ccd

games-board/gnuchess-book: x86 stable wrt bug #601976

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild 
b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
index 0bf4c51..d8f6bed 100644
--- a/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
+++ b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://gnu/chess/book_${PV}.pgn.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
 IUSE=""
 RESTRICT="userpriv" # bug #112898
 



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess-book/

2017-01-10 Thread Aaron Bauman
commit: 6220d08b6779cb91e44357d95b6404489a5e6ee9
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue Jan 10 22:33:23 2017 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Jan 10 22:33:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6220d08b

games-board/gnuchess-book: amd64 stable

Package-Manager: portage-2.3.0

 games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild 
b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
index 7e2cbc5..0bf4c51 100644
--- a/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
+++ b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -10,7 +10,7 @@ SRC_URI="mirror://gnu/chess/book_${PV}.pgn.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
 IUSE=""
 RESTRICT="userpriv" # bug #112898
 



[gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess/files/, games-board/gnuchess/

2015-10-23 Thread Michael Sterrett
commit: 6bc7eceb6efa29fc146bcca13164bc5f7ce665b3
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Oct 23 15:10:31 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Oct 23 15:10:44 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bc7eceb

apply upstream patch for --addbook option to fix bug #563864

Package-Manager: portage-2.2.20.1

 games-board/gnuchess/files/gnuchess-6.2.2-addbook.patch| 10 ++
 .../{gnuchess-6.2.2.ebuild => gnuchess-6.2.2-r1.ebuild}|  2 ++
 2 files changed, 12 insertions(+)

diff --git a/games-board/gnuchess/files/gnuchess-6.2.2-addbook.patch 
b/games-board/gnuchess/files/gnuchess-6.2.2-addbook.patch
new file mode 100644
index 000..21b3dc3
--- /dev/null
+++ b/games-board/gnuchess/files/gnuchess-6.2.2-addbook.patch
@@ -0,0 +1,10 @@
+--- trunk/src/main.cc  2015/10/17 13:52:22 127
 trunk/src/main.cc  2015/10/18 17:28:56 128
+@@ -412,6 +412,7 @@
+ char data[9+MAXSTR+1+4]="";
+ sprintf( data, "book add %s\nquit", opt_addbook );
+ SendToEngine( data );
++SET (flags, QUIT);
+   }
+ 
+   if ( opt_easy == 0 )

diff --git a/games-board/gnuchess/gnuchess-6.2.2.ebuild 
b/games-board/gnuchess/gnuchess-6.2.2-r1.ebuild
similarity index 91%
rename from games-board/gnuchess/gnuchess-6.2.2.ebuild
rename to games-board/gnuchess/gnuchess-6.2.2-r1.ebuild
index 75d5001..484ec12 100644
--- a/games-board/gnuchess/gnuchess-6.2.2.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.2-r1.ebuild
@@ -14,6 +14,8 @@ LICENSE="GPL-3"
 SLOT="0"
 IUSE=""
 
+PATCHES=( "${FILESDIR}"/${P}-addbook.patch )
+
 src_configure() {
strip-flags # bug #199097
egamesconf --without-readline # bug 491088