[Tizen-submit] 6872: Changes to Tizen/org.tizen.data-provider-slave

noreply at tizen.org noreply at tizen.org
Thu Jun 27 14:24:38 GMT 2013


Hi,
Junfeng Dong have made the following changes to org.tizen.data-provider-slave in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #6872

  submit:       Tizen:build/org.tizen.data-provider-slave(cleanup) -> Tizen


Message:
Submitter: Junfeng Dong <junfeng.dong at intel.com>
Comments: Fix build errors on 3.0
Git project: platform/framework/web/data-provider-slave
Tag: submit/tizen/20130627.143008
Commit: 9f9a406 Fix build error

State:   new        2013-06-27T07:21:40 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- org.tizen.data-provider-slave.changes
+++ org.tizen.data-provider-slave.changes
@@ -0,0 +1,3 @@
+* Thu Jun 27 2013 Junfeng Dong <junfeng.dong at intel.com> accepted/tizen/20130530.164858 at 9c8da9b
+- Fix build error
+

new:
----
  org.tizen.data-provider-slave.changes

spec files:
-----------
--- org.tizen.data-provider-slave.spec
+++ org.tizen.data-provider-slave.spec
@@ -4,7 +4,7 @@
 Summary: Plugin type livebox service provider.
 Version: 0.11.2
 Release: 1
-VCS:     platform/framework/web/data-provider-slave#submit/tizen/20130528.214214-0-gb422beb044ea23e8df109fe6f7b05b06eab693b5
+VCS:     platform/framework/web/data-provider-slave#submit/tizen/20130627.143008-0-g9f9a40690c0cc75dd6e1bac1ca95cb4793cbbd98
 Group: HomeTF/Livebox
 License: Flora License
 Source0: %{name}-%{version}.tar.gz
@@ -46,7 +46,7 @@
 %build
 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
 #-fpie  LDFLAGS="${LDFLAGS} -pie -O3"
-CFLAGS="${CFLAGS} -Wall -Winline -Werror -fno-builtin-malloc" make %{?jobs:-j%jobs}
+CFLAGS="${CFLAGS} -Wall -Winline -fno-builtin-malloc" make %{?jobs:-j%jobs}
 
 %install
 rm -rf %{buildroot}

other changes:
--------------

++++++ org.tizen.data-provider-slave-0.11.2.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -52,7 +52,7 @@
 ADD_DEFINITIONS(${pkg_CFLAGS})
 
 # -fpie
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Winline -Werror -g -fno-builtin-malloc")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Winline -g -fno-builtin-malloc")
 #SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
 
 ADD_EXECUTABLE(${PROJECT_NAME}
--- packaging/org.tizen.data-provider-slave.changes
+++ packaging/org.tizen.data-provider-slave.changes
@@ -0,0 +1,3 @@
+* Thu Jun 27 2013 Junfeng Dong <junfeng.dong at intel.com> accepted/tizen/20130530.164858 at 9c8da9b
+- Fix build error
+
--- packaging/org.tizen.data-provider-slave.spec
+++ packaging/org.tizen.data-provider-slave.spec
@@ -45,7 +45,7 @@
 %build
 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
 #-fpie  LDFLAGS="${LDFLAGS} -pie -O3"
-CFLAGS="${CFLAGS} -Wall -Winline -Werror -fno-builtin-malloc" make %{?jobs:-j%jobs}
+CFLAGS="${CFLAGS} -Wall -Winline -fno-builtin-malloc" make %{?jobs:-j%jobs}
 
 %install
 rm -rf %{buildroot}
--- src/main.c
+++ src/main.c
@@ -335,7 +335,12 @@
 	return;
 }
 
-void (*__malloc_initialize_hook)(void) = heap_monitor_init;
+/*Define it as empty for libc < 2.14  */
+#ifndef __MALLOC_HOOK_VOLATILE
+# define __MALLOC_HOOK_VOLATILE
+#endif
+
+void (*__MALLOC_HOOK_VOLATILE __malloc_initialize_hook)(void) = heap_monitor_init;
 
 #if defined(_ENABLE_MCHECK)
 static inline void mcheck_cb(enum mcheck_status status)


More information about the Tizen-submit mailing list