summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch')
-rw-r--r--meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch b/meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch
new file mode 100644
index 0000000000..0e93183087
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch
@@ -0,0 +1,32 @@
1From ad5bc87134871b99e082e2449b8c1ce2f1375ef9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 20 Apr 2016 21:11:00 -0700
4Subject: [PATCH 22/29] Define DUMMY_LOCALE_T if not defined
5
6This is a hack to fix building the locale bits on an older
7CentOs 5.X machine
8
9Upstream-Status: Inappropriate [other]
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 locale/programs/config.h | 3 +++
14 1 file changed, 3 insertions(+)
15
16diff --git a/locale/programs/config.h b/locale/programs/config.h
17index 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
30--
312.27.0
32