commit: c8040a882efbda6b9bda2e4b2bbce6cc2b98bce8 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Fri Dec 15 21:03:26 2023 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Fri Dec 15 23:17:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8040a88
dev-libs/ppl: build with -std=c++14 PPL isn't ready for c++17-by-default yet. Closes: https://bugs.gentoo.org/919850 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> dev-libs/ppl/ppl-1.2-r5.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-libs/ppl/ppl-1.2-r5.ebuild b/dev-libs/ppl/ppl-1.2-r5.ebuild index 2f04e7fb2e50..9041aaa76853 100644 --- a/dev-libs/ppl/ppl-1.2-r5.ebuild +++ b/dev-libs/ppl/ppl-1.2-r5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="The Parma Polyhedra Library for numerical analysis of complex systems" HOMEPAGE="http://bugseng.com/products/ppl" @@ -41,6 +41,10 @@ src_prepare() { } src_configure() { + # mem_fun_ref and friends were removed in c++17, and some toolchains + # are beginning to default to that (bug 919850). + append-cxxflags -std=c++14 + local interfaces=( c ) use cxx && interfaces+=( cxx ) econf \