download-provider: add patch to use msgfmt from build not from host system 13/43613/1
authorThiago Santos <thiagoss@osg.samsung.com>
Sun, 5 Jul 2015 23:06:12 +0000 (20:06 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 10 Jul 2015 17:34:13 +0000 (14:34 -0300)
It might not be installed in host system

Change-Id: I687669fa4a0789a3975d35bc99676c10e8cce992
Signed-off-by: Thiago Santos <thiagoss@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Reviewed-By: Derek Foreman <derekf@osg.samsung.com>
meta-tizen-common-base/recipes-connectivity/download-provider/download-provider.inc
meta-tizen-common-base/recipes-connectivity/download-provider/files/0001-po-do-not-use-absolute-path-for-msgfmt.patch [new file with mode: 0644]

diff --git a/meta-tizen-common-base/recipes-connectivity/download-provider/files/0001-po-do-not-use-absolute-path-for-msgfmt.patch b/meta-tizen-common-base/recipes-connectivity/download-provider/files/0001-po-do-not-use-absolute-path-for-msgfmt.patch
new file mode 100644 (file)
index 0000000..0d7709d
--- /dev/null
@@ -0,0 +1,25 @@
+From 2d68ab46ddb541a2fd7fac0ed43539ed5351f6aa Mon Sep 17 00:00:00 2001
+From: Thiago Santos <thiagoss@osg.samsung.com>
+Date: Sun, 5 Jul 2015 20:04:33 -0300
+Subject: [PATCH] po: do not use absolute path for msgfmt
+
+---
+ po/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
+index 9e2d8c6..34f8628 100755
+--- a/po/CMakeLists.txt
++++ b/po/CMakeLists.txt
+@@ -6,7 +6,7 @@ SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po
+       nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po
+       tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
+-SET(MSGFMT "/usr/bin/msgfmt")
++SET(MSGFMT "msgfmt")
+ FOREACH(pofile ${POFILES})
+       SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
+-- 
+2.1.4
+