commit:     751f7a13042434b58b3d9bb5930f6bc64e91e50b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 09:12:37 2023 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Jun 26 09:12:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=751f7a13

sys-fs/xfsprogs: fix gettext 0.22 breakage

* gettext-0.22 validates format strings now:
  https://savannah.gnu.org/bugs/index.php?64332#comment1

Closes: https://bugs.gentoo.org/908864
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-fs/xfsprogs/files/xfsprogs-6.3.0-gettext-0.22.patch | 11 +++++++++++
 sys-fs/xfsprogs/xfsprogs-6.3.0.ebuild                   |  1 +
 2 files changed, 12 insertions(+)

diff --git a/sys-fs/xfsprogs/files/xfsprogs-6.3.0-gettext-0.22.patch 
b/sys-fs/xfsprogs/files/xfsprogs-6.3.0-gettext-0.22.patch
new file mode 100644
index 000000000000..f94085ae73c3
--- /dev/null
+++ b/sys-fs/xfsprogs/files/xfsprogs-6.3.0-gettext-0.22.patch
@@ -0,0 +1,11 @@
+--- a/po/de.po
++++ b/po/de.po
+@@ -3084,7 +3084,7 @@
+ #: .././estimate/xfs_estimate.c:191
+ #, c-format
+ msgid "%s will take about %.1f megabytes\n"
+-msgstr "%s wird etwa %.lf Megabytes einnehmen\n"
++msgstr "%s wird etwa %.1f Megabytes einnehmen\n"
+ 
+ #: .././estimate/xfs_estimate.c:198
+ #, c-format

diff --git a/sys-fs/xfsprogs/xfsprogs-6.3.0.ebuild 
b/sys-fs/xfsprogs/xfsprogs-6.3.0.ebuild
index f9a26d57b3d1..412d486c3314 100644
--- a/sys-fs/xfsprogs/xfsprogs-6.3.0.ebuild
+++ b/sys-fs/xfsprogs/xfsprogs-6.3.0.ebuild
@@ -26,6 +26,7 @@ RDEPEND+=" selinux? ( sec-policy/selinux-xfs )"
 PATCHES=(
        "${FILESDIR}"/${PN}-5.3.0-libdir.patch
        "${FILESDIR}"/${PN}-5.18.0-docdir.patch
+       "${FILESDIR}"/${PN}-6.3.0-gettext-0.22.patch
 )
 
 src_prepare() {

Reply via email to