From f071d1b5a28d5c95dbc698871b4738e062d4210a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 9 Sep 2010 09:31:26 +0100 Subject: [PATCH] icu#7932 doublecompare --- icu.7932.doublecompare.patch | 14 ++++++++++++++ icu.spec | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 icu.7932.doublecompare.patch 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 - 4.4.1-4 +* Thu Sep 09 2010 Caolán McNamara - 4.4.1-4 - Resolves: rhbz#631403 doxygen no longer generates gifs * Thu Jul 08 2010 Caolán McNamara - 4.4.1-3