diff options
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch b/meta/recipes-core/glib-2.0/glib-2.0/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch new file mode 100644 index 0000000000..d8cf269bb8 --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 15f807481de53942525b48952c5b6bbb9fb66542 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 15 Mar 2014 22:42:29 -0700 | ||
4 | Subject: [PATCH] Fix DATADIRNAME on uclibc/Linux | ||
5 | |||
6 | translation files are always installed under PREFIX/share/locale in uclibc | ||
7 | based systems therefore lets set DATADIRNAME to "share". | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | Upstream-Status: Pending | ||
11 | |||
12 | %% original patch: uclibc_musl_translation.patch | ||
13 | --- | ||
14 | m4macros/glib-gettext.m4 | 4 ++++ | ||
15 | 1 file changed, 4 insertions(+) | ||
16 | |||
17 | diff --git a/m4macros/glib-gettext.m4 b/m4macros/glib-gettext.m4 | ||
18 | index df6fbf0..47db864 100644 | ||
19 | --- a/m4macros/glib-gettext.m4 | ||
20 | +++ b/m4macros/glib-gettext.m4 | ||
21 | @@ -293,6 +293,10 @@ msgstr "" | ||
22 | CATOBJEXT=.mo | ||
23 | DATADIRNAME=share | ||
24 | ;; | ||
25 | + *-*-musl* | *-*-linux-uclibc*) | ||
26 | + CATOBJEXT=.gmo | ||
27 | + DATADIRNAME=share | ||
28 | + ;; | ||
29 | *) | ||
30 | CATOBJEXT=.mo | ||
31 | DATADIRNAME=lib | ||
32 | -- | ||
33 | 2.17.1 | ||
34 | |||