[mpfi] 28/39: Properly switch to quilt format.

Jerome Benoit calculus-guest at moszumanska.debian.org
Sat May 23 02:12:13 UTC 2015


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

calculus-guest pushed a commit to branch master
in repository mpfi.

commit 7b00cef7fa71e0fd43341a3cb5a77d913fce29ec
Author: Laurent Fousse <laurent at komite.net>
Date:   Tue Sep 27 22:02:54 2011 +0200

    Properly switch to quilt format.
---
 ...patch-by-Philippe-Theveny-to-fix-tis_zero.patch | 32 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 33 insertions(+)

diff --git a/debian/patches/0001-Apply-patch-by-Philippe-Theveny-to-fix-tis_zero.patch b/debian/patches/0001-Apply-patch-by-Philippe-Theveny-to-fix-tis_zero.patch
new file mode 100644
index 0000000..355e067
--- /dev/null
+++ b/debian/patches/0001-Apply-patch-by-Philippe-Theveny-to-fix-tis_zero.patch
@@ -0,0 +1,32 @@
+From: Laurent Fousse <laurent at komite.net>
+Date: Tue, 27 Sep 2011 21:58:07 +0200
+Subject: Apply patch by Philippe Theveny to fix tis_zero.
+
+---
+ tests/tis_zero.c |    7 +++++--
+ 1 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/tests/tis_zero.c b/tests/tis_zero.c
+index 4937dd4..ebeffe1 100644
+--- a/tests/tis_zero.c
++++ b/tests/tis_zero.c
+@@ -60,13 +60,16 @@ main (int argc, char **argv)
+     mpfr_set_prec (x, p);
+     mpfi_set_prec (interval, p);
+ 
+-    random_mpfr (x); /* x != 0*/
++    random_mpfr (x);
+     mpfi_set_fr (interval, x);
+-    if (mpfi_is_zero (interval)) {
++    if (mpfi_is_zero (interval) && !mpfr_zero_p (x)) {
+       print_error (interval);
+     }
+ 
+     random_mpfr (x);
++    if (mpfr_zero_p (x))
++      mpfr_nextabove (x);
++    /* x != 0*/
+     mpfi_put_fr (interval, x);
+     if (mpfi_is_zero (interval)) {
+       print_error (interval);
+-- 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7fd4ef6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Apply-patch-by-Philippe-Theveny-to-fix-tis_zero.patch

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



More information about the debian-science-commits mailing list