summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2022-06-20 10:56:56 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-07-17 09:21:12 +0200
commitb27e419d3fb2cce9601a5df1974c65e8438e6fb4 (patch)
treedb8538d29bc59c05fdeffc13245ed7ef24293aad /dev-libs/icu/files
parentkde-apps/k3b: fix build on musl (diff)
downloadgentoo-b27e419d3fb2cce9601a5df1974c65e8438e6fb4.tar.gz
gentoo-b27e419d3fb2cce9601a5df1974c65e8438e6fb4.tar.bz2
gentoo-b27e419d3fb2cce9601a5df1974c65e8438e6fb4.zip
dev-libs/icu: remove unused patch
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/25996 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/icu/files')
-rw-r--r--dev-libs/icu/files/icu-69.1-fix-ub-units.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-libs/icu/files/icu-69.1-fix-ub-units.patch b/dev-libs/icu/files/icu-69.1-fix-ub-units.patch
deleted file mode 100644
index 6847d5851557..000000000000
--- a/dev-libs/icu/files/icu-69.1-fix-ub-units.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-https://github.com/unicode-org/icu/pull/1715
-https://bugs.gentoo.org/788112
-
-From 29f1188d191a7a75ac7ffa4bfa390f625da39c53 Mon Sep 17 00:00:00 2001
-From: Andreas Schwab <schwab@suse.de>
-Date: Tue, 11 May 2021 19:04:24 +0200
-Subject: [PATCH] ICU-21613 Fix undefined behaviour in
- ComplexUnitsConverter::applyRounder
-
---- a/i18n/units_complexconverter.cpp
-+++ b/i18n/units_complexconverter.cpp
-@@ -237,6 +237,11 @@ void ComplexUnitsConverter::applyRounder(MaybeStackArray<int64_t, 5> &intValues,
- }
- quantity = decimalQuantity.toDouble();
-
-+ if (uprv_isNaN(quantity) || uprv_isInfinite(quantity)) {
-+ // Do nothing for non-finite values, since conversion to int64_t is undefined
-+ return;
-+ }
-+
- int32_t lastIndex = unitsConverters_.length() - 1;
- if (lastIndex == 0) {
- // Only one element, no need to bubble up the carry