From 9bada83e359843ce1cbd6dedb4ec78ba056b3223 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 27 Jul 2021 19:28:08 +0100 Subject: [PATCH] sci-chemistry/gnome-chemistry-utils: workaround build failure with GCC 11 Closes: https://bugs.gentoo.org/790023 Signed-off-by: Sam James --- .../gnome-chemistry-utils-0.14.17_p6.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p6.ebuild b/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p6.ebuild index 39ccfb1ca63b..c7f9cff11050 100644 --- a/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p6.ebuild +++ b/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p6.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools xdg +inherit autotools flag-o-matic xdg DESCRIPTION="Programs and library containing GTK widgets and C++ classes related to chemistry" HOMEPAGE="http://gchemutils.nongnu.org/" @@ -54,6 +54,9 @@ src_prepare() { } src_configure() { + # bug #790023 + append-cxxflags -std=c++14 + # lasem is not in the tree econf \ --without-lasem \