From 3e42714c76b1347babfdea0564009d8d82a83af4 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 2 Nov 2016 13:07:48 +0100 Subject: upgrade to ICU 58 Change-Id: I4a992447df65b337721a2a2627d974172a14cba5 Reviewed-on: https://gerrit.libreoffice.org/30487 Reviewed-by: Eike Rathke Tested-by: Eike Rathke --- external/icu/icu-ubsan.patch.0 | 11 ----------- external/icu/icu4c-warnings.patch | 12 ------------ 2 files changed, 23 deletions(-) (limited to 'external') diff --git a/external/icu/icu-ubsan.patch.0 b/external/icu/icu-ubsan.patch.0 index 6d1d3bcf5014..8a47242117c5 100644 --- a/external/icu/icu-ubsan.patch.0 +++ b/external/icu/icu-ubsan.patch.0 @@ -151,14 +151,3 @@ length(len), next(subNode) {} virtual UBool operator==(const Node &other) const; virtual int32_t markRightEdgesFirst(int32_t edgeNumber); ---- source/common/unifiedcache.h -+++ source/common/unifiedcache.h -@@ -139,7 +139,7 @@ - : CacheKey(other), fLoc(other.fLoc) { } - virtual ~LocaleCacheKey() { } - virtual int32_t hashCode() const { -- return 37 *CacheKey::hashCode() + fLoc.hashCode(); -+ return 37U *CacheKey::hashCode() + fLoc.hashCode(); - } - virtual UBool operator == (const CacheKeyBase &other) const { - // reflexive diff --git a/external/icu/icu4c-warnings.patch b/external/icu/icu4c-warnings.patch index d1460933857f..96608d7d1ef3 100644 --- a/external/icu/icu4c-warnings.patch +++ b/external/icu/icu4c-warnings.patch @@ -8,15 +8,3 @@ } \ } ---- misc/icu/source/common/unicode/utypes.h -+++ misc/build/icu/source/common/unicode/utypes.h -@@ -399,7 +399,7 @@ - * some Linux/Unix compilers have problems with defining global new/delete. - * On Windows, it is _MSC_VER>=1200 for MSVC 6.0 and higher. - */ --#if defined(__cplusplus) && U_DEBUG && U_OVERRIDE_CXX_ALLOCATION && (_MSC_VER>=1200) && !defined(U_STATIC_IMPLEMENTATION) && (defined(U_COMMON_IMPLEMENTATION) || defined(U_I18N_IMPLEMENTATION) || defined(U_IO_IMPLEMENTATION) || defined(U_LAYOUT_IMPLEMENTATION) || defined(U_LAYOUTEX_IMPLEMENTATION)) -+#if defined(__cplusplus) && U_DEBUG && U_OVERRIDE_CXX_ALLOCATION && defined (_MSC_VER) && (_MSC_VER>=1200) && !defined(U_STATIC_IMPLEMENTATION) && (defined(U_COMMON_IMPLEMENTATION) || defined(U_I18N_IMPLEMENTATION) || defined(U_IO_IMPLEMENTATION) || defined(U_LAYOUT_IMPLEMENTATION) || defined(U_LAYOUTEX_IMPLEMENTATION)) - - #ifndef U_HIDE_INTERNAL_API - /** - -- cgit