app-crypt/pinentry: add patch for gettext >= 0.24

Thanks to Andrey Volkov.

Closes: https://bugs.gentoo.org/959774
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/781
Merges: https://codeberg.org/gentoo/gentoo/pulls/781
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Holger Hoffstätte
2026-04-29 19:22:58 +02:00
committed by Sam James
parent 31396a3ee0
commit e670c7c76d
2 changed files with 14 additions and 0 deletions

View File

@@ -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])

View File

@@ -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() {