summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Rösner <rndxelement@protonmail.com>2025-01-02 22:10:06 +0100
committerJoonas Niilola <juippis@gentoo.org>2025-01-03 19:29:25 +0200
commita33580053c93a5528b80d8f7a3165248845f201d (patch)
treea7cafde60341c95ec6162d37caa744e00d48c6dc /x11-misc/xpad/files
parentx11-misc/xpad: drop 5.4.0, 5.7.0 (diff)
downloadgentoo-a33580053c93a5528b80d8f7a3165248845f201d.tar.gz
gentoo-a33580053c93a5528b80d8f7a3165248845f201d.tar.bz2
gentoo-a33580053c93a5528b80d8f7a3165248845f201d.zip
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>
Diffstat (limited to 'x11-misc/xpad/files')
-rw-r--r--x11-misc/xpad/files/xpad-5.8.0-gettext.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-misc/xpad/files/xpad-5.8.0-gettext.patch b/x11-misc/xpad/files/xpad-5.8.0-gettext.patch
new file mode 100644
index 000000000000..e923b8a6ddc1
--- /dev/null
+++ b/x11-misc/xpad/files/xpad-5.8.0-gettext.patch
@@ -0,0 +1,16 @@
+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"