packages/libs/icu/patches/001-disable-strtod_l.patch
Hirokazu MORIKAWA 67b5e98f5b icu: Bumped to v58.2
Maintainer: @nxhack
Compile tested: ar71xx mips_24kc_musl-1.1.15 LEDE r2610-324bdf3
Run tested: NONE

Description:
icu: Bumped to v58.2
for emoji handling

previous PR #2817

add patches/001-disable-strtod_l.patch
missing xlocale.h in case of using musl.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-01-11 11:13:35 +09:00

26 lines
761 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -893,8 +893,8 @@
AC_CHECK_FUNC(strtod_l)
if test x$ac_cv_func_strtod_l = xyes
then
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=1"
- U_HAVE_STRTOD_L=1
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=0"
+ U_HAVE_STRTOD_L=0
else
CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=0"
U_HAVE_STRTOD_L=0
--- a/configure
+++ b/configure
@@ -7053,8 +7053,8 @@
if test x$ac_cv_func_strtod_l = xyes
then
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=1"
- U_HAVE_STRTOD_L=1
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=0"
+ U_HAVE_STRTOD_L=0
else
CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=0"
U_HAVE_STRTOD_L=0