aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-01-04 09:13:11 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-28 12:25:35 +0000
commit4b39d90c84b1c1577b6744e7117502069c5bf719 (patch)
tree7f41ccfc6a2bc0ccd61dc12430847daca5330db6 /meta/recipes-core
parent83b6fe6d91b924be5a7676e6ee973ce26b5eefc5 (diff)
downloadopenembedded-core-contrib-4b39d90c84b1c1577b6744e7117502069c5bf719.tar.gz
eglibc_2.17: Fix Tibetian locale generation error
This is fallout of BZ #13950 fix to glibc Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.17/fix-tibetian-locales.patch38
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.17.bb1
2 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.17/fix-tibetian-locales.patch b/meta/recipes-core/eglibc/eglibc-2.17/fix-tibetian-locales.patch
new file mode 100644
index 0000000000..25c43a9fe6
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.17/fix-tibetian-locales.patch
@@ -0,0 +1,38 @@
+cross localedef fails to compile these locales because name_fmt field is empty
+It is not acceptable for cross localedef and it errors out
+
+LC_NAME: field `name_fmt' not defined
+
+We therefore give a dummy string to the format, the real fix needs some native
+tibetian person to define proper name_fmt
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Index: libc/localedata/locales/bo_CN
+===================================================================
+--- libc.orig/localedata/locales/bo_CN 2012-11-17 09:50:14.000000000 -0800
++++ libc/localedata/locales/bo_CN 2013-01-04 08:55:15.593612288 -0800
+@@ -145,7 +145,7 @@
+ LC_NAME
+ % FIXME
+
+-name_fmt ""
++name_fmt "FIXME"
+ % name_gen "FIXME"
+ % name_miss "FIXME"
+ % name_mr "FIXME"
+Index: libc/localedata/locales/bo_IN
+===================================================================
+--- libc.orig/localedata/locales/bo_IN 2012-11-17 09:50:14.000000000 -0800
++++ libc/localedata/locales/bo_IN 2013-01-04 08:54:12.345609028 -0800
+@@ -70,7 +70,7 @@
+
+ LC_NAME
+ % FIXME
+-name_fmt ""
++name_fmt "FIXME"
+ % name_gen "FIXME"
+ % name_miss "FIXME"
+ % name_mr "FIXME"
diff --git a/meta/recipes-core/eglibc/eglibc_2.17.bb b/meta/recipes-core/eglibc/eglibc_2.17.bb
index b2585bc943..f474a783a6 100644
--- a/meta/recipes-core/eglibc/eglibc_2.17.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.17.bb
@@ -25,6 +25,7 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr22
file://tzselect-sh.patch \
file://tzselect-awk.patch \
file://0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch \
+ file://fix-tibetian-locales.patch \
"
SRC_URI[md5sum] = "1464af54779c2c7d1078df9ce2e41791"
SRC_URI[sha256sum] = "97c3991a3772f513cf704841d20c275ac48895fad2e27802dda557c0196cba6b"