diff options
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch b/meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch new file mode 100644 index 0000000000..d359518751 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 5e565710aa061ffffd34d8400910c35a8d50a4ec Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 20 Apr 2016 21:11:00 -0700 | ||
4 | Subject: [PATCH] Define DUMMY_LOCALE_T if not defined | ||
5 | |||
6 | This is a hack to fix building the locale bits on an older | ||
7 | CentOs 5.X machine | ||
8 | |||
9 | Upstream-Status: Inappropriate [other] | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | locale/programs/config.h | 3 +++ | ||
14 | 1 file changed, 3 insertions(+) | ||
15 | |||
16 | diff --git a/locale/programs/config.h b/locale/programs/config.h | ||
17 | index d76d9f7e8b..92b56d7df3 100644 | ||
18 | --- a/locale/programs/config.h | ||
19 | +++ b/locale/programs/config.h | ||
20 | @@ -19,6 +19,9 @@ | ||
21 | #ifndef _LD_CONFIG_H | ||
22 | #define _LD_CONFIG_H 1 | ||
23 | |||
24 | +#ifndef DUMMY_LOCALE_T | ||
25 | +#define DUMMY_LOCALE_T | ||
26 | +#endif | ||
27 | /* Use the internal textdomain used for libc messages. */ | ||
28 | #define PACKAGE _libc_intl_domainname | ||
29 | #ifndef VERSION | ||