commit: 3497a6142fc1deacb5fff94d90a65443da43aa87 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Jul 29 02:19:31 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jul 29 02:19:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3497a614
dev-embedded/avarice: workaround build failure with GCC 11 Closes: https://bugs.gentoo.org/788295 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-embedded/avarice/avarice-2.14.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dev-embedded/avarice/avarice-2.14.ebuild b/dev-embedded/avarice/avarice-2.14.ebuild index 99ecdf5b2e2..3486df35326 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
