commit:     9bada83e359843ce1cbd6dedb4ec78ba056b3223
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 27 18:28:08 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 27 20:34:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bada83e

sci-chemistry/gnome-chemistry-utils: workaround build failure with GCC 11

Closes: https://bugs.gentoo.org/790023
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../gnome-chemistry-utils/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 39ccfb1ca63..c7f9cff1105 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 \

Reply via email to