[icu/f20] TestTwoDigitYear build fix
Eike Rathke
erack at fedoraproject.org
Mon Mar 9 21:45:22 UTC 2015
commit 157a8e9c24da60596ba442f960fef2dd9161b039
Author: Eike Rathke <erack at redhat.com>
Date: Mon Mar 9 22:40:17 2015 +0100
TestTwoDigitYear build fix
icu-testtwodigityear.patch | 13 +++++++++++++
icu.spec | 7 ++++++-
2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/icu-testtwodigityear.patch b/icu-testtwodigityear.patch
new file mode 100644
index 0000000..6d22097
--- /dev/null
+++ b/icu-testtwodigityear.patch
@@ -0,0 +1,13 @@
+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));
+ }
+
+ // -------------------------------------
diff --git a/icu.spec b/icu.spec
index 7edc9cd..36039c7 100644
--- a/icu.spec
+++ b/icu.spec
@@ -1,6 +1,6 @@
Name: icu
Version: 50.1.2
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: International Components for Unicode
Group: Development/Tools
License: MIT and UCD and Public Domain
@@ -21,6 +21,7 @@ Patch5: gennorm2-man.patch
Patch6: icuinfo-man.patch
Patch7: icu.10143.memory.leak.crash.patch
Patch8: icu.10318.CVE-2013-2924_changeset_34076.patch
+Patch9: icu-testtwodigityear.patch
%description
Tools and utilities for developing with icu.
@@ -72,6 +73,7 @@ BuildArch: noarch
%patch6 -p1 -b .icuinfo-man.patch
%patch7 -p1 -b .icu10143.memory.leak.crash.patch
%patch8 -p1 -b .icu10318.CVE-2013-2924_changeset_34076.patch
+%patch9 -p1 -b .icu-testtwodigityear.patch
%build
cd source
@@ -179,6 +181,9 @@ make %{?_smp_mflags} -C source check
%doc source/__docs/%{name}/html/*
%changelog
+* Mon Mar 09 2015 Eike Rathke <erack at redhat.com> - 50.1.2-11-UNBUILT
+- TestTwoDigitYear build fix
+
* Wed Oct 09 2013 Eike Rathke <erack at redhat.com> - 50.1.2-10
- Resolves: rhbz#1015594 CVE-2013-2924 use-after-free
More information about the scm-commits
mailing list