summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Make-relocatable-install-for-locales.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-01-31 10:11:44 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-02 11:05:59 +0000
commitba7731646ee1342d997310f9efe2629ac08401b3 (patch)
treedd11b91805bfe920c7cc96a9e737290fd1728a99 /meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Make-relocatable-install-for-locales.patch
parentbcb3e7b7f88adaabc7b78c7c0155b4f68da254d8 (diff)
downloadpoky-ba7731646ee1342d997310f9efe2629ac08401b3.tar.gz
glibc: Update to 2.29 release
(From OE-Core rev: 9d9e055192bf1c66f2131482e6239e9c844ad0f4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Make-relocatable-install-for-locales.patch')
-rw-r--r--meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Make-relocatable-install-for-locales.patch13
1 files changed, 8 insertions, 5 deletions
diff --git a/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Make-relocatable-install-for-locales.patch b/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Make-relocatable-install-for-locales.patch
index b53f2ef2e2..9f9f503a1e 100644
--- a/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Make-relocatable-install-for-locales.patch
+++ b/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Make-relocatable-install-for-locales.patch
@@ -1,7 +1,7 @@
1From e1dc85af1800afa4fbf4eb5a59cc41025495af57 Mon Sep 17 00:00:00 2001 1From b2ec111dc3a42d9dce71c903524724ae82ff22d8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 3 Aug 2018 09:55:12 -0700 3Date: Fri, 3 Aug 2018 09:55:12 -0700
4Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales 4Subject: [PATCH 05/30] nativesdk-glibc: Make relocatable install for locales
5 5
6The glibc locale path is hard-coded to the install prefix, but in SDKs we need 6The glibc locale path is hard-coded to the install prefix, but in SDKs we need
7to be able to relocate the binaries. Expand the strings to 4K and put them in a 7to be able to relocate the binaries. Expand the strings to 4K and put them in a
@@ -18,7 +18,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
18 3 files changed, 4 insertions(+), 4 deletions(-) 18 3 files changed, 4 insertions(+), 4 deletions(-)
19 19
20diff --git a/locale/findlocale.c b/locale/findlocale.c 20diff --git a/locale/findlocale.c b/locale/findlocale.c
21index 872cadb5b9..dd651e07f5 100644 21index 9af605bd64..b2b0a3f93b 100644
22--- a/locale/findlocale.c 22--- a/locale/findlocale.c
23+++ b/locale/findlocale.c 23+++ b/locale/findlocale.c
24@@ -56,7 +56,7 @@ struct __locale_data *const _nl_C[] attribute_hidden = 24@@ -56,7 +56,7 @@ struct __locale_data *const _nl_C[] attribute_hidden =
@@ -40,7 +40,7 @@ index 872cadb5b9..dd651e07f5 100644
40 else 40 else
41 /* We really have to load some data. First see whether the name is 41 /* We really have to load some data. First see whether the name is
42diff --git a/locale/loadarchive.c b/locale/loadarchive.c 42diff --git a/locale/loadarchive.c b/locale/loadarchive.c
43index 516d30d8d1..9bfbe1a5dd 100644 43index 803c1cf2a4..9023f475b8 100644
44--- a/locale/loadarchive.c 44--- a/locale/loadarchive.c
45+++ b/locale/loadarchive.c 45+++ b/locale/loadarchive.c
46@@ -42,7 +42,7 @@ 46@@ -42,7 +42,7 @@
@@ -53,7 +53,7 @@ index 516d30d8d1..9bfbe1a5dd 100644
53 /* Size of initial mapping window, optimal if large enough to 53 /* Size of initial mapping window, optimal if large enough to
54 cover the header plus the initial locale. */ 54 cover the header plus the initial locale. */
55diff --git a/locale/localeinfo.h b/locale/localeinfo.h 55diff --git a/locale/localeinfo.h b/locale/localeinfo.h
56index 68822a6319..537bc35149 100644 56index 7c1cc3eecb..53cb8bfc59 100644
57--- a/locale/localeinfo.h 57--- a/locale/localeinfo.h
58+++ b/locale/localeinfo.h 58+++ b/locale/localeinfo.h
59@@ -325,7 +325,7 @@ _nl_lookup_word (locale_t l, int category, int item) 59@@ -325,7 +325,7 @@ _nl_lookup_word (locale_t l, int category, int item)
@@ -65,3 +65,6 @@ index 68822a6319..537bc35149 100644
65 65
66 /* Load the locale data for CATEGORY from the file specified by *NAME. 66 /* Load the locale data for CATEGORY from the file specified by *NAME.
67 If *NAME is "", use environment variables as specified by POSIX, and 67 If *NAME is "", use environment variables as specified by POSIX, and
68--
692.20.1
70