diff options
-rw-r--r-- | meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch | 19 | ||||
-rw-r--r-- | meta/recipes-devtools/intltool/intltool_0.50.2.bb | 1 |
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 @@ +on uclibc systems localedir should point to /usr/'share' as usual. + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +Index: intltool-0.50.2/intltool.m4 +=================================================================== +--- intltool-0.50.2.orig/intltool.m4 2014-03-15 22:09:01.016627665 -0700 ++++ intltool-0.50.2/intltool.m4 2014-03-15 22:12:09.732631206 -0700 +@@ -173,6 +173,9 @@ + AC_CHECK_FUNC(bind_textdomain_codeset, + [DATADIRNAME=share], [DATADIRNAME=lib]) + ;; ++ *-*-*uclibc*) ++ [DATADIRNAME=share] ++ ;; + *) + [DATADIRNAME=lib] + ;; 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" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" SRC_URI += "file://intltool-nowarn.patch \ + file://uclibc.patch \ ${NATIVEPATCHES} \ " |