aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/cross-localedef-native-2.19/fix_for_centos_5.8.patch
diff options
context:
space:
mode:
authorPetter Mabäcker <petter@technux.se>2014-05-12 15:55:38 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-13 19:24:03 +0100
commit57109e59abb7c6af029f452d06b46f47084cff11 (patch)
treeb0a5d2d8eb20d7f302031b97e4d7ffb4734880b7 /meta/recipes-core/eglibc/cross-localedef-native-2.19/fix_for_centos_5.8.patch
parentae8711bc2952e96ac3434624548a3dbfd501ec7f (diff)
downloadopenembedded-core-contrib-57109e59abb7c6af029f452d06b46f47084cff11.tar.gz
eglibc: remove usage of FILESPATH
Fixes [YOCTO #4497] Usage of FILESPATH is discouraged, since it can make recipes harder to bbappend. Instead FILESEXTRAPATHS should be used to extend the path. If possible try to use any of the default FILESPATH dirs. Also remove superfluous comment and do minor indentation fix. Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/cross-localedef-native-2.19/fix_for_centos_5.8.patch')
-rw-r--r--meta/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/recipes-core/eglibc/cross-localedef-native-2.19/fix_for_centos_5.8.patch b/meta/recipes-core/eglibc/cross-localedef-native-2.19/fix_for_centos_5.8.patch
new file mode 100644
index 0000000000..7618c99534
--- /dev/null
+++ b/meta/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