public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgcode/
@ 2021-02-19 13:02 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-02-19 13:02 UTC (permalink / raw
  To: gentoo-commits

commit:     e50e0cefd2bc8d32c19bd863a2a31affb44f0290
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 12:55:34 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 12:55:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e50e0cef

sci-libs/cgcode: workaround gcc 10 (fortran) failure

Closes: https://bugs.gentoo.org/722000
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/cgcode/cgcode-1.0-r2.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-libs/cgcode/cgcode-1.0-r2.ebuild b/sci-libs/cgcode/cgcode-1.0-r2.ebuild
index 90160c444ea..931a56954eb 100644
--- a/sci-libs/cgcode/cgcode-1.0-r2.ebuild
+++ b/sci-libs/cgcode/cgcode-1.0-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
-inherit eutils fortran-2 toolchain-funcs
+inherit eutils fortran-2 flag-o-matic toolchain-funcs
 
 DESCRIPTION="Conjugate gradient Codes for large sparse linear systems"
 HOMEPAGE="http://fetk.org/codes/cgcode/index.html"
@@ -23,6 +23,10 @@ S="${WORKDIR}"/${PN}
 src_prepare() {
 	epatch "${FILESDIR}"/${PV}-gentoo.patch
 
+	# GCC 10 workaround
+	# bug #722000
+	append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
 	cat >> make.inc <<- EOF
 	F77 = $(tc-getFC)
 	FFLAGS = ${FFLAGS}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgcode/
@ 2024-03-12  6:12 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2024-03-12  6:12 UTC (permalink / raw
  To: gentoo-commits

commit:     514434e35d7edf285306970e545a270ca9ad389c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 12 06:11:40 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 12 06:11:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514434e3

sci-libs/cgcode: filter LTO, no-SA

Only ever had one release. LTO type mismatches and we already apply a nasty
Fortran workaround for GCC 10.

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

 sci-libs/cgcode/cgcode-1.0-r2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cgcode/cgcode-1.0-r2.ebuild b/sci-libs/cgcode/cgcode-1.0-r2.ebuild
index 6945d82b5a92..4caf7d901289 100644
--- a/sci-libs/cgcode/cgcode-1.0-r2.ebuild
+++ b/sci-libs/cgcode/cgcode-1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -25,6 +25,10 @@ PATCHES=(
 src_prepare() {
 	default
 
+	# bug #862681
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	# GCC 10 workaround
 	# bug #722000
 	append-fflags $(test-flags-FC -fallow-argument-mismatch)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-12  6:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-19 13:02 [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgcode/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-03-12  6:12 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox