[cpl-plugin-hawki] 11/39: Fix FTBS on i386

Ole Streicher olebole-guest at alioth.debian.org
Mon Sep 16 19:36:10 UTC 2013


This is an automated email from the git hooks/post-receive script.

olebole-guest pushed a commit to branch debian
in repository cpl-plugin-hawki.

commit 0388bec2dc8fa139db0d68aed4ab5377e723a2d1
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Tue Jan 15 15:31:02 2013 +0100

    Fix FTBS on i386
---
 debian/patches/fix_test_fail.patch |   15 +++++++++++++++
 debian/patches/series              |    1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/fix_test_fail.patch b/debian/patches/fix_test_fail.patch
new file mode 100644
index 0000000..52351cf
--- /dev/null
+++ b/debian/patches/fix_test_fail.patch
@@ -0,0 +1,15 @@
+Author: Lars Lundin <llundin at eso.org>
+Description: This committed change to irplib/tests/irplib_polynomial-test.c
+ fixes the problem (Thanks to JTaylor for testing)
+Bug: PIPE-4326
+--- a/irplib/tests/irplib_polynomial-test.c
++++ b/irplib/tests/irplib_polynomial-test.c
+@@ -202,7 +202,7 @@
+                                         DBL_EPSILON, 2.0*DBL_EPSILON);
+ 
+         /* A more extreme case: Same with negative roots */
+-        (void)cpl_vector_fill(xtrue, -2.0e-4 * FLT_EPSILON);
++        (void)cpl_vector_fill(xtrue, -2.0e-3 * FLT_EPSILON);
+         (void)cpl_vector_set(xtrue, 0, -1.0);
+ 
+         irplib_polynomial_test_root_all(xtrue, nreal, CPL_MATH_PI,
diff --git a/debian/patches/series b/debian/patches/series
index e2c2220..c253784 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 libadd_cpl.patch
 set_plugindir.patch
 use-std-paths-for-cpl.patch
+fix_test_fail.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cpl-plugin-hawki.git



More information about the debian-science-commits mailing list