commit:     58d7f1c241cc2bd10fee709cefc20b47d763d5ca
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  6 17:54:40 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec  6 17:55:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d7f1c2

sci-libs/scalapack: build w/ -std=gnu89

Seems like there's no activity upstream on the bug.

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

 sci-libs/scalapack/scalapack-2.2.0_p20240704.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sci-libs/scalapack/scalapack-2.2.0_p20240704.ebuild 
b/sci-libs/scalapack/scalapack-2.2.0_p20240704.ebuild
index ce98c63fc31a..c9f54e5d32df 100644
--- a/sci-libs/scalapack/scalapack-2.2.0_p20240704.ebuild
+++ b/sci-libs/scalapack/scalapack-2.2.0_p20240704.ebuild
@@ -47,6 +47,9 @@ src_configure() {
        append-flags -fno-strict-aliasing
        filter-lto
 
+       # https://github.com/Reference-ScaLAPACK/scalapack/issues/31
+       append-cflags -std=gnu89
+
        scalapack_configure() {
                local mycmakeargs=(
                        -DUSE_OPTIMIZED_LAPACK_BLAS=ON

Reply via email to