diff options
author | Ross Burton <ross.burton@intel.com> | 2018-10-09 12:00:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-10 17:59:09 +0100 |
commit | b31bfbcf0512585810dbd551ea69f036adcb3cdc (patch) | |
tree | 274a77f1aff7f811b24c980b0eb5e96c39e71d97 /meta | |
parent | 4806d533044011811e78ac41c6aeee3de4224a1e (diff) | |
download | poky-b31bfbcf0512585810dbd551ea69f036adcb3cdc.tar.gz |
glib: fix Lithuanian strings in GDate test suite
This test suite has hard-coded strings which don't match the new translations in
glibc 2.28, so update the test suite.
(From OE-Core rev: e1fa8611de2df3a1a15ae795c34f32e4e7fdbc79)
(From OE-Core rev: fe3eb823cded89acb123308e56a5c888ffa1409b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/date-lt.patch | 20 | ||||
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0_2.58.0.bb | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/date-lt.patch b/meta/recipes-core/glib-2.0/glib-2.0/date-lt.patch new file mode 100644 index 0000000000..dd0aff7281 --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0/date-lt.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Update Lithuanian month names in the test suite as glibc changed the translations. | ||
2 | |||
3 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/glib/merge_requests/373] | ||
4 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
5 | |||
6 | diff --git a/glib/tests/date.c b/glib/tests/date.c | ||
7 | index b801ca704..6646c227c 100644 | ||
8 | --- a/glib/tests/date.c | ||
9 | +++ b/glib/tests/date.c | ||
10 | @@ -365,8 +365,8 @@ test_month_names (void) | ||
11 | TEST_DATE ( 1, 4, 2018, "%Y m. %OB", "2018 m. balandis"); | ||
12 | TEST_DATE ( 1, 5, 2018, "%Y m. %OB", "2018 m. gegužė"); | ||
13 | TEST_DATE ( 1, 6, 2018, "%Y m. %OB", "2018 m. birželis"); | ||
14 | - TEST_DATE (17, 7, 2018, "%Y m. %b %e d.", "2018 m. Lie 17 d."); | ||
15 | - TEST_DATE ( 1, 8, 2018, "%Y m. %Ob", "2018 m. Rgp"); | ||
16 | + TEST_DATE (17, 7, 2018, "%Y m. %b %e d.", "2018 m. Liep. 17 d."); | ||
17 | + TEST_DATE ( 1, 8, 2018, "%Y m. %Ob", "2018 m. rugp."); | ||
18 | } | ||
19 | else | ||
20 | g_test_skip ("locale lt_LT not available, skipping Lithuanian month names test"); | ||
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.58.0.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.58.0.bb index 6ebf1d2599..1271a7c269 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.58.0.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.58.0.bb | |||
@@ -13,6 +13,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ | |||
13 | file://0001-Install-gio-querymodules-as-libexec_PROGRAM.patch \ | 13 | file://0001-Install-gio-querymodules-as-libexec_PROGRAM.patch \ |
14 | file://0001-Do-not-ignore-return-value-of-write.patch \ | 14 | file://0001-Do-not-ignore-return-value-of-write.patch \ |
15 | file://0010-Do-not-hardcode-python-path-into-various-tools.patch \ | 15 | file://0010-Do-not-hardcode-python-path-into-various-tools.patch \ |
16 | file://date-lt.patch \ | ||
16 | " | 17 | " |
17 | 18 | ||
18 | SRC_URI_append_class-native = " file://relocate-modules.patch" | 19 | SRC_URI_append_class-native = " file://relocate-modules.patch" |