mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user