From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1715870-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 625071582EF
	for <garchives@archives.gentoo.org>; Sat, 08 Feb 2025 02:19:13 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 484E1342F9D
	for <garchives@archives.gentoo.org>; Sat, 08 Feb 2025 02:19:13 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 3554A1103CB;
	Sat, 08 Feb 2025 02:19:12 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 280BE1103CB
	for <gentoo-commits@lists.gentoo.org>; Sat, 08 Feb 2025 02:19:12 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id CE46F342F9D
	for <gentoo-commits@lists.gentoo.org>; Sat, 08 Feb 2025 02:19:11 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 398C42654
	for <gentoo-commits@lists.gentoo.org>; Sat, 08 Feb 2025 02:19:10 +0000 (UTC)
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" <dlan@gentoo.org>
Message-ID: <1738980522.c50e1538afd5f9a98c6519c678b12c45a5f76a72.dlan@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/alpine/
X-VCS-Repository: repo/gentoo
X-VCS-Files: mail-client/alpine/alpine-2.26-r5.ebuild
X-VCS-Directories: mail-client/alpine/
X-VCS-Committer: dlan
X-VCS-Committer-Name: Yixun Lan
X-VCS-Revision: c50e1538afd5f9a98c6519c678b12c45a5f76a72
X-VCS-Branch: master
Date: Sat, 08 Feb 2025 02:19:10 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 4b054b3a-c0d3-4c0d-bf26-7b714ae3ad91
X-Archives-Hash: d84be9302e1006182948924ba0c224b9

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)"