diff options
author | David Seifert <soap@gentoo.org> | 2016-09-20 20:52:11 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-09-20 23:05:59 +0200 |
commit | 25e5a98a39581c4c7c2b5c9f29b429baee0462b5 (patch) | |
tree | 752452e385ea423c560a7ad703f6fd39235ba674 /sci-biology/prank/files/prank-140603-fix-c++14.patch | |
parent | app-i18n/enca: install missing pkgconfig file in 1.19 (diff) | |
download | gentoo-25e5a98a39581c4c7c2b5c9f29b429baee0462b5.tar.gz gentoo-25e5a98a39581c4c7c2b5c9f29b429baee0462b5.tar.bz2 gentoo-25e5a98a39581c4c7c2b5c9f29b429baee0462b5.zip |
sci-biology/prank: Allow for compiling with GCC 6
Gentoo-bug: 594060
* EAPI=6
Package-Manager: portage-2.3.1
Diffstat (limited to 'sci-biology/prank/files/prank-140603-fix-c++14.patch')
-rw-r--r-- | sci-biology/prank/files/prank-140603-fix-c++14.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-biology/prank/files/prank-140603-fix-c++14.patch b/sci-biology/prank/files/prank-140603-fix-c++14.patch new file mode 100644 index 000000000000..5779207e294f --- /dev/null +++ b/sci-biology/prank/files/prank-140603-fix-c++14.patch @@ -0,0 +1,14 @@ +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); + } + |