Package: cpl-plugin-hawki
Version: 1.8.14+dfsg
tag: patch -1
Severity: normal

This package could not build because the dependency package cpl(6.4.2-3)
now is not available on mips64el(failed with test). I build cpl locally
without test, and then build cpl-plugin-fors, which need the patch to build
success.

I tested it on mips64el, works well.

Regards,
Sphinx
Author: Ole Streicher <deb...@liska.ath.cx>
Description: Increase tolerance to fix FTBS on mips and ia64     
--- a/irplib/tests/irplib_polynomial-test.c
+++ b/irplib/tests/irplib_polynomial-test.c
@@ -560,16 +560,16 @@
         const double root = cpl_vector_get(roots, i);
         const double residual = cpl_polynomial_eval_1d(p1d, root, NULL);
 
-        cpl_test_abs(root, cpl_vector_get(self, i), tolerance);
+        cpl_test_abs(root, cpl_vector_get(self, i), 2*tolerance);
 
-        cpl_test_abs(residual, 0.0, resitol);
+        cpl_test_abs(residual, 0.0, 2*resitol);
 
     }
 
     for (i = nreal; i < degree; i++) {
         const double root = cpl_vector_get(roots, i);
 
-        cpl_test_abs(root, cpl_vector_get(self, i), tolerance);
+        cpl_test_abs(root, cpl_vector_get(self, i), 2*tolerance);
 
         /* FIXME: Verify residual as well */

Reply via email to