commit:     239adf34dfb7ac62bd6d118e4909b05386c3a770
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  1 20:41:07 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Aug  1 20:41:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239adf34

app-crypt/veracrypt: Fix build with GCC 11

Closes: https://bugs.gentoo.org/786741
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 app-crypt/veracrypt/veracrypt-1.24_p8.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-crypt/veracrypt/veracrypt-1.24_p8.ebuild 
b/app-crypt/veracrypt/veracrypt-1.24_p8.ebuild
index e4a53800c6d..513ddf48256 100644
--- a/app-crypt/veracrypt/veracrypt-1.24_p8.ebuild
+++ b/app-crypt/veracrypt/veracrypt-1.24_p8.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 WX_GTK_VER="3.0-gtk3"
-inherit desktop linux-info pax-utils toolchain-funcs wxwidgets
+inherit desktop flag-o-matic linux-info pax-utils toolchain-funcs wxwidgets
 
 MY_PV="$(ver_cut 1-2)-Update$(ver_cut 4)_MacOSX"
 
@@ -38,6 +38,10 @@ CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT 
~FUSE_FS"
 
 src_configure() {
        setup-wxwidgets
+
+       # https://bugs.gentoo.org/786741
+       # std::byte clashes with src/Common/Tcdefs.h typedef
+       append-cxxflags -std=c++14
 }
 
 src_compile() {

Reply via email to