summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch')
-rw-r--r--meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch b/meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch
index c45b557ab7..3399890de1 100644
--- a/meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch
+++ b/meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch
@@ -1,7 +1,7 @@
1From 11d7633178301add26a24657e2f1596a2f7dddce Mon Sep 17 00:00:00 2001 1From 82516e3ed372f618c886a2de4f9498f597aa8a8b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:33:49 +0000 3Date: Wed, 18 Mar 2015 01:33:49 +0000
4Subject: [PATCH 24/25] eglibc: Forward port cross locale generation support 4Subject: [PATCH 24/26] eglibc: Forward port cross locale generation support
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
@@ -91,7 +91,7 @@ index 0000000..9fad357
91+ [LC_ALL] = sizeof ("LC_ALL") - 1 91+ [LC_ALL] = sizeof ("LC_ALL") - 1
92+ }; 92+ };
93diff --git a/locale/localeinfo.h b/locale/localeinfo.h 93diff --git a/locale/localeinfo.h b/locale/localeinfo.h
94index 94627f3..d0db77b 100644 94index 1f4da92..7f68935 100644
95--- a/locale/localeinfo.h 95--- a/locale/localeinfo.h
96+++ b/locale/localeinfo.h 96+++ b/locale/localeinfo.h
97@@ -224,7 +224,7 @@ __libc_tsd_define (extern, __locale_t, LOCALE) 97@@ -224,7 +224,7 @@ __libc_tsd_define (extern, __locale_t, LOCALE)
@@ -363,10 +363,10 @@ index b885f65..0afb631 100644
363 size_t bufmax = 56; 363 size_t bufmax = 56;
364 364
365diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c 365diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c
366index 6becd9a..8ddd080 100644 366index b4c48f1..ed08d48 100644
367--- a/locale/programs/localedef.c 367--- a/locale/programs/localedef.c
368+++ b/locale/programs/localedef.c 368+++ b/locale/programs/localedef.c
369@@ -114,6 +114,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; 369@@ -108,6 +108,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
370 #define OPT_LIST_ARCHIVE 309 370 #define OPT_LIST_ARCHIVE 309
371 #define OPT_LITTLE_ENDIAN 400 371 #define OPT_LITTLE_ENDIAN 400
372 #define OPT_BIG_ENDIAN 401 372 #define OPT_BIG_ENDIAN 401
@@ -374,7 +374,7 @@ index 6becd9a..8ddd080 100644
374 374
375 /* Definitions of arguments for argp functions. */ 375 /* Definitions of arguments for argp functions. */
376 static const struct argp_option options[] = 376 static const struct argp_option options[] =
377@@ -150,6 +151,8 @@ static const struct argp_option options[] = 377@@ -143,6 +144,8 @@ static const struct argp_option options[] =
378 N_("Generate little-endian output") }, 378 N_("Generate little-endian output") },
379 { "big-endian", OPT_BIG_ENDIAN, NULL, 0, 379 { "big-endian", OPT_BIG_ENDIAN, NULL, 0,
380 N_("Generate big-endian output") }, 380 N_("Generate big-endian output") },
@@ -383,7 +383,7 @@ index 6becd9a..8ddd080 100644
383 { NULL, 0, NULL, 0, NULL } 383 { NULL, 0, NULL, 0, NULL }
384 }; 384 };
385 385
386@@ -239,12 +242,14 @@ main (int argc, char *argv[]) 386@@ -232,12 +235,14 @@ main (int argc, char *argv[])
387 ctype locale. (P1003.2 4.35.5.2) */ 387 ctype locale. (P1003.2 4.35.5.2) */
388 setlocale (LC_CTYPE, "POSIX"); 388 setlocale (LC_CTYPE, "POSIX");
389 389
@@ -398,7 +398,7 @@ index 6becd9a..8ddd080 100644
398 398
399 /* Process charmap file. */ 399 /* Process charmap file. */
400 charmap = charmap_read (charmap_file, verbose, 1, be_quiet, 1); 400 charmap = charmap_read (charmap_file, verbose, 1, be_quiet, 1);
401@@ -338,6 +343,9 @@ parse_opt (int key, char *arg, struct argp_state *state) 401@@ -328,6 +333,9 @@ parse_opt (int key, char *arg, struct argp_state *state)
402 case OPT_BIG_ENDIAN: 402 case OPT_BIG_ENDIAN:
403 set_big_endian (true); 403 set_big_endian (true);
404 break; 404 break;
@@ -562,5 +562,5 @@ index 69b3141..1cef0be 100644
562 # define WEAK_POSTLOAD(postload) weak_extern (postload) 562 # define WEAK_POSTLOAD(postload) weak_extern (postload)
563 #else 563 #else
564-- 564--
5652.8.2 5652.10.2
566 566