[tlbuild] Last icu update breaks build on NetBSD

Marc Baudoin babafou at babafou.eu.org
Fri Mar 17 10:03:03 CET 2017


Hi,

The latest icu update breaks build on NetBSD.  The attached patch
(which is used by pkgsrc, the NetBSD packaging system for
third-party software) makes it work again.
-------------- next part --------------
--- libs/icu/icu-src/source/i18n/digitlst.cpp.orig	2017-03-17 09:13:25.000000000 +0100
+++ libs/icu/icu-src/source/i18n/digitlst.cpp	2017-03-17 09:13:50.000000000 +0100
@@ -61,7 +61,7 @@
 #endif
 
 #if U_USE_STRTOD_L
-# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN
+# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN || defined(__NetBSD__)
 #   include <locale.h>
 # else
 #   include <xlocale.h>


More information about the tlbuild mailing list