media-radio/xastir: fix autoreconf with newer automake

Closes: https://bugs.gentoo.org/816615
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-10-14 08:23:24 +01:00
parent 349d5ffff3
commit 0e6288041f
2 changed files with 18 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
https://bugs.gentoo.org/816615
https://github.com/Xastir/Xastir/pull/181
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,6 @@
# It should look something like this: ([xastir], [2.0.8], [xastir@xastir.org])
# The revision number must contain at least one '.' and two digits.
AC_INIT([xastir], [2.1.6], [xastir@xastir.org])
-AM_INIT_AUTOMAKE
#########################################################################

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -40,9 +40,12 @@ src_prepare() {
# fix script location (bug #407185)
eapply "${FILESDIR}"/${PN}-2.1.2-scripts.diff
# do not filter duplicate flags (see bug 411095)
# do not filter duplicate flags (see bug #411095)
eapply -p0 "${FILESDIR}"/${PN}-2.0.0-dont-filter-flags.diff
# fix eautoreconf with >=sys-devel/automake-1.16.5 (see bug #816615)
eapply "${FILESDIR}"/${PN}-2.1.6-automake-1.16.5.patch
eautoreconf
}