public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/wcslib/
Date: Fri, 19 Feb 2021 13:02:56 +0000 (UTC)	[thread overview]
Message-ID: <1613739261.8b38bdb3a81216a364682bbba9a002dd205e9cba.sam@gentoo> (raw)

commit:     8b38bdb3a81216a364682bbba9a002dd205e9cba
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 12:54:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 12:54:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b38bdb3

sci-astronomy/wcslib: workaround gcc 10 (fortran) failure

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

 sci-astronomy/wcslib/wcslib-7.3.1.ebuild | 7 ++++++-
 sci-astronomy/wcslib/wcslib-7.3.ebuild   | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/sci-astronomy/wcslib/wcslib-7.3.1.ebuild b/sci-astronomy/wcslib/wcslib-7.3.1.ebuild
index a7feb7d418e..c6f97ef5973 100644
--- a/sci-astronomy/wcslib/wcslib-7.3.1.ebuild
+++ b/sci-astronomy/wcslib/wcslib-7.3.1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 FORTRAN_NEEDED=fortran
 
-inherit fortran-2
+inherit fortran-2 flag-o-matic
 
 DESCRIPTION="Astronomical World Coordinate System transformations library"
 HOMEPAGE="https://www.atnf.csiro.au/people/mcalabre/WCS/"
@@ -24,12 +24,17 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
 src_configure() {
+	# GCC 10 workaround
+	# bug #764548
+	append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
 	local myconf=(
 		--docdir="${EPREFIX}"/usr/share/doc/${PF}
 		--htmldir="${EPREFIX}"/usr/share/doc/${PF}
 		$(use_enable fortran)
 		$(use_enable tools utils)
 	)
+
 	# hacks because cfitsio and pgplot directories are hard-coded
 	if use fits; then
 		myconf+=(

diff --git a/sci-astronomy/wcslib/wcslib-7.3.ebuild b/sci-astronomy/wcslib/wcslib-7.3.ebuild
index 9333d9e13c3..a01c6a87494 100644
--- a/sci-astronomy/wcslib/wcslib-7.3.ebuild
+++ b/sci-astronomy/wcslib/wcslib-7.3.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 FORTRAN_NEEDED=fortran
 
-inherit fortran-2
+inherit fortran-2 flag-o-matic
 
 DESCRIPTION="Astronomical World Coordinate System transformations library"
 HOMEPAGE="https://www.atnf.csiro.au/people/mcalabre/WCS/"
@@ -24,12 +24,17 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
 src_configure() {
+	# GCC 10 workaround
+	# bug #764548
+	append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
 	local myconf=(
 		--docdir="${EPREFIX}"/usr/share/doc/${PF}
 		--htmldir="${EPREFIX}"/usr/share/doc/${PF}
 		$(use_enable fortran)
 		$(use_enable tools utils)
 	)
+
 	# hacks because cfitsio and pgplot directories are hard-coded
 	if use fits; then
 		myconf+=(


             reply	other threads:[~2021-02-19 13:03 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-19 13:02 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-04 17:37 [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/wcslib/ Andreas Sturmlechner
2024-09-28 13:21 Arthur Zamarin
2024-09-27  9:03 Andrew Ammerlaan
2024-09-27  9:03 Andrew Ammerlaan
2024-09-27  9:03 Andrew Ammerlaan
2024-07-23  3:40 Eli Schwartz
2024-07-23  3:40 Eli Schwartz
2024-03-17  9:09 Sam James
2024-03-17  6:44 Sam James
2024-03-17  6:44 Sam James
2023-05-26 20:06 Arthur Zamarin
2023-05-26 14:38 Sam James
2022-10-07  9:36 Agostino Sarubbo
2022-10-07  9:34 Agostino Sarubbo
2022-09-14  8:44 Andrew Ammerlaan
2022-09-14  8:44 Andrew Ammerlaan
2022-05-13 20:25 Sam James
2022-05-13 20:25 Sam James
2022-05-13 20:25 Sam James
2022-04-05  3:33 Sam James
2021-06-16 17:50 Andrew Ammerlaan
2021-01-09  4:21 Sam James
2021-01-09  4:21 Sam James
2021-01-07 16:53 Sam James
2021-01-07 15:04 Sam James
2020-11-09  6:52 Benda XU
2020-06-27 20:45 Andreas K. Hüttel
2019-12-11 16:52 Andreas Sturmlechner
2019-12-10  9:17 Agostino Sarubbo
2019-12-09 14:38 Agostino Sarubbo
2017-01-30 19:47 Sebastien Fabbro
2016-06-23 13:40 Michael Palimaka
2016-04-11 23:44 Sebastien Fabbro
2016-02-18 18:11 Sebastien Fabbro
2016-02-18 18:09 Sebastien Fabbro
2015-08-15 14:41 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1613739261.8b38bdb3a81216a364682bbba9a002dd205e9cba.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox