Fix heynoti native build 48/27648/1
authorRonan Le Martret <ronan@fridu.net>
Wed, 17 Sep 2014 07:22:22 +0000 (09:22 +0200)
committerRonan Le Martret <ronan@fridu.net>
Wed, 17 Sep 2014 07:22:22 +0000 (09:22 +0200)
Change-Id: Iadbae5835a9ede6d24ac72251ac9e52dddea27c1
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
recipes-tizen/heynoti/files/remove_dlog.patch [new file with mode: 0644]
recipes-tizen/heynoti/heynoti-extraconf.inc

diff --git a/recipes-tizen/heynoti/files/remove_dlog.patch b/recipes-tizen/heynoti/files/remove_dlog.patch
new file mode 100644 (file)
index 0000000..00c9a84
--- /dev/null
@@ -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)
index f225e86..1104884 100644 (file)
@@ -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