icu#7932 doublecompare

This commit is contained in:
Caolán McNamara 2010-09-09 09:31:26 +01:00
parent 52eb3a4e03
commit f071d1b5a2
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,14 @@
diff -ru icu.orig/source/test/cintltst/cnumtst.c icu/source/test/cintltst/cnumtst.c
--- icu.orig/source/test/cintltst/cnumtst.c 2010-09-09 08:52:26.043634583 +0100
+++ icu/source/test/cintltst/cnumtst.c 2010-09-09 09:03:28.602635460 +0100
@@ -358,7 +358,9 @@
log_err("parse failed. The error is : %s\n", myErrorName(status));
}
- if(d1!=462.12345)
+ a1 = 462.12345;
+
+ if(d1!=a1)
log_err("Fail: Error in parsing\n");
else
log_verbose("Pass: parsing successful\n");

View File

@ -14,6 +14,7 @@ Requires: lib%{name} = %{version}-%{release}
Patch1: icu-3.4-multiarchdevel.patch
Patch2: icu.6995.kannada.patch
Patch3: icu.XXXX.buildfix.patch
Patch4: icu.7932.doublecompare.patch
%description
Tools and utilities for developing with icu.
@ -56,6 +57,7 @@ BuildArch: noarch
%patch1 -p1 -b .multiarchdevel
%patch2 -p1 -b .icu6995.kannada.patch
%patch3 -p1 -b .icuXXXX.buildfix.patch
%patch4 -p1 -b .icu7932.doublecompare.patch
%build
cd source
@ -137,7 +139,7 @@ rm -rf $RPM_BUILD_ROOT
%doc source/__docs/%{name}/html/*
%changelog
* Tue Sep 07 2010 Caolán McNamara <caolanm@redhat.com> - 4.4.1-4
* Thu Sep 09 2010 Caolán McNamara <caolanm@redhat.com> - 4.4.1-4
- Resolves: rhbz#631403 doxygen no longer generates gifs
* Thu Jul 08 2010 Caolán McNamara <caolanm@redhat.com> - 4.4.1-3