gentoo-ebuilds/x11-misc/xpad/files/xpad-5.8.0-gettext.patch
Philipp Rösner a33580053c
x11-misc/xpad: 5.8.0-r1: require gettext version
Patch configure.ac to use gettext version 21, instead
of allowing it to use newer versions of gettext.

Closes: https://bugs.gentoo.org/945976
Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39953
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2025-01-03 19:29:25 +02:00

16 lines
561 B
Diff

Require specific gettext version, as otherwise using
>=sys-devel/gettext-0.23 may lead to a build error due
to misaligned gettext versions.
https://bugs.gentoo.org/945976
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,7 @@ AC_TYPE_SIZE_T
# i18n / text translations
# The choice for version of gettext is only based on what was installed on the developers desktop (2021).
# If another version is more convenient, go for it.
-AM_GNU_GETTEXT_VERSION([0.21])
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.21])
AM_GNU_GETTEXT([external])
GETTEXT_PACKAGE="$PACKAGE"