- 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:
parent
081f774654
commit
9b8cd86eea
15
icu-fix-tests-depending-on-date.patch
Normal file
15
icu-fix-tests-depending-on-date.patch
Normal 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));
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------
|
@ -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
|
||||||
|
|
||||||
|
3
icu.spec
3
icu.spec
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user