[med-svn] [lamarc] 01/01: gcc-7 fix
Andreas Tille
tille at debian.org
Mon Dec 4 20:43:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository lamarc.
commit 58f702ab8fc2375ada1d16bfdf7e7a4e915fc1f4
Author: Andreas Tille <tille at debian.org>
Date: Mon Dec 4 21:43:17 2017 +0100
gcc-7 fix
---
debian/patches/gcc-7.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/gcc-7.patch b/debian/patches/gcc-7.patch
new file mode 100644
index 0000000..6623324
--- /dev/null
+++ b/debian/patches/gcc-7.patch
@@ -0,0 +1,15 @@
+Author: Gert Wollny <gw.fossdev at gmail.com>
+Last-Update: Mon, 04 Dec 2017 19:32:42 +0100
+Description: make_pair doesn't require the explicite type specification
+
+--- a/src/tools/mathx.cpp
++++ b/src/tools/mathx.cpp
+@@ -778,7 +778,7 @@ pair<DoubleVec1d, DoubleVec2d> EigenCalc
+ {
+ eigvals[i] = a[i][i];
+ }
+- return make_pair<DoubleVec1d, DoubleVec2d>(eigvals, eigvecs);
++ return make_pair(eigvals, eigvecs);
+ } // Eigen
+
+ //------------------------------------------------------------------------------------
diff --git a/debian/patches/series b/debian/patches/series
index b0c5026..8fd1692 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
use_debian_packaged_tinyxml.patch
use_debian_packaged_boost.patch
+gcc-7.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/lamarc.git
More information about the debian-med-commit
mailing list