commit: 9bb2017d31f4467386be5262aa036ecf5dabf97a Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jun 15 02:35:24 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Jun 15 02:35:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bb2017d
sci-biology/uchime: workaround failure with GCC 11 Force C++14 for now because we don't really want a large patch for typedefs. Closes: https://bugs.gentoo.org/786297 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-biology/uchime/uchime-4.2.40.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sci-biology/uchime/uchime-4.2.40.ebuild b/sci-biology/uchime/uchime-4.2.40.ebuild index 75827ab3a30..9b346f4fbc8 100644 --- a/sci-biology/uchime/uchime-4.2.40.ebuild +++ b/sci-biology/uchime/uchime-4.2.40.ebuild @@ -4,7 +4,7 @@ EAPI=7 MY_P="${PN}${PV}_src" -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="Fast, accurate chimera detection" HOMEPAGE="https://www.drive5.com/usearch/manual/uchime_algo.html" @@ -13,7 +13,6 @@ SRC_URI="https://www.drive5.com/${PN}/${MY_P}.tar.gz" LICENSE="public-domain" SLOT="0" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="debug" S="${WORKDIR}"/${MY_P} @@ -21,3 +20,11 @@ src_prepare() { cp "${FILESDIR}"/CMakeLists.txt . || die cmake_src_prepare } + +src_configure() { + # "myutils.h: error: reference to byte is ambiguous"" + # bug #786297 + append-cppflags -std=c++14 + + cmake_src_configure +}