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