From: Ronan Le Martret Date: Wed, 17 Sep 2014 07:22:22 +0000 (+0200) Subject: Fix heynoti native build X-Git-Tag: ivi_rev_0.2~56^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28e5446df2cfcf8ea8f87a0d17ea648c4c9ef7a2;p=scm%2Fbb%2Fmeta-tizen.git Fix heynoti native build Change-Id: Iadbae5835a9ede6d24ac72251ac9e52dddea27c1 Signed-off-by: Ronan Le Martret --- diff --git a/recipes-tizen/heynoti/files/remove_dlog.patch b/recipes-tizen/heynoti/files/remove_dlog.patch new file mode 100644 index 0000000..00c9a84 --- /dev/null +++ b/recipes-tizen/heynoti/files/remove_dlog.patch @@ -0,0 +1,15 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c3c5f4d..6057c9e 100755 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -25,7 +25,9 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) + INCLUDE(FindPkgConfig) + + pkg_check_modules(glib_pkg REQUIRED gobject-2.0) +-pkg_check_modules(pkgs REQUIRED glib-2.0 dlog libtzplatform-config) ++pkg_check_modules(pkgs REQUIRED glib-2.0 libtzplatform-config) ++ADD_DEFINITIONS("-DUTIL_SYSLOG_OUT") ++ + FOREACH(flag ${pkgs_CFLAGS}) + SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") + ENDFOREACH(flag) diff --git a/recipes-tizen/heynoti/heynoti-extraconf.inc b/recipes-tizen/heynoti/heynoti-extraconf.inc index f225e86..1104884 100644 --- a/recipes-tizen/heynoti/heynoti-extraconf.inc +++ b/recipes-tizen/heynoti/heynoti-extraconf.inc @@ -1 +1,3 @@ -DEPENDS_remove_class-native = "dlog-native" \ No newline at end of file +DEPENDS_remove_class-native = "dlog-native" + +SRC_URI_append_class-native = " file://remove_dlog.patch" \ No newline at end of file