Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From 1b2ceb6c2414e3c98c7bcd029583287ced9f3159 Mon Sep 17 00:00:00 2001 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 20 Apr 2016 21:11:00 -0700 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 4 | Subject: [PATCH] Define DUMMY_LOCALE_T if not defined |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 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 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 17 | index 9956cd8446..04342f3644 100644 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 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 |