[guiqwt] 03/04: fix the FTBFS with gcc-6

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Sun Aug 21 08:24:24 UTC 2016


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

picca pushed a commit to branch master
in repository guiqwt.

commit c3166ae26070f2b40d5bf5a3c5311618dbf5400f
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date:   Sun Aug 21 09:16:22 2016 +0200

    fix the FTBFS with gcc-6
---
 .../patches/0002-fix-the-FTBFS-closes-818809.patch  | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0002-fix-the-FTBFS-closes-818809.patch b/debian/patches/0002-fix-the-FTBFS-closes-818809.patch
new file mode 100644
index 0000000..540873d
--- /dev/null
+++ b/debian/patches/0002-fix-the-FTBFS-closes-818809.patch
@@ -0,0 +1,21 @@
+From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca at debian.org>
+Date: Sun, 21 Aug 2016 09:15:38 +0200
+Subject: fix the FTBFS (closes: #818809)
+
+---
+ src/scaler.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/scaler.cpp b/src/scaler.cpp
+index 4b2ccc8..1c546a9 100644
+--- a/src/scaler.cpp
++++ b/src/scaler.cpp
+@@ -294,7 +294,7 @@ void _scale_rgb(DEST& dest,
+ 		scale.set_bg( it() );
+ 	    } else {
+ 		val = interpolate(src, tr, p);
+-		if (isnan(val)) {
++		if (isnan((float) val)) {
+ 		    scale.set_bg( it() );
+ 		} else {
+ 		    it() = scale.eval(val);
diff --git a/debian/patches/series b/debian/patches/series
index 4e996d1..721fe0b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-make-the-build-reproducible-by-supporting-SOURCE_DAT.patch
+0002-fix-the-FTBFS-closes-818809.patch

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



More information about the debian-science-commits mailing list