summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-27 19:28:08 +0100
committerSam James <sam@gentoo.org>2021-07-27 21:34:19 +0100
commit9bada83e359843ce1cbd6dedb4ec78ba056b3223 (patch)
treef2767e46ecd1c85befea72f0efa45de8e9ecb119 /sci-chemistry
parentsys-libs/glibc: Add crypt.h fixes also here (diff)
downloadgentoo-9bada83e359843ce1cbd6dedb4ec78ba056b3223.tar.gz
gentoo-9bada83e359843ce1cbd6dedb4ec78ba056b3223.tar.bz2
gentoo-9bada83e359843ce1cbd6dedb4ec78ba056b3223.zip
sci-chemistry/gnome-chemistry-utils: workaround build failure with GCC 11
Closes: https://bugs.gentoo.org/790023 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17_p6.ebuild5
1 files changed, 4 insertions, 1 deletions
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 \