Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/veracrypt/
Date: Sun, 01 Aug 2021 20:41:37
Message-Id: 1627850467.239adf34dfb7ac62bd6d118e4909b05386c3a770.soap@gentoo
1 commit: 239adf34dfb7ac62bd6d118e4909b05386c3a770
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 1 20:41:07 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 1 20:41:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239adf34
7
8 app-crypt/veracrypt: Fix build with GCC 11
9
10 Closes: https://bugs.gentoo.org/786741
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 app-crypt/veracrypt/veracrypt-1.24_p8.ebuild | 6 +++++-
14 1 file changed, 5 insertions(+), 1 deletion(-)
15
16 diff --git a/app-crypt/veracrypt/veracrypt-1.24_p8.ebuild b/app-crypt/veracrypt/veracrypt-1.24_p8.ebuild
17 index e4a53800c6d..513ddf48256 100644
18 --- a/app-crypt/veracrypt/veracrypt-1.24_p8.ebuild
19 +++ b/app-crypt/veracrypt/veracrypt-1.24_p8.ebuild
20 @@ -4,7 +4,7 @@
21 EAPI=7
22
23 WX_GTK_VER="3.0-gtk3"
24 -inherit desktop linux-info pax-utils toolchain-funcs wxwidgets
25 +inherit desktop flag-o-matic linux-info pax-utils toolchain-funcs wxwidgets
26
27 MY_PV="$(ver_cut 1-2)-Update$(ver_cut 4)_MacOSX"
28
29 @@ -38,6 +38,10 @@ CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS"
30
31 src_configure() {
32 setup-wxwidgets
33 +
34 + # https://bugs.gentoo.org/786741
35 + # std::byte clashes with src/Common/Tcdefs.h typedef
36 + append-cxxflags -std=c++14
37 }
38
39 src_compile() {