summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/ace/ace-1.4-r2.ebuild')
-rw-r--r--games-board/ace/ace-1.4-r2.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/games-board/ace/ace-1.4-r2.ebuild b/games-board/ace/ace-1.4-r2.ebuild
index 25187a76f919..7ebefd947a81 100644
--- a/games-board/ace/ace-1.4-r2.ebuild
+++ b/games-board/ace/ace-1.4-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools desktop
+inherit autotools desktop flag-o-matic
DESCRIPTION="DJ Delorie's Ace of Penguins solitaire games"
HOMEPAGE="http://www.delorie.com/store/ace/"
@@ -27,6 +27,7 @@ PATCHES=(
"${FILESDIR}/${P}-clang.patch"
"${FILESDIR}/${P}-gcc10.patch"
"${FILESDIR}/${P}-malloc.patch"
+ "${FILESDIR}/${P}-isgraph-include.patch"
)
src_prepare() {
@@ -37,6 +38,11 @@ src_prepare() {
}
src_configure() {
+ # Actually fixed upstream but a fair number of commits in CVS(!)
+ # since last release, bug #858608. Can drop after 1.4.
+ # https://www.delorie.com/bin/cvsweb.cgi/ace/lib/cards.h.diff?r1=1.16&r2=1.17&cvsroot=ace
+ filter-lto
+
econf \
--disable-static \
--program-prefix=ace-