summaryrefslogtreecommitdiff
path: root/games-puzzle/xtris/xtris-1.15-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/xtris/xtris-1.15-r1.ebuild')
-rw-r--r--games-puzzle/xtris/xtris-1.15-r1.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/games-puzzle/xtris/xtris-1.15-r1.ebuild b/games-puzzle/xtris/xtris-1.15-r1.ebuild
index 93ef346fe67e..b41708fe9214 100644
--- a/games-puzzle/xtris/xtris-1.15-r1.ebuild
+++ b/games-puzzle/xtris/xtris-1.15-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit desktop toolchain-funcs
@@ -17,9 +17,13 @@ KEYWORDS="~amd64 ~x86"
DEPEND="x11-libs/libX11"
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.15-implicit-function-decl-time.patch
+)
+
src_compile() {
emake \
- CC=$(tc-getCC) \
+ CC="$(tc-getCC)" \
BINDIR=/usr/bin \
MANDIR=/usr/share/man \
CFLAGS="${CFLAGS}" \