commit:     32bf1dfde8a72f36a664ce986076509778202f93
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 00:19:38 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 00:19:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32bf1dfd

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 <sam <AT> gentoo.org>

 sci-mathematics/form/form-4.3.0-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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 \

Reply via email to