From: Alexander Kanavin Date: Thu, 27 Jul 2023 14:36:27 +0000 (+0200) Subject: procps: address failure with gettext 0.22 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=046458f00108385eeae9f71f7350dc1693f64081;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git procps: address failure with gettext 0.22 Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/procps/procps/0001-po-fr.po-address-failures-with-gettext-0.22.patch b/meta/recipes-extended/procps/procps/0001-po-fr.po-address-failures-with-gettext-0.22.patch new file mode 100644 index 00000000000..805517900de --- /dev/null +++ b/meta/recipes-extended/procps/procps/0001-po-fr.po-address-failures-with-gettext-0.22.patch @@ -0,0 +1,37 @@ +From 1d685477c254e5b10a81e32c87786e0f001b70f1 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Mon, 24 Jul 2023 18:06:51 +0200 +Subject: [PATCH] po/fr.po: address failures with gettext 0.22 + +Specifically: +| fr.1po:3027: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the directive number 4, the argument size specifier is invalid. +| fr.1po:3820: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the directive number 1, the argument size specifier is invalid. + +Upstream-Status: Submitted [https://gitlab.com/procps-ng/procps/-/merge_requests/199] +Signed-off-by: Alexander Kanavin +--- + po/fr.po | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/po/fr.po b/po/fr.po +index 715c2b69..700834e1 100644 +--- a/po/fr.po ++++ b/po/fr.po +@@ -3800,7 +3800,7 @@ msgid "" + "Type 'q' or to continue " + msgstr "" + "Aide pour les commandes interactives~2 - %s\n" +-"Fenêtre ~1%s~6: ~1Mode cumulatif ~3%s~2. ~1Système~6: ~1Délai ~3%.1lf " ++"Fenêtre ~1%s~6: ~1Mode cumulatif ~3%s~2. ~1Système~6: ~1Délai ~3%.1f " + "secs~2; ~1Mode sûr ~3%s~2.\n" + "\n" + " Z~5,~1B~5,E,e Global: «~1Z~2» couleurs; «~1B~2» gras; «~1E~2»/«~1e~2» " +@@ -4723,7 +4723,7 @@ msgstr " -v, --version affiche les informations de version et sort\n" + #: src/watch.c:486 + #, c-format + msgid "Every %.1fs: " +-msgstr "Toutes les %.1lfs: " ++msgstr "Toutes les %.1fs: " + + #: src/watch.c:487 + #, c-format diff --git a/meta/recipes-extended/procps/procps_4.0.3.bb b/meta/recipes-extended/procps/procps_4.0.3.bb index dc0e957bda1..71efb80207d 100644 --- a/meta/recipes-extended/procps/procps_4.0.3.bb +++ b/meta/recipes-extended/procps/procps_4.0.3.bb @@ -15,6 +15,7 @@ inherit autotools gettext pkgconfig update-alternatives SRC_URI = "git://gitlab.com/procps-ng/procps.git;protocol=https;branch=master \ file://sysctl.conf \ file://0001-src-w.c-use-utmp.h-only.patch \ + file://0001-po-fr.po-address-failures-with-gettext-0.22.patch \ " SRCREV = "806eb270f217ff7e1e745c7bda2b002b5be74be4"