From 8ee85fd0668f17101b4dd8ad1b35ee0194521184 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 24 Sep 2016 17:03:46 +0200 Subject: sci-libs/libmems: Allow for compiling with GCC 6 Gentoo-bug: 594814 * Patch taken from Debian * Add sub-slot operator for dev-libs/boost * Delete .la files Package-Manager: portage-2.3.1 --- sci-libs/libmems/files/libmems-1.6_p1-fix-c++14.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sci-libs/libmems/files/libmems-1.6_p1-fix-c++14.patch (limited to 'sci-libs/libmems/files') diff --git a/sci-libs/libmems/files/libmems-1.6_p1-fix-c++14.patch b/sci-libs/libmems/files/libmems-1.6_p1-fix-c++14.patch new file mode 100644 index 000000000000..bde8efeb4c9c --- /dev/null +++ b/sci-libs/libmems/files/libmems-1.6_p1-fix-c++14.patch @@ -0,0 +1,18 @@ +Description: Correct compilation with g++-6 +Author: Gert Wollny +Bug-Debian: https://bugs.debian.org/811870 +Forwarded: yes +Bug: https://sourceforge.net/p/mauve/bugs/46/ +Last-Update: 2016-06-30 + +--- a/libMems/ProgressiveAligner.cpp ++++ b/libMems/ProgressiveAligner.cpp +@@ -1599,7 +1599,7 @@ + c.SetLeftEnd(child_1, ancestral_matches[mI]->LeftEnd(1)); + c.SetOrientation(child_1, ancestral_matches[mI]->Orientation(1)); + c.SetLength(ancestral_matches[mI]->Length(1), child_1); +- cga_list.push_back(make_tuple(c.Copy(), &bs[mI], ancestral_matches[mI])); ++ cga_list.push_back(boost::tuples::make_tuple(c.Copy(), &bs[mI], ancestral_matches[mI])); + } + + stack node_stack; -- cgit v1.2.3-65-gdbad