--- /dev/null
+Description: Correct compilation with g++-6
+Author: Gert Wollny <gw.fossdev@gmail.com>
+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));\r
+ c.SetOrientation(child_1, ancestral_matches[mI]->Orientation(1));\r
+ c.SetLength(ancestral_matches[mI]->Length(1), child_1);\r
+- cga_list.push_back(make_tuple(c.Copy(), &bs[mI], ancestral_matches[mI]));\r
++ cga_list.push_back(boost::tuples::make_tuple(c.Copy(), &bs[mI], ancestral_matches[mI]));\r
+ }\r
+ \r
+ stack<node_id_t> node_stack;\r
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
SLOT="0"
LICENSE="GPL-2"
-IUSE="doc"
+IUSE="doc static-libs"
KEYWORDS="~amd64 ~x86"
-CDEPEND="
- dev-libs/boost
+RDEPEND="
+ dev-libs/boost:=
sci-libs/libgenome
sci-libs/libmuscle"
-DEPEND="${CDEPEND}
+DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
-RDEPEND="${CDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-build.patch
"${FILESDIR}"/${P}-gcc-4.7.patch
"${FILESDIR}"/${P}-broken-constness.patch
"${FILESDIR}"/${P}-format-security.patch
- )
+ "${FILESDIR}"/${P}-fix-c++14.patch
+)
src_prepare() {
default
eautoreconf
}
+
+src_configure() {
+ econf \
+ --enable-shared \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ # package provides .pc files
+ find "${D}" -name '*.la' -delete || die
+}