--- a/icu/icu.spec Wed Apr 27 21:37:58 2011 +0200
+++ b/icu/icu.spec Mon May 02 14:25:09 2011 +0200
@@ -50,6 +50,7 @@
#patches 25, 26 align tests to previous Oracle modifications
Patch25: source_common_testdata_conversion.txt.patch
Patch26: source_test_ccapitst.c.patch
+Patch27: source_i18n_decNumber.h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}
SUNW_Copyright: %{src_name}.copyright
@@ -109,6 +110,7 @@
%patch21 -p1
%patch25 -p1
%patch26 -p1
+%patch27
%ifarch amd64 sparcv9
cd ..
@@ -297,6 +299,8 @@
%dir %attr (0444, root, bin) /usr/share/man/man3lib/libicuuc.3lib
%changelog
+* Mon May 2 2011 Pavel Heimlich <[email protected]>
+- fix CR 7035907
* Thu Mar 24 2011 Pavel Heimlich <[email protected]>
- ICU 4.6.1
- delete unused patches
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/icu/patches/source_i18n_decNumber.h.patch Mon May 02 14:25:09 2011 +0200
@@ -0,0 +1,12 @@
+--- source/i18n/decNumber.h Fri Feb 26 03:29:00 2010
++++ source/i18n/decNumber.h Wed Apr 27 12:03:11 2011
+@@ -84,7 +84,8 @@
+ /* range: -1999999997 through 999999999 */
+ uint8_t bits; /* Indicator bits (see above) */
+ /* Coefficient, from least significant unit */
+- decNumberUnit lsu[DECNUMUNITS];
++ /*CR 7035907*/
++ decNumberUnit lsu[DECNUMUNITS+2];
+ } decNumber;
+
+ /* Notes: */