From 29e20b5d8254d3b1a683deb872ad57991fed4411 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Wed, 17 Sep 2014 09:22:22 +0200 Subject: [PATCH] meta-tizen: Fix heynoti native build Change-Id: Iadbae5835a9ede6d24ac72251ac9e52dddea27c1 (From meta-tizen rev: 28e5446df2cfcf8ea8f87a0d17ea648c4c9ef7a2) Signed-off-by: Ronan Le Martret Signed-off-by: Patrick Ohly --- meta-tizen/recipes-tizen/heynoti/files/remove_dlog.patch | 15 +++++++++++++++ meta-tizen/recipes-tizen/heynoti/heynoti-extraconf.inc | 4 +++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 meta-tizen/recipes-tizen/heynoti/files/remove_dlog.patch diff --git a/meta-tizen/recipes-tizen/heynoti/files/remove_dlog.patch b/meta-tizen/recipes-tizen/heynoti/files/remove_dlog.patch new file mode 100644 index 0000000..00c9a84 --- /dev/null +++ b/meta-tizen/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/meta-tizen/recipes-tizen/heynoti/heynoti-extraconf.inc b/meta-tizen/recipes-tizen/heynoti/heynoti-extraconf.inc index f225e86..1104884 100644 --- a/meta-tizen/recipes-tizen/heynoti/heynoti-extraconf.inc +++ b/meta-tizen/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 -- 2.7.4