- add icu-fix-tests-depending-on-date.patch to fix build

see http://sourceforge.net/p/icu/mailman/message/32443311/

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=48
This commit is contained in:
Stephan Kulow 2014-06-16 08:37:21 +00:00 committed by Git OBS Bridge
parent 081f774654
commit 9b8cd86eea
3 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,15 @@
See icu-fix-tests-depending-on-date.patch
Index: icu/source/test/intltest/dtfmttst.cpp
===================================================================
--- icu.orig/source/test/intltest/dtfmttst.cpp
+++ icu/source/test/intltest/dtfmttst.cpp
@@ -1132,7 +1132,7 @@ DateFormatTest::TestTwoDigitYear()
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));
}
// -------------------------------------

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 16 08:31:20 UTC 2014 - coolo@suse.com
- add icu-fix-tests-depending-on-date.patch to fix build
see http://sourceforge.net/p/icu/mailman/message/32443311/
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 3 13:23:12 UTC 2014 - tchvatal@suse.com Tue Jun 3 13:23:12 UTC 2014 - tchvatal@suse.com

View File

@ -33,6 +33,7 @@ Patch1: icu-rpmlint.diff
Patch2: icu-remove-datetime.patch Patch2: icu-remove-datetime.patch
Patch3: icu-versioning.diff Patch3: icu-versioning.diff
Patch4: icu-fix-install-mode-files.diff Patch4: icu-fix-install-mode-files.diff
Patch5: icu-fix-tests-depending-on-date.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkg-config BuildRequires: pkg-config
@ -119,7 +120,7 @@ cd html
unzip %SOURCE2 unzip %SOURCE2
cd .. cd ..
%patch -P 1 -P 2 -P 3 -P 4 -p1 %patch -P 1 -P 2 -P 3 -P 4 -p1 -P 5 -p1
%build %build
cd source cd source