diff options
author | Sam James <sam@gentoo.org> | 2021-06-15 02:35:24 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-15 02:35:24 +0000 |
commit | 9bb2017d31f4467386be5262aa036ecf5dabf97a (patch) | |
tree | 4d6d300810bce3535c97077df089d88e837b1dff /sci-biology | |
parent | games-emulation/libretro-snes9x: fix build with GCC 11 (diff) | |
download | gentoo-9bb2017d31f4467386be5262aa036ecf5dabf97a.tar.gz gentoo-9bb2017d31f4467386be5262aa036ecf5dabf97a.tar.bz2 gentoo-9bb2017d31f4467386be5262aa036ecf5dabf97a.zip |
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@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/uchime/uchime-4.2.40.ebuild | 11 |
1 files 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 75827ab3a304..9b346f4fbc8d 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 +} |