From 32bf1dfde8a72f36a664ce986076509778202f93 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 30 Apr 2023 01:19:38 +0100 Subject: sci-mathematics/form: workaround GCC -fchecking ICE w/ -Wno-uninitialized Reported upstream at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109521 but let's apply a workaround for now to avoid dupes. It's "only" an error in diagnostics anyway. Closes: https://bugs.gentoo.org/904339 Signed-off-by: Sam James --- sci-mathematics/form/form-4.3.0-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sci-mathematics/form') diff --git a/sci-mathematics/form/form-4.3.0-r1.ebuild b/sci-mathematics/form/form-4.3.0-r1.ebuild index abdbf0481b5f..d3d5800ac1e2 100644 --- a/sci-mathematics/form/form-4.3.0-r1.ebuild +++ b/sci-mathematics/form/form-4.3.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools toolchain-funcs elisp-common +inherit autotools flag-o-matic toolchain-funcs elisp-common DESCRIPTION="Symbolic Manipulation System" HOMEPAGE="https://www.nikhef.nl/~form/ https://github.com/vermaseren/form/" @@ -34,6 +34,9 @@ src_prepare() { } src_configure() { + # Workaround for GCC -fchecking ICE, bug #904339 + append-cxxflags $(test-flags-CXX -Wno-uninitialized) + econf \ --enable-scalar \ --enable-largefile \ -- cgit v1.2.3-65-gdbad