From e670c7c76d4fa17b8b6217fd41226edbddc3c550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= Date: Wed, 29 Apr 2026 19:22:58 +0200 Subject: [PATCH] app-crypt/pinentry: add patch for gettext >= 0.24 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Andrey Volkov. Closes: https://bugs.gentoo.org/959774 Signed-off-by: Holger Hoffstätte Part-of: https://codeberg.org/gentoo/gentoo/pulls/781 Merges: https://codeberg.org/gentoo/gentoo/pulls/781 Signed-off-by: Sam James --- .../files/pinentry-1.3.2-gettext-0.24.patch | 13 +++++++++++++ app-crypt/pinentry/pinentry-1.3.2-r1.ebuild | 1 + 2 files changed, 14 insertions(+) create mode 100644 app-crypt/pinentry/files/pinentry-1.3.2-gettext-0.24.patch diff --git a/app-crypt/pinentry/files/pinentry-1.3.2-gettext-0.24.patch b/app-crypt/pinentry/files/pinentry-1.3.2-gettext-0.24.patch new file mode 100644 index 0000000000000..e0f17ec5fefe6 --- /dev/null +++ b/app-crypt/pinentry/files/pinentry-1.3.2-gettext-0.24.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/959774 + +--- a/configure.ac ++++ b/configure.ac +@@ -244,6 +244,8 @@ AM_PATH_GPG_ERROR("$NEED_GPG_ERROR_VERSION", + COMMON_CFLAGS="$GPG_ERROR_CFLAGS $COMMON_CFLAGS" + COMMON_LIBS="$GPG_ERROR_LIBS $COMMON_LIBS" + ++AM_GNU_GETTEXT([external]) ++AM_GNU_GETTEXT_VERSION + AC_DEFINE_UNQUOTED(GPG_ERR_ENABLE_GETTEXT_MACROS, 1, + [Under Windows we use the gettext code from libgpg-error]) + diff --git a/app-crypt/pinentry/pinentry-1.3.2-r1.ebuild b/app-crypt/pinentry/pinentry-1.3.2-r1.ebuild index a33429935f3a8..52da8e767ca31 100644 --- a/app-crypt/pinentry/pinentry-1.3.2-r1.ebuild +++ b/app-crypt/pinentry/pinentry-1.3.2-r1.ebuild @@ -51,6 +51,7 @@ DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) PATCHES=( "${FILESDIR}/${PN}-1.0.0-AR.patch" "${FILESDIR}/${PN}-1.3.0-automagic.patch" # bug #819939, bug #837719 + "${FILESDIR}/${PN}-1.3.2-gettext-0.24.patch" # bug #959774 ) src_prepare() {