summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Villemot <sebastien@debian.org>2022-04-19 15:04:13 +0200
committerSébastien Villemot <sebastien@debian.org>2022-04-19 15:04:13 +0200
commit670d56aa85eb26407b9a55d86114e40738ad0cb8 (patch)
tree277943d9947e555f778c64198bfe9dabf3be17b0
parent558e006e9074f4a525fc594e00ee4b0bcd544030 (diff)
octave7.patch: new patch, fixes FTBFS against Octave 7
Closes: #1009136
-rw-r--r--debian/patches/octave7.patch19
-rw-r--r--debian/patches/series1
2 files changed, 20 insertions, 0 deletions
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 <sebastien@debian.org>
+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