commit:     a10af478c0bf6cc51d83b7459371c5623186e23c
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Wed May 19 20:14:37 2021 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Wed May 19 20:18:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a10af478

media-libs/lasi: fix build with gcc-11

This package requires dynamic exceptions, so stay on gnu++14 to
avoid major code rewrite.

Closes: https://bugs.gentoo.org/788766
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 media-libs/lasi/lasi-1.1.3.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-libs/lasi/lasi-1.1.3.ebuild 
b/media-libs/lasi/lasi-1.1.3.ebuild
index c2f08f49bcb..df41f56e078 100644
--- a/media-libs/lasi/lasi-1.1.3.ebuild
+++ b/media-libs/lasi/lasi-1.1.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake
+inherit cmake flag-o-matic
 
 MY_PN=libLASi
 MY_P=${MY_PN}-${PV}
@@ -49,6 +49,8 @@ src_prepare() {
 }
 
 src_configure() {
+       # 788766
+       append-cxxflags -std=gnu++14
        # doesn't like CMAKE_BUILD_TYPE = Gentoo
        CMAKE_BUILD_TYPE=None
        local mycmakeargs=(

Reply via email to