diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-08 18:06:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:32 +0000 |
commit | d9134cf0bcdbc60ba2f3012edc10e652d4894f51 (patch) | |
tree | 8abb789a15538f348f97eb57005266474a297839 /meta/recipes-core/glib-2.0/glib-2.0/uclibc_musl_translation.patch | |
parent | 527cd95c17ab387f6b50f2bfd83c2863ed65eacc (diff) | |
download | openembedded-core-contrib-d9134cf0bcdbc60ba2f3012edc10e652d4894f51.tar.gz |
glib-2.0: Fix locale location on musl
gettext.m4 macro does not detect musl triplets and falls back to
${libdir}/locale
It ends up with lot of packging warning
"files installed but not packaged"
(From OE-Core rev: 6fae6a92cf3d9810dc68438f3b20913453812437)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0/uclibc_musl_translation.patch')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/uclibc_musl_translation.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/uclibc_musl_translation.patch b/meta/recipes-core/glib-2.0/glib-2.0/uclibc_musl_translation.patch new file mode 100644 index 0000000000..7aa6217d69 --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0/uclibc_musl_translation.patch @@ -0,0 +1,22 @@ +Fix DATADIRNAME on uclibc/Linux + +translation files are always installed under PREFIX/share/locale in uclibc +based systems therefore lets set DATADIRNAME to "share". + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +Upstream-Status: Pending +Index: glib-2.46.1/m4macros/glib-gettext.m4 +=================================================================== +--- glib-2.46.1.orig/m4macros/glib-gettext.m4 ++++ glib-2.46.1/m4macros/glib-gettext.m4 +@@ -243,6 +243,10 @@ msgstr "" + CATOBJEXT=.mo + DATADIRNAME=share + ;; ++ *-*-musl* | *-*-linux-uclibc*) ++ CATOBJEXT=.gmo ++ DATADIRNAME=share ++ ;; + *) + CATOBJEXT=.mo + DATADIRNAME=lib |