Package: guiqwt Version: 3.0.2-1 Followup-For: Bug #818809 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu xenial ubuntu-patch
Dear Maintainer, In Ubuntu, the attached patch was applied to achieve the following: * debian/patches/isnan-fix.diff: Grab patch from upstream Git to fix FTBFS with libc 2.23. Thanks for considering the patch. Logan Rosen -- System Information: Debian Release: stretch/sid APT prefers xenial-updates APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports') Architecture: amd64 (x86_64) Kernel: Linux 4.4.0-18-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru guiqwt-3.0.2/debian/patches/isnan-fix.diff guiqwt-3.0.2/debian/patches/isnan-fix.diff --- guiqwt-3.0.2/debian/patches/isnan-fix.diff 1970-01-01 00:00:00.000000000 +0000 +++ guiqwt-3.0.2/debian/patches/isnan-fix.diff 2016-04-13 08:14:43.000000000 +0000 @@ -0,0 +1,13 @@ +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 -Nru guiqwt-3.0.2/debian/patches/series guiqwt-3.0.2/debian/patches/series --- guiqwt-3.0.2/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ guiqwt-3.0.2/debian/patches/series 2016-04-13 08:15:08.000000000 +0000 @@ -0,0 +1 @@ +isnan-fix.diff
-- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers