diff options
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.patch | 13 |
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 @@ | |||
1 | From e1dc85af1800afa4fbf4eb5a59cc41025495af57 Mon Sep 17 00:00:00 2001 | 1 | From b2ec111dc3a42d9dce71c903524724ae82ff22d8 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 3 Aug 2018 09:55:12 -0700 | 3 | Date: Fri, 3 Aug 2018 09:55:12 -0700 |
4 | Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales | 4 | Subject: [PATCH 05/30] nativesdk-glibc: Make relocatable install for locales |
5 | 5 | ||
6 | The glibc locale path is hard-coded to the install prefix, but in SDKs we need | 6 | The glibc locale path is hard-coded to the install prefix, but in SDKs we need |
7 | to be able to relocate the binaries. Expand the strings to 4K and put them in a | 7 | to 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 | ||
20 | diff --git a/locale/findlocale.c b/locale/findlocale.c | 20 | diff --git a/locale/findlocale.c b/locale/findlocale.c |
21 | index 872cadb5b9..dd651e07f5 100644 | 21 | index 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 |
42 | diff --git a/locale/loadarchive.c b/locale/loadarchive.c | 42 | diff --git a/locale/loadarchive.c b/locale/loadarchive.c |
43 | index 516d30d8d1..9bfbe1a5dd 100644 | 43 | index 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. */ |
55 | diff --git a/locale/localeinfo.h b/locale/localeinfo.h | 55 | diff --git a/locale/localeinfo.h b/locale/localeinfo.h |
56 | index 68822a6319..537bc35149 100644 | 56 | index 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 | -- | ||
69 | 2.20.1 | ||
70 | |||