commit:     24ab5599bcad574f7d3c89bbc2cbb0d371b434a6
Author:     Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Sat Oct 17 22:54:32 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Oct 22 21:18:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ab5599

games-rpg/adonthell: don't call ar directly

Closes: https://bugs.gentoo.org/746095
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/17961
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-rpg/adonthell/adonthell-0.3.8.ebuild         | 11 ++++++++++-
 games-rpg/adonthell/files/adonthell-0.3.8-ar.patch | 11 +++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/games-rpg/adonthell/adonthell-0.3.8.ebuild 
b/games-rpg/adonthell/adonthell-0.3.8.ebuild
index ee5853868fc..5407912c96c 100644
--- a/games-rpg/adonthell/adonthell-0.3.8.ebuild
+++ b/games-rpg/adonthell/adonthell-0.3.8.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 PYTHON_COMPAT=( python3_{6,7,8} )
 
-inherit python-single-r1
+inherit autotools python-single-r1
 
 DESCRIPTION="Roleplaying game engine"
 HOMEPAGE="http://adonthell.nongnu.org/";
@@ -37,6 +37,15 @@ BDEPEND="
 
 DOCS=( AUTHORS NEWBIE NEWS README )
 
+PATCHES=(
+       "${FILESDIR}/${P}-ar.patch"
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
 pkg_setup() {
        python-single-r1_pkg_setup
 }

diff --git a/games-rpg/adonthell/files/adonthell-0.3.8-ar.patch 
b/games-rpg/adonthell/files/adonthell-0.3.8-ar.patch
new file mode 100644
index 00000000000..2b2e34d62c7
--- /dev/null
+++ b/games-rpg/adonthell/files/adonthell-0.3.8-ar.patch
@@ -0,0 +1,11 @@
+diff -r b3fec744fc29 configure.ac
+--- a/configure.ac     Sat Oct 17 22:39:45 2020 +0000
++++ b/configure.ac     Sat Oct 17 22:40:17 2020 +0000
+@@ -26,6 +26,7 @@
+ AC_PROG_CXXCPP
+ AC_PROG_MAKE_SET
+ AC_PROG_RANLIB
++AM_PROG_AR
+ 
+ dnl ****
+ dnl i18n

Reply via email to