gentoo-ebuilds/games-board/polyglot/polyglot-1.4.70b-r3.ebuild
Ulrich Müller e18831a3a2
games-board/polyglot: Fix build with GCC 15
Closes: https://bugs.gentoo.org/944265
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2024-11-21 10:52:54 +01:00

23 lines
609 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Protocol adapter to run UCI chess engines under xboard"
HOMEPAGE="http://hardy.uhasselt.be/Toga/"
# not entirely clear what the "b" in the version stands for
SRC_URI="http://hardy.uhasselt.be/Toga/${PN}-release/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
PATCHES=(
"${FILESDIR}"/${P}-no-common.patch
"${FILESDIR}"/${P}-musl.patch
)
DOCS="AUTHORS ChangeLog TODO" # README* installed by build system
src_compile() {
emake CFLAGS="-std=gnu17 ${CFLAGS}"
}