[oe-commits] [openembedded-core] 17/17: glib-2.0: fix last failing ptest
git at git.openembedded.org
git at git.openembedded.org
Wed May 15 16:54:10 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit b2832df86b5218954c63b01595620fe8cf7ec921
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue May 14 09:32:12 2019 -0700
glib-2.0: fix last failing ptest
Upstream glib don't really actually test the test suite with modern glibc and
all the locales present so we're finding a number of bugs. Backport another fix
from upstream to fix the test data with modern glibc.
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
.../glib-2.0/glib-2.0/fix-nl-abaltmon.patch | 44 +++++++++++++++++++++-
1 file changed, 43 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch b/meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch
index 5c1488b..c36a397 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch
+++ b/meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch
@@ -1,4 +1,6 @@
-Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/glib/merge_requests/828]
+Fix the last few remaining bugs in glib's date/locale code.
+
+Upstream-Status: Backport
Signed-off-by: Ross Burton <ross.burton at intel.com>
From 93d8482384ebc5c7d1f3d92b0190db0371269663 Mon Sep 17 00:00:00 2001
@@ -60,3 +62,43 @@ index c5d2ce5f8..08fa40ac5 100644
--
2.18.1
+
+From 35c28be32762d5af6b93cb6a3420c5977f7bf599 Mon Sep 17 00:00:00 2001
+From: Rafal Luzynski <digitalfreak at lingonborough.com>
+Date: Mon, 13 May 2019 23:11:28 +0200
+Subject: [PATCH] tests: Update month name check for Greek locale
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Update the abbreviated month name in the test to match the actual
+translation. Otherwise the test fails with false positive.
+
+Vocabulary:
+
+July (nominative) - Greek: Ιούλιος (abbreviated: Ιούλ)
+Of July (genitive) - Greek: Ιουλίου (abbreviated: Ιουλ)
+
+This is similar to commit 4d215e006ee69bd7a993bf853722993433adbf9a
+and commit 7fe793e125c316ac34edd8158df5a132cb044bc1.
+
+Closes #1776
+---
+ glib/tests/date.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/glib/tests/date.c b/glib/tests/date.c
+index 8eb28712b..ff13ad101 100644
+--- a/glib/tests/date.c
++++ b/glib/tests/date.c
+@@ -388,7 +388,7 @@ test_month_names (void)
+ TEST_DATE ( 1, 4, 2018, "%OB %Y", "Απρίλιος 2018");
+ TEST_DATE ( 1, 5, 2018, "%OB %Y", "Μάιος 2018");
+ TEST_DATE ( 1, 6, 2018, "%OB %Y", "Ιούνιος 2018");
+- TEST_DATE (16, 7, 2018, "%e %b %Y", "16 Ιούλ 2018");
++ TEST_DATE (16, 7, 2018, "%e %b %Y", "16 Ιουλ 2018");
+ TEST_DATE ( 1, 8, 2018, "%Ob %Y", "Αύγ 2018");
+ }
+ else
+--
+2.18.1
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list