commit:     72c1def52827d5becfb23b3312754d26468c8e0e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  5 01:26:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug  5 01:26:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c1def5

dev-util/duma: workaround GCC 11 build failure for now

Going with this given a new release is coming
which fixes the issue properly anyhow.

Closes: https://bugs.gentoo.org/789708
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/duma/duma-2.5.15-r2.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-util/duma/duma-2.5.15-r2.ebuild 
b/dev-util/duma/duma-2.5.15-r2.ebuild
index a3293c92f73..92aff79a7b7 100644
--- a/dev-util/duma/duma-2.5.15-r2.ebuild
+++ b/dev-util/duma/duma-2.5.15-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit toolchain-funcs versionator
+inherit flag-o-matic toolchain-funcs versionator
 
 MY_P=${PN}_$(replace_all_version_separators '_')
 
@@ -28,6 +28,9 @@ src_configure() {
        export CFLAGS="-O0 -Wall -Wextra -U_FORTIFY_SOURCE"
        tc-export AR CC CXX LD RANLIB
 
+       # bug #789708
+       append-cxxflags -std=c++14
+
        case "${CHOST}" in
                *-linux-gnu)
                        OS=linux;;

Reply via email to