commit: c50e1538afd5f9a98c6519c678b12c45a5f76a72 Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com> AuthorDate: Sun Jan 26 13:05:31 2025 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Sat Feb 8 02:08:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c50e1538
mail-client/alpine: fix eautoreconf with gettext-0.23 Closes: https://bugs.gentoo.org/946128 Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com> Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> mail-client/alpine/alpine-2.26-r5.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mail-client/alpine/alpine-2.26-r5.ebuild b/mail-client/alpine/alpine-2.26-r5.ebuild index ebbe665ab898..4c869a5ce45b 100644 --- a/mail-client/alpine/alpine-2.26-r5.ebuild +++ b/mail-client/alpine/alpine-2.26-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -34,6 +34,12 @@ src_prepare() { # optional extra features, see https://alpineapp.email/alpine/index.html use chappa && eapply "${WORKDIR}/${P}-patches/chappa-rebased.patch" + # fix gettext macros to work with >=0.23 (bug #946128) + # eautoreconf will call autopoint, which will install any necessary files + # from the version we set in configure.ac + local gettext_version=$(gettextize --version | awk '/GNU gettext-tools/{print $NF}' || die) + sed -i "s/^AM_GNU_GETTEXT_VERSION(.*)/AM_GNU_GETTEXT_VERSION([${gettext_version}])/g" configure.ac || die + eautoreconf tc-export CC RANLIB AR export CC_FOR_BUILD="$(tc-getBUILD_CC)"
