commit:     0e6288041fab5991deea8362cd5ddc0cdc9cb07b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 14 07:23:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 14 07:23:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e628804

media-radio/xastir: fix autoreconf with newer automake

Closes: https://bugs.gentoo.org/816615
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-radio/xastir/files/xastir-2.1.6-automake-1.16.5.patch | 13 +++++++++++++
 media-radio/xastir/xastir-2.1.6.ebuild                      |  7 +++++--
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/media-radio/xastir/files/xastir-2.1.6-automake-1.16.5.patch 
b/media-radio/xastir/files/xastir-2.1.6-automake-1.16.5.patch
new file mode 100644
index 00000000000..51d10a2c815
--- /dev/null
+++ b/media-radio/xastir/files/xastir-2.1.6-automake-1.16.5.patch
@@ -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], 
[[email protected]])
+ # The revision number must contain at least one '.' and two digits.
+ AC_INIT([xastir], [2.1.6], [[email protected]])
+-AM_INIT_AUTOMAKE
+ #########################################################################
+ 
+ 

diff --git a/media-radio/xastir/xastir-2.1.6.ebuild 
b/media-radio/xastir/xastir-2.1.6.ebuild
index 1da0b5592d8..fcd3f2a7f25 100644
--- a/media-radio/xastir/xastir-2.1.6.ebuild
+++ b/media-radio/xastir/xastir-2.1.6.ebuild
@@ -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
 }
 

Reply via email to