From 56ee0399cf55bdc83db5e2cff0f525fed34cd78e Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 13 Aug 2017 13:17:58 +0200 Subject: [PATCH] icu: disable use of _strtod_l (#2709) This function does not seem to be available on Windows XP so disable by explicitly defining U_USE_STRTOD_L as 0. Fixes #2708 --- mingw-w64-icu/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mingw-w64-icu/PKGBUILD b/mingw-w64-icu/PKGBUILD index 9b08889916..64a3f88aa9 100644 --- a/mingw-w64-icu/PKGBUILD +++ b/mingw-w64-icu/PKGBUILD @@ -10,7 +10,7 @@ _realname=icu pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}" "${MINGW_PACKAGE_PREFIX}-${_realname}-debug-libs") pkgver=58.2 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc="International Components for Unicode library (mingw-w64)" arch=('any') @@ -86,6 +86,7 @@ prepare() { build() { local -a extra_config + CXXFLAGS+=" -DU_USE_STRTOD_L=0" # breaks on Windows XP #CXXFLAGS+=" -D_WIN32_WINNT=0x0601" cd "${srcdir}/icu/" # For ICU we ignore the options for debug above and always