summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/0023-Define-DUMMY_LOCALE_T-if-not-defined.patch
blob: 0f7c5fdf72872cc98cd1a9d0acaae2a232a9d152 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 809c79b7d554a4ec83921df9d8773c99a03dc81c Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 20 Apr 2016 21:11:00 -0700
Subject: [PATCH 23/30] Define DUMMY_LOCALE_T if not defined

This is a hack to fix building the locale bits on an older
CentOs 5.X machine

Upstream-Status: Inappropriate [other]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 locale/programs/config.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/locale/programs/config.h b/locale/programs/config.h
index a1e6e0ec3c..7f75528eae 100644
--- a/locale/programs/config.h
+++ b/locale/programs/config.h
@@ -19,6 +19,9 @@
 #ifndef _LD_CONFIG_H
 #define _LD_CONFIG_H	1
 
+#ifndef DUMMY_LOCALE_T
+#define DUMMY_LOCALE_T
+#endif
 /* Use the internal textdomain used for libc messages.  */
 #define PACKAGE _libc_intl_domainname
 #ifndef VERSION
-- 
2.20.1