summaryrefslogtreecommitdiff
path: root/games-board
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-02-05 19:18:11 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-02-05 19:18:11 +0000
commitae4397d78e495404afda11d03c7ba29e7c524058 (patch)
treeb6428e0150f06f9fa5e0d14d9c8e85a3406408a0 /games-board
parentdfd5a7f7e258f244f137f0b58ee5dcb9b1bc671c (diff)
downloadbaldeagleos-repo-ae4397d78e495404afda11d03c7ba29e7c524058.tar.gz
baldeagleos-repo-ae4397d78e495404afda11d03c7ba29e7c524058.tar.xz
baldeagleos-repo-ae4397d78e495404afda11d03c7ba29e7c524058.zip
Adding metadata
Diffstat (limited to 'games-board')
-rw-r--r--games-board/sjeng/files/sjeng-11.2_p8_p1-c23.patch20
-rw-r--r--games-board/sjeng/sjeng-11.2_p8_p1-r1.ebuild (renamed from games-board/sjeng/sjeng-11.2_p8_p1.ebuild)12
2 files changed, 25 insertions, 7 deletions
diff --git a/games-board/sjeng/files/sjeng-11.2_p8_p1-c23.patch b/games-board/sjeng/files/sjeng-11.2_p8_p1-c23.patch
new file mode 100644
index 000000000000..a5a4ba858ffb
--- /dev/null
+++ b/games-board/sjeng/files/sjeng-11.2_p8_p1-c23.patch
@@ -0,0 +1,20 @@
+--- a/sjeng.h
++++ b/sjeng.h
+@@ -30,6 +30,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <stdbool.h>
+ #include <time.h>
+
+ #ifdef HAVE_SYS_TIMEB_H
+@@ -100,7 +101,8 @@
+ #define diagr(square) (diagr[(square)])
+
+ #ifndef INPROBECODE
+-typedef enum {FALSE, TRUE} bool;
++#define FALSE false
++#define TRUE true
+ #endif
+
+ /* castle flags: */
diff --git a/games-board/sjeng/sjeng-11.2_p8_p1.ebuild b/games-board/sjeng/sjeng-11.2_p8_p1-r1.ebuild
index 313791ed888d..5e3f1851b7af 100644
--- a/games-board/sjeng/sjeng-11.2_p8_p1.ebuild
+++ b/games-board/sjeng/sjeng-11.2_p8_p1-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools prefix
@@ -13,8 +13,8 @@ DESCRIPTION="Console based chess interface"
HOMEPAGE="http://sjeng.sourceforge.net/"
SRC_URI="
https://downloads.sourceforge.net/sjeng/Sjeng-Free-${MY_PV}.tar.gz
- mirror://debian/pool/main/s/sjeng/sjeng_${MY_DEB_PV}.diff.gz
-"
+ mirror://debian/pool/main/s/sjeng/sjeng_${MY_DEB_PV}.diff.gz"
+S="${WORKDIR}/Sjeng-Free-${MY_PV}"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
@@ -23,11 +23,10 @@ SLOT="0"
RDEPEND="sys-libs/gdbm:0="
DEPEND="${RDEPEND}"
-S="${WORKDIR}/Sjeng-Free-${MY_PV}"
-
PATCHES=(
"${WORKDIR}/sjeng_${MY_DEB_PV}.diff"
"${S}/debian/patches"
+ "${FILESDIR}"/${P}-c23.patch
)
src_prepare() {
@@ -36,7 +35,6 @@ src_prepare() {
hprefixify book.c rcfile.c
# Files generated with ancient autotools, regenerate to respect CC.
- mv configure.{in,ac} || die
eautoreconf
}