patch-external_icu_icu-ubsan_patch_0 1.0 KB

12345678910111213141516171819202122232425
  1. $OpenBSD: patch-external_icu_icu-ubsan_patch_0,v 1.1 2016/12/05 16:17:38 ajacoutot Exp $
  2. From 3e42714c76b1347babfdea0564009d8d82a83af4 Mon Sep 17 00:00:00 2001
  3. From: Eike Rathke <erack@redhat.com>
  4. Date: Wed, 2 Nov 2016 13:07:48 +0100
  5. Subject: [PATCH] upgrade to ICU 58
  6. --- external/icu/icu-ubsan.patch.0.orig.port Wed Sep 21 17:12:13 2016
  7. +++ external/icu/icu-ubsan.patch.0 Mon Dec 5 12:06:55 2016
  8. @@ -151,14 +151,3 @@
  9. length(len), next(subNode) {}
  10. virtual UBool operator==(const Node &other) const;
  11. virtual int32_t markRightEdgesFirst(int32_t edgeNumber);
  12. ---- source/common/unifiedcache.h
  13. -+++ source/common/unifiedcache.h
  14. -@@ -139,7 +139,7 @@
  15. - : CacheKey<T>(other), fLoc(other.fLoc) { }
  16. - virtual ~LocaleCacheKey() { }
  17. - virtual int32_t hashCode() const {
  18. -- return 37 *CacheKey<T>::hashCode() + fLoc.hashCode();
  19. -+ return 37U *CacheKey<T>::hashCode() + fLoc.hashCode();
  20. - }
  21. - virtual UBool operator == (const CacheKeyBase &other) const {
  22. - // reflexive