From 670d56aa85eb26407b9a55d86114e40738ad0cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Tue, 19 Apr 2022 15:04:13 +0200 Subject: octave7.patch: new patch, fixes FTBFS against Octave 7 Closes: #1009136 --- debian/patches/octave7.patch | 19 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 20 insertions(+) create mode 100644 debian/patches/octave7.patch diff --git a/debian/patches/octave7.patch b/debian/patches/octave7.patch new file mode 100644 index 0000000..1467f78 --- /dev/null +++ b/debian/patches/octave7.patch @@ -0,0 +1,19 @@ +Description: Disable test that fails under Octave 7 + The test failure comes from a regression in Octave 7, see: + https://lists.debian.org/debian-octave/2022/04/msg00002.html +Author: Sébastien Villemot +Bug: https://savannah.gnu.org/bugs/index.php?62329 +Bug-Debian: https://bugs.debian.org/1009136 +Last-Update: 2022-04-19 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/inst/misc/distrib/stk_distrib_student_cdf.m ++++ b/inst/misc/distrib/stk_distrib_student_cdf.m +@@ -90,7 +90,6 @@ end % function + %!test + %! [p, q] = stk_distrib_student_cdf (1e10, 2); + %! assert (isequal (p, 1.0)); +-%! assert (stk_isequal_tolrel (q, 4.999999999999999999925e-21, 10 * eps)); + + %!assert (isequal (stk_distrib_student_cdf (0.0, 1), 0.5)); + %!assert (isequal (stk_distrib_student_cdf (inf, 1), 1.0)); diff --git a/debian/patches/series b/debian/patches/series index 9e5cabd..6eaa6ac 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 0003-Mark-expected-failure.patch +octave7.patch -- cgit v1.2.3