[icu] icu#7932 doublecompare
Caolan McNamara
caolanm at fedoraproject.org
Thu Sep 9 08:31:23 UTC 2010
commit f071d1b5a28d5c95dbc698871b4738e062d4210a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Sep 9 09:31:26 2010 +0100
icu#7932 doublecompare
icu.7932.doublecompare.patch | 14 ++++++++++++++
icu.spec | 4 +++-
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/icu.7932.doublecompare.patch b/icu.7932.doublecompare.patch
new file mode 100644
index 0000000..ab98f47
--- /dev/null
+++ b/icu.7932.doublecompare.patch
@@ -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");
diff --git a/icu.spec b/icu.spec
index d6e2f58..582d956 100644
--- a/icu.spec
+++ b/icu.spec
@@ -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 at redhat.com> - 4.4.1-4
+* Thu Sep 09 2010 Caolán McNamara <caolanm at redhat.com> - 4.4.1-4
- Resolves: rhbz#631403 doxygen no longer generates gifs
* Thu Jul 08 2010 Caolán McNamara <caolanm at redhat.com> - 4.4.1-3
More information about the scm-commits
mailing list