summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/intltool
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/intltool')
-rw-r--r--meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch19
-rw-r--r--meta/recipes-devtools/intltool/intltool_0.50.2.bb1
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch b/meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch
new file mode 100644
index 0000000000..145c181f17
--- /dev/null
+++ b/meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch
@@ -0,0 +1,19 @@
1on uclibc systems localedir should point to /usr/'share' as usual.
2
3Upstream-Status: Pending
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5
6Index: intltool-0.50.2/intltool.m4
7===================================================================
8--- intltool-0.50.2.orig/intltool.m4 2014-03-15 22:09:01.016627665 -0700
9+++ intltool-0.50.2/intltool.m4 2014-03-15 22:12:09.732631206 -0700
10@@ -173,6 +173,9 @@
11 AC_CHECK_FUNC(bind_textdomain_codeset,
12 [DATADIRNAME=share], [DATADIRNAME=lib])
13 ;;
14+ *-*-*uclibc*)
15+ [DATADIRNAME=share]
16+ ;;
17 *)
18 [DATADIRNAME=lib]
19 ;;
diff --git a/meta/recipes-devtools/intltool/intltool_0.50.2.bb b/meta/recipes-devtools/intltool/intltool_0.50.2.bb
index dffce2150b..483239d472 100644
--- a/meta/recipes-devtools/intltool/intltool_0.50.2.bb
+++ b/meta/recipes-devtools/intltool/intltool_0.50.2.bb
@@ -3,6 +3,7 @@ LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
4 4
5SRC_URI += "file://intltool-nowarn.patch \ 5SRC_URI += "file://intltool-nowarn.patch \
6 file://uclibc.patch \
6 ${NATIVEPATCHES} \ 7 ${NATIVEPATCHES} \
7 " 8 "
8 9