[fflas-ffpack] 01/02: debian/patches/add-include-functional-to-test-utils.h.patch: New patch; fixes FTBFS with GCC 7 (Closes: #853399).

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Jul 11 11:22:52 UTC 2017


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

dtorrance-guest pushed a commit to branch master
in repository fflas-ffpack.

commit 5d32f967b916bb2342cac9cb2d3ef25d21996577
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Tue Jul 11 07:01:54 2017 -0400

    debian/patches/add-include-functional-to-test-utils.h.patch: New patch;
    fixes FTBFS with GCC 7 (Closes: #853399).
---
 debian/changelog                                         |  4 +++-
 .../patches/add-include-functional-to-test-utils.h.patch | 16 ++++++++++++++++
 debian/patches/series                                    |  1 +
 3 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ddc9e46..18051cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ fflas-ffpack (2.2.2-5) unstable; urgency=medium
   * debian/control
     - Switch build dependency on texlive-math-extra to texlive-science
       (Closes: #867086).
+  * debian/patches/add-include-functional-to-test-utils.h.patch
+    - New patch; fixes FTBFS with GCC 7 (Closes: #853399).
   * debian/rules
     - Remove -fno-strict-aliasing from CXXFLAGS; it ended up not helping
       the armel build.
@@ -13,7 +15,7 @@ fflas-ffpack (2.2.2-5) unstable; urgency=medium
       causing false positives.
     - Don't redirect stdout to /dev/null; may provide useful information.
 
- -- Doug Torrance <dtorrance at piedmont.edu>  Thu, 12 Jan 2017 22:45:33 -0500
+ -- Doug Torrance <dtorrance at piedmont.edu>  Tue, 11 Jul 2017 07:12:49 -0400
 
 fflas-ffpack (2.2.2-4) unstable; urgency=medium
 
diff --git a/debian/patches/add-include-functional-to-test-utils.h.patch b/debian/patches/add-include-functional-to-test-utils.h.patch
new file mode 100644
index 0000000..e4ea6a8
--- /dev/null
+++ b/debian/patches/add-include-functional-to-test-utils.h.patch
@@ -0,0 +1,16 @@
+Description: Add "#include <functional>" to test-utils.h.
+ Fixes build failure with GCC 7.
+Origin: https://github.com/linbox-team/fflas-ffpack/commit/d57c3c8
+Bug-Debian: https://bugs.debian.org/853399
+Last-Update: 2017-07-11
+
+--- a/tests/test-utils.h
++++ b/tests/test-utils.h
+@@ -44,6 +44,7 @@
+ #include <givaro/givranditer.h>
+ #include <chrono>
+ #include <random>
++#include <functional>
+ 
+ namespace FFPACK {
+ 
diff --git a/debian/patches/series b/debian/patches/series
index df41864..3af6286 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ pkg-config-bad-directive.patch
 skip-test-ftrsm.patch
 fix_ftbfs_bigendian.patch
 do-not-fail-cp-INSTALL.patch
+add-include-functional-to-test-utils.h.patch

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



More information about the debian-science-commits mailing list