summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-07 15:09:36 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-08 09:17:49 +0100
commit392c117e7ab05da10a374f695d5232e7527ab5de (patch)
tree96acdc69cdc0815a3b820101ba14225ae466535d /meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch
parent470c58ba4586082de802759686460222cc04336d (diff)
downloadpoky-392c117e7ab05da10a374f695d5232e7527ab5de.tar.gz
glibc: Upgrade to 2.32 release
Drop 0001-localedef-Add-hardlink-resolver-to-build.patch as its applied to localedef upstream Drop CVE patches which are already part of 2.32 release Drop unused attribute patch as its fixed differently in 2.32 Add a patch to mitigate the sideffect of [1] for ppc which detect wrong cpu in OE since we are cross compiling [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=146fea07640387c78e334933de24b6353e1f0eba (From OE-Core rev: fe3d5136ef02721f9bbe01d98c1743b8dbcb69c5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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