aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro-integration/recipes-core/eglibc/cross-localedef-native-2.19/fix_for_centos_5.8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-linaro-integration/recipes-core/eglibc/cross-localedef-native-2.19/fix_for_centos_5.8.patch')
-rw-r--r--meta-linaro-integration/recipes-core/eglibc/cross-localedef-native-2.19/fix_for_centos_5.8.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-linaro-integration/recipes-core/eglibc/cross-localedef-native-2.19/fix_for_centos_5.8.patch b/meta-linaro-integration/recipes-core/eglibc/cross-localedef-native-2.19/fix_for_centos_5.8.patch
new file mode 100644
index 00000000..7618c995
--- /dev/null
+++ b/meta-linaro-integration/recipes-core/eglibc/cross-localedef-native-2.19/fix_for_centos_5.8.patch
@@ -0,0 +1,18 @@
+Upstream-Status: Inappropriate [other]
+
+This is a hack to fix building the locale bits on an older
+CentOs 5.X machine
+
+Index: eglibc-2_16/libc/locale/programs/config.h
+===================================================================
+--- eglibc-2_16.orig/libc/locale/programs/config.h
++++ eglibc-2_16/libc/locale/programs/config.h
+@@ -19,6 +19,8 @@
+ #ifndef _LD_CONFIG_H
+ #define _LD_CONFIG_H 1
+
++#define DUMMY_LOCALE_T
++
+ /* Use the internal textdomain used for libc messages. */
+ #define PACKAGE _libc_intl_domainname
+ #ifndef VERSION