[ABS] worldclock: fix linking issue with malloc submit/tizen_unified_tpk/20170717.135244
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Mon, 17 Jul 2017 13:56:38 +0000 (22:56 +0900)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Mon, 17 Jul 2017 13:56:38 +0000 (22:56 +0900)
The Worldclock was using 'malloc' to construct Edje_Message_Int_Set struct.
This leads to problems on Tizen SDK 4.0 build, when during linking
'malloc' symbol was resolved not from glibc, but from libchromium-ewk.so.

This lead to crash when trying to use chromium's malloc.

Due to way how SDK build system works, I cannot remove libchromium from link options.
Instead I removed all usage of malloc in code.

Additionally add static to internal function

Reference: submit/tizen/20170717.135244
Commit id: b5c29eebbc962c392093b5456e9233a69be7c0d5
Requested by: l.stanislaws@samsung.com
SDK rootstrap version: 20170714_3

org.tizen.clock-1.0.0-aarch64-debug.tpk
org.tizen.clock-1.0.0-aarch64.tpk
org.tizen.clock-1.0.0-arm-debug.tpk
org.tizen.clock-1.0.0-arm.tpk
org.tizen.clock-1.0.0-x86-debug.tpk
org.tizen.clock-1.0.0-x86.tpk
org.tizen.clock-1.0.0-x86_64-debug.tpk
org.tizen.clock-1.0.0-x86_64.tpk
packaging/org.tizen.clock.spec

index 4d8e317e9070d2257a8a317384d7db6528c2dcef..e3d9dc6e1192473fa871ad67598866f937fce0b1 100644 (file)
Binary files a/org.tizen.clock-1.0.0-aarch64-debug.tpk and b/org.tizen.clock-1.0.0-aarch64-debug.tpk differ
index d30900d7d54298af6abcb5646f46dd452c4867dc..40dcc11744c1e0ac1212927e46eca1ad51f3fc5e 100644 (file)
Binary files a/org.tizen.clock-1.0.0-aarch64.tpk and b/org.tizen.clock-1.0.0-aarch64.tpk differ
index 16ba132adb1e4674f2ebf78770b9c24e1d9cf1b9..2f021fc3e044aff6ba46b99c1164c0860d323e2f 100644 (file)
Binary files a/org.tizen.clock-1.0.0-arm-debug.tpk and b/org.tizen.clock-1.0.0-arm-debug.tpk differ
index 3398bbb2278fcdf8e6113076f5ee471c6d7fcb5c..75847bf7c151cf9f4247514df059f73d5e2c32cd 100644 (file)
Binary files a/org.tizen.clock-1.0.0-arm.tpk and b/org.tizen.clock-1.0.0-arm.tpk differ
index 6373f203f4a378d767302d2e9ddd0c8a7c014713..e042644208a795d173bae6a969a62e2a95b6ef40 100644 (file)
Binary files a/org.tizen.clock-1.0.0-x86-debug.tpk and b/org.tizen.clock-1.0.0-x86-debug.tpk differ
index bf30f46ce081f4b9fd9ce07dde5e5e600ce24b1e..a88c634a4bc1fd3a6230aff6abebf870e5a8af52 100644 (file)
Binary files a/org.tizen.clock-1.0.0-x86.tpk and b/org.tizen.clock-1.0.0-x86.tpk differ
index 5878ba848566ad442eb61c75d769e9efa2e04d0c..96742fdffe2e488f2fd197836c59bcf354dfedca 100644 (file)
Binary files a/org.tizen.clock-1.0.0-x86_64-debug.tpk and b/org.tizen.clock-1.0.0-x86_64-debug.tpk differ
index 507c1c5c3205d92c0445beea39792a570d987090..a9e45b1ee4d5b5151e1a352e6e2648a41e5335c9 100644 (file)
Binary files a/org.tizen.clock-1.0.0-x86_64.tpk and b/org.tizen.clock-1.0.0-x86_64.tpk differ
index a2065f68e55834184767a1cfe419d388195a1f4d..2c31f32616626f3775f226a511798caaf3bca791 100644 (file)
@@ -1,6 +1,6 @@
 Name:       org.tizen.clock
-#VCS_FROM:   profile/mobile/apps/native/clock#0007743728018bd38ba9fa4611f96d36095b4b3a
-#RS_Ver:    20170606_2 
+#VCS_FROM:   profile/mobile/apps/native/clock#b5c29eebbc962c392093b5456e9233a69be7c0d5
+#RS_Ver:    20170714_3 
 Summary:    clock
 Version:    1.0.0
 Release:    1
@@ -31,7 +31,7 @@ Requires(post):  /usr/bin/tpk-backend
 %define target x86
 %endif
 %description
-profile/mobile/apps/native/clock#0007743728018bd38ba9fa4611f96d36095b4b3a
+profile/mobile/apps/native/clock#b5c29eebbc962c392093b5456e9233a69be7c0d5
 This is a container package which have preload TPK files
 
 %prep