Gentoo-bug: 594060
* EAPI=6
Package-Manager: portage-2.3.1
--- /dev/null
+Fix building with C++14, which errors out due to changing operator void* -> operator bool.
+See also: https://bugs.gentoo.org/show_bug.cgi?id=594060
+
+--- a/hmmodel.cpp
++++ b/hmmodel.cpp
+@@ -1499,7 +1499,7 @@
+ }
+ else
+ {
+- cout<<"HMModel::alignmentModel: impossible 'as'"<<cout;
++ cout<<"HMModel::alignmentModel: impossible 'as'"<<bool(cout);
+ exit(-1);
+ }
+
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=6
-inherit eutils multilib toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Probabilistic Alignment Kit"
HOMEPAGE="http://wasabiapp.org/software/prank/"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-msa/src"
+PATCHES=( "${FILESDIR}/${PN}-140603-fix-c++14.patch" )
src_prepare() {
sed \
-e "s/\$(LINK)/& \$(LDFLAGS)/" \
-e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \
-i Makefile || die
+ default
}
src_compile() {