Fix dlog and avsystem build. 95/23195/1
authorRonan Le Martret <ronan@fridu.net>
Thu, 19 Jun 2014 12:32:26 +0000 (14:32 +0200)
committerRonan Le Martret <ronan@fridu.net>
Thu, 19 Jun 2014 12:32:26 +0000 (14:32 +0200)
Change-Id: Ib8491ad5796716331f23d7dae77bd2436322c5e4
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
recipes-tizen/dlog/dlog-extraconf.inc
recipes-tizen/dlog/files/tmp_fix_header.patch [new file with mode: 0644]

index e69de29..98d3237 100644 (file)
@@ -0,0 +1,2 @@
+SRC_URI += "file://tmp_fix_header.patch \
+           "
\ No newline at end of file
diff --git a/recipes-tizen/dlog/files/tmp_fix_header.patch b/recipes-tizen/dlog/files/tmp_fix_header.patch
new file mode 100644 (file)
index 0000000..a9f03d3
--- /dev/null
@@ -0,0 +1,30 @@
+diff --git a/include/dlog.h b/include/dlog.h
+index 65f5c4f..4aeba2b 100644
+--- a/include/dlog.h
++++ b/include/dlog.h
+@@ -256,7 +256,7 @@ typedef enum {
+ #define COMPATIBILITY_ON
+ #ifdef COMPATIBILITY_ON
+-#define LOG_ON() _get_logging_on()
++#define LOG_ON() 1
+ #if LOG_NDEBUG
+ #define LOGV(format, arg...) (0)
+ #else
+@@ -332,7 +332,7 @@ typedef enum {
+  * @param[in] log_id  log device id
+  * @param[in] prio    priority
+  * @param[in] tag     tag
+- * @param[in] fmt     format string 
++ * @param[in] fmt     format string
+  * @return                    Operation result
+  * @retval            0>=     Success
+  * @retval              -1    Error
+@@ -369,7 +369,6 @@ int __dlog_print(log_id_t log_id, int prio, const char *tag, const char *fmt, ..
+  * @endcode
+   */
+ int __dlog_vprint(log_id_t log_id, int prio, const char *tag, const char *fmt, va_list ap);
+-int _get_logging_on(void);
+ #ifdef __cplusplus
+ }
+ #endif /* __cplusplus */