[PATCHv2] compat-icu: Update to 56.1

Message ID 20230227184609.215645-1-stefan.schantl@ipfire.org
State Accepted
Commit 888723e00e0c07dfc7c598743996433807f971b7
Headers
Series [PATCHv2] compat-icu: Update to 56.1 |

Commit Message

Stefan Schantl Feb. 27, 2023, 6:46 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 compat-icu/compat-icu.nm                        |  8 ++++----
 compat-icu/patches/icu-test-twodigityear.patch2 | 13 -------------
 2 files changed, 4 insertions(+), 17 deletions(-)
 delete mode 100644 compat-icu/patches/icu-test-twodigityear.patch2
  

Patch

diff --git a/compat-icu/compat-icu.nm b/compat-icu/compat-icu.nm
index 47e24d4f4..8ca0f6ac5 100644
--- a/compat-icu/compat-icu.nm
+++ b/compat-icu/compat-icu.nm
@@ -5,9 +5,9 @@ 
 
 name       = compat-icu
 version    = %{ver_major}.%{ver_minor}.%{ver_plevel}
-ver_major  = 50
+ver_major  = 56
 ver_minor  = 1
-ver_plevel = 2
+ver_plevel = 
 release    = 1
 thisapp    = icu-%{version}
 
@@ -20,8 +20,8 @@  description
 	Tools and utilities for developing with icu.
 end
 
-source_dl  = http://download.icu-project.org/files/icu4c/%{version}/
-sources    = icu4c-%{ver_major}_%{ver_minor}_%{ver_plevel}-src.tgz
+source_dl  = https://github.com/unicode-org/icu/releases/download/release-%{ver_major}-%{ver_minor}/
+sources    = icu4c-%{ver_major}_%{ver_minor}-src.tgz
 
 build
 	DIR_APP = %{DIR_SRC}/icu/source
diff --git a/compat-icu/patches/icu-test-twodigityear.patch2 b/compat-icu/patches/icu-test-twodigityear.patch2
deleted file mode 100644
index fba90b5d3..000000000
--- a/compat-icu/patches/icu-test-twodigityear.patch2
+++ /dev/null
@@ -1,13 +0,0 @@ 
-In the year 2034 ...
-http://sourceforge.net/p/icu/mailman/message/32443311/
---- icu.orig/source/test/intltest/dtfmttst.cpp	2013-10-04 22:48:00.000000000 +0200
-+++ icu/source/test/intltest/dtfmttst.cpp	2014-06-13 19:34:40.611299572 +0200
-@@ -1129,7 +1129,7 @@
-         return;
-     }
-     parse2DigitYear(fmt, "5/6/17", date(117, UCAL_JUNE, 5));
--    parse2DigitYear(fmt, "4/6/34", date(34, UCAL_JUNE, 4));
-+    parse2DigitYear(fmt, "4/6/34", date(134, UCAL_JUNE, 4));
- }
-
- // -------------------------------------