From d9134cf0bcdbc60ba2f3012edc10e652d4894f51 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 8 Jan 2016 18:06:42 +0000 Subject: 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 Signed-off-by: Richard Purdie --- .../glib-2.0/uclibc_musl_translation.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/uclibc_musl_translation.patch (limited to 'meta/recipes-core/glib-2.0/glib-2.0/uclibc_musl_translation.patch') 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 +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 -- cgit 1.2.3-korg