commit:     63c9db8f6a1e19a68ea402f8b49ce12c063282c5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 26 05:11:00 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 26 05:13:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63c9db8f

media-sound/darkice: workaround build failure with GCC 11

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

 media-sound/darkice/darkice-1.4.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/media-sound/darkice/darkice-1.4.ebuild 
b/media-sound/darkice/darkice-1.4.ebuild
index b471a55018d..d5296f02e46 100644
--- a/media-sound/darkice/darkice-1.4.ebuild
+++ b/media-sound/darkice/darkice-1.4.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit flag-o-matic
+
 DESCRIPTION="A live audio streamer"
 HOMEPAGE="http://www.darkice.org/";
 
SRC_URI="https://github.com/rafael2k/${PN}/releases/download/v${PV}/${P}.tar.gz";
@@ -34,6 +36,9 @@ PATCHES=(
 )
 
 src_configure() {
+       # bug #787161
+       append-cxxflags -std=c++14
+
        local myeconfargs=(
                $(use_enable debug)
                $(use_with aac faac)

Reply via email to