libical: use system time zone info
PATCH 1/1 libical: use system time zone info
libical requires time zone information in order to make use of time zone functions (otherwise, segfaults occur when applications call the time zone functions). This patch:
1. forces the system to build time zone info
2. ensures libical does not build its own time zone info (this is the default behaviour, but the flag is added in case libical's default changes in the future).
--- package/libical/Config.in | 1 + package/libical/libical.mk | 2 ++ 2 files changed, 3 insertions(+)
package/libical/Config.in +1 -0
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBICAL depends on BR2_INSTALL_LIBSTDCPP depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR + select BR2_TARGET_TZ_INFO help libical is an Open Source (MPL/LGPL) implementation of the IETF's iCalendar Calendaring and Scheduling protocols.
package/libical/libical.mk +2 -0
@@ -13,5 +13,7 @@ LIBICAL_LICENSE_FILES = LICENSE # building without this option is broken, it is used by # Gentoo/alpinelinux as well LIBICAL_CONF_OPTS = -DSHARED_ONLY=true +# never build time zone info, always use system's tzinfo +LIBICAL_CONF_OPTS += -DUSE_BUILTIN_TZDATA=false $(eval $(cmake-package))
Signature · 1 line
2.8.2
Thomas Petazzoni
AppliedPATCH 1/1 libical: use system time zone info
Hello,
Quoted 8 lines · Marc Khouri
libical requires time zone information in order to make use of time zone functions (otherwise, segfaults occur when applications call the time zone functions). This patch:
1. forces the system to build time zone info
2. ensures libical does not build its own time zone info (this is the default behaviour, but the flag is added in case libical's default changes in the future).
Quoted 5 lines
Signed-off-by Marc Khouri <[email protected]>--- package/libical/Config.in | 1 + package/libical/libical.mk | 2 ++ 2 files changed, 3 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com