From dae0c36fc4a69831cf4866f2f536590f81449377 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Mon, 20 Oct 2014 11:04:06 +0200 Subject: [PATCH] Fix build for 64b Change-Id: Iad6b1eca35f155ae13be272e4191727470bb47d1 Signed-off-by: Ronan Le Martret --- .../files/0001-fix-build-for-yocto-64b.patch | 26 ++++++++++++++++++++++ .../ico-vic-carsimulator-extraconf.inc | 4 ++++ 2 files changed, 30 insertions(+) create mode 100644 recipes-tizen/ico-vic-carsimulator/files/0001-fix-build-for-yocto-64b.patch diff --git a/recipes-tizen/ico-vic-carsimulator/files/0001-fix-build-for-yocto-64b.patch b/recipes-tizen/ico-vic-carsimulator/files/0001-fix-build-for-yocto-64b.patch new file mode 100644 index 0000000..904157a --- /dev/null +++ b/recipes-tizen/ico-vic-carsimulator/files/0001-fix-build-for-yocto-64b.patch @@ -0,0 +1,26 @@ +From adc811322d8227d7b4dfdd31aaf49f222bce6f11 Mon Sep 17 00:00:00 2001 +From: Ronan Le Martret +Date: Fri, 17 Oct 2014 11:41:15 +0200 +Subject: [PATCH 1/1] fix build for yocto 64b + +Change-Id: Ie81ea38ecd9f80eab47d5e9cd9683b8e3eb034cd +Signed-off-by: Ronan Le Martret +--- + configure.ac | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure.ac b/configure.ac +index 21972bb..d67668f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -12,6 +12,7 @@ AC_PROG_CXX + AC_PROG_CC + + # Checks for libraries. ++PKG_PROG_PKG_CONFIG + PKG_CHECK_MODULES([GLIB], [glib-2.0]) + AC_SUBST(GLIB_CFLAGS) + AC_SUBST(GLIB_LIBS) +-- +1.8.1.4 + diff --git a/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator-extraconf.inc b/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator-extraconf.inc index 10418eb..873fd62 100644 --- a/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator-extraconf.inc +++ b/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator-extraconf.inc @@ -1,3 +1,7 @@ +#SRC_URI += "file://0001-fix-build-for-yocto-64b.patch" + +DEPENDS += "pkgconfig" + do_configure_prepend() { sed -i 's@-I/usr/include/json-glib-1.0@-I${STAGING_INCDIR}/json-glib-1.0@' src/Makefile.am } -- 2.7.4