summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-29 03:19:31 +0100
committerSam James <sam@gentoo.org>2021-07-29 03:19:31 +0100
commit3497a6142fc1deacb5fff94d90a65443da43aa87 (patch)
treeb5746800844781989629ff68e20f25dbc8b1fde2 /dev-embedded
parentsci-libs/cdf: fully respect AR, CC (diff)
downloadgentoo-3497a6142fc1deacb5fff94d90a65443da43aa87.tar.gz
gentoo-3497a6142fc1deacb5fff94d90a65443da43aa87.tar.bz2
gentoo-3497a6142fc1deacb5fff94d90a65443da43aa87.zip
dev-embedded/avarice: workaround build failure with GCC 11
Closes: https://bugs.gentoo.org/788295 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/avarice/avarice-2.14.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-embedded/avarice/avarice-2.14.ebuild b/dev-embedded/avarice/avarice-2.14.ebuild
index 99ecdf5b2e24..3486df353266 100644
--- a/dev-embedded/avarice/avarice-2.14.ebuild
+++ b/dev-embedded/avarice/avarice-2.14.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="Interface for GDB to Atmel AVR JTAGICE in circuit emulator"
HOMEPAGE="http://avarice.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
@@ -13,6 +15,13 @@ KEYWORDS="~amd64 ~x86"
PATCHES=( "${FILESDIR}"/${P}-broken-__unused-macro.patch )
+src_configure() {
+ # bug #788295
+ append-cxxflags -std=c++14
+
+ default
+}
+
src_install() {
default
dodoc doc/*.txt