dev-libs/mtxclient: Fix GCC 10 compile error.

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2020-05-26 05:15:23 +02:00
parent 1af4bc301a
commit 87ed97b2d4
2 changed files with 24 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}/0.3.0_remove_network_tests.patch"
"${FILESDIR}/0.3.0_remove_failing_tests.patch"
"${FILESDIR}/0.3.0_add_missing_header.patch"
)
src_configure() {
@@ -40,7 +41,7 @@ src_configure() {
)
if use test; then
# Upstream uses a toolchain file to set these.
# Upstream uses a toolchain file to set these, fixed in >0.3.0.
mycmakeargs+=(
-DCMAKE_CXX_STANDARD=17
-DCMAKE_CXX_STANDARD_REQUIRED=ON