Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/avarice/
Date: Thu, 29 Jul 2021 02:59:05
Message-Id: 1627525171.3497a6142fc1deacb5fff94d90a65443da43aa87.sam@gentoo
1 commit: 3497a6142fc1deacb5fff94d90a65443da43aa87
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 29 02:19:31 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 29 02:19:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3497a614
7
8 dev-embedded/avarice: workaround build failure with GCC 11
9
10 Closes: https://bugs.gentoo.org/788295
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-embedded/avarice/avarice-2.14.ebuild | 11 ++++++++++-
14 1 file changed, 10 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-embedded/avarice/avarice-2.14.ebuild b/dev-embedded/avarice/avarice-2.14.ebuild
17 index 99ecdf5b2e2..3486df35326 100644
18 --- a/dev-embedded/avarice/avarice-2.14.ebuild
19 +++ b/dev-embedded/avarice/avarice-2.14.ebuild
20 @@ -1,8 +1,10 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26
27 +inherit flag-o-matic
28 +
29 DESCRIPTION="Interface for GDB to Atmel AVR JTAGICE in circuit emulator"
30 HOMEPAGE="http://avarice.sourceforge.net/"
31 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
32 @@ -13,6 +15,13 @@ KEYWORDS="~amd64 ~x86"
33
34 PATCHES=( "${FILESDIR}"/${P}-broken-__unused-macro.patch )
35
36 +src_configure() {
37 + # bug #788295
38 + append-cxxflags -std=c++14
39 +
40 + default
41 +}
42 +
43 src_install() {
44 default
45 dodoc doc/*.txt