Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 1 | From c8df3cf4556d8d78a98675865395ce42f3b67109 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 20 Apr 2016 21:11:00 -0700 |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 4 | Subject: [PATCH] Define DUMMY_LOCALE_T if not defined |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -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 |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 17 | index 2edcf3696c..5350101e38 100644 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -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 |