summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-05-14 09:32:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-15 17:53:29 +0100
commitec408167ae921d1f3b86097df86ce6b17f619e2d (patch)
tree474441b59a966f86b7f760f7d695cf7352932c06 /meta/recipes-core/glib-2.0
parentbe2cb32f53fbc8ed06890ab252b3515da59485cf (diff)
downloadpoky-ec408167ae921d1f3b86097df86ce6b17f619e2d.tar.gz
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. (From OE-Core rev: b2832df86b5218954c63b01595620fe8cf7ec921) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch44
1 files changed, 43 insertions, 1 deletions
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 5c1488bc41..c36a397fef 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 @@
1Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/glib/merge_requests/828] 1Fix the last few remaining bugs in glib's date/locale code.
2
3Upstream-Status: Backport
2Signed-off-by: Ross Burton <ross.burton@intel.com> 4Signed-off-by: Ross Burton <ross.burton@intel.com>
3 5
4From 93d8482384ebc5c7d1f3d92b0190db0371269663 Mon Sep 17 00:00:00 2001 6From 93d8482384ebc5c7d1f3d92b0190db0371269663 Mon Sep 17 00:00:00 2001
@@ -60,3 +62,43 @@ index c5d2ce5f8..08fa40ac5 100644
60 62
61-- 63--
622.18.1 642.18.1
65
66From 35c28be32762d5af6b93cb6a3420c5977f7bf599 Mon Sep 17 00:00:00 2001
67From: Rafal Luzynski <digitalfreak@lingonborough.com>
68Date: Mon, 13 May 2019 23:11:28 +0200
69Subject: [PATCH] tests: Update month name check for Greek locale
70MIME-Version: 1.0
71Content-Type: text/plain; charset=UTF-8
72Content-Transfer-Encoding: 8bit
73
74Update the abbreviated month name in the test to match the actual
75translation. Otherwise the test fails with false positive.
76
77Vocabulary:
78
79July (nominative) - Greek: Ιούλιος (abbreviated: Ιούλ)
80Of July (genitive) - Greek: Ιουλίου (abbreviated: Ιουλ)
81
82This is similar to commit 4d215e006ee69bd7a993bf853722993433adbf9a
83and commit 7fe793e125c316ac34edd8158df5a132cb044bc1.
84
85Closes #1776
86---
87 glib/tests/date.c | 2 +-
88 1 file changed, 1 insertion(+), 1 deletion(-)
89
90diff --git a/glib/tests/date.c b/glib/tests/date.c
91index 8eb28712b..ff13ad101 100644
92--- a/glib/tests/date.c
93+++ b/glib/tests/date.c
94@@ -388,7 +388,7 @@ test_month_names (void)
95 TEST_DATE ( 1, 4, 2018, "%OB %Y", "Απρίλιος 2018");
96 TEST_DATE ( 1, 5, 2018, "%OB %Y", "Μάιος 2018");
97 TEST_DATE ( 1, 6, 2018, "%OB %Y", "Ιούνιος 2018");
98- TEST_DATE (16, 7, 2018, "%e %b %Y", "16 Ιούλ 2018");
99+ TEST_DATE (16, 7, 2018, "%e %b %Y", "16 Ιουλ 2018");
100 TEST_DATE ( 1, 8, 2018, "%Ob %Y", "Αύγ 2018");
101 }
102 else
103--
1042.18.1