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-libs/sundials/
Date: Sat, 27 Feb 2021 05:16:25 +0000 (UTC)	[thread overview]
Message-ID: <1614402951.ef3b07820955e5152f355d9fd294028aa73e203d.sam@gentoo> (raw)

commit:     ef3b07820955e5152f355d9fd294028aa73e203d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 05:14:40 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 05:15:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef3b0782

sci-libs/sundials: fix gcc 10 build

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

 sci-libs/sundials/sundials-5.2.0.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild
index aa14eeb5320..3d60a524cc2 100644
--- a/sci-libs/sundials/sundials-5.2.0.ebuild
+++ b/sci-libs/sundials/sundials-5.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ FORTRAN_NEEDED=fortran
 FORTRAN_STANDARD="77 90"
 # if FFLAGS and FCFLAGS are set then should be equal
 
-inherit cmake fortran-2 toolchain-funcs
+inherit cmake fortran-2 toolchain-funcs flag-o-matic
 
 DESCRIPTION="Suite of nonlinear solvers"
 HOMEPAGE="https://computation.llnl.gov/projects/sundials"
@@ -38,6 +38,13 @@ pkg_setup() {
 	fi
 }
 
+src_prepare() {
+	# bug #707240
+	append-cflags -fcommon
+
+	cmake_src_prepare
+}
+
 src_configure() {
 	mycmakeargs+=(
 		-DBUILD_SHARED_LIBS=ON


             reply	other threads:[~2021-02-27  5:16 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-27  5:16 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-20 22:28 [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/ Matthias Maier
2024-07-04 16:53 Matthias Maier
2024-03-24  6:57 Sam James
2023-03-04 13:51 Arthur Zamarin
2023-01-02 18:22 Matthias Maier
2022-08-03 23:45 Sam James
2022-07-07  6:34 Agostino Sarubbo
2022-05-17 22:12 Sam James
2022-05-14 21:30 David Seifert
2021-12-13  6:57 Agostino Sarubbo
2021-12-01  6:37 Yixun Lan
2021-10-12 22:23 Marek Szuba
2021-10-12 22:23 Marek Szuba
2021-10-04 19:35 Jakov Smolić
2021-10-04 10:09 Jakov Smolić
2021-07-16  5:27 Sam James
2020-12-12 23:31 Sam James
2020-12-12 22:20 Sam James
2020-12-07 15:27 Sam James
2020-12-07 15:27 Sam James
2020-10-09 15:23 Agostino Sarubbo
2020-06-06  0:28 Andreas Sturmlechner
2020-01-14 14:56 Agostino Sarubbo
2019-07-30 15:12 Matthias Maier
2019-07-16 13:21 Matthias Maier
2019-07-15 21:35 Matthias Maier
2018-05-16 22:57 Aaron Bauman
2018-04-24 16:19 Matthias Maier
2018-04-24 15:58 Matthias Maier
2018-03-20  4:16 Matthias Maier

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=1614402951.ef3b07820955e5152f355d9fd294028aa73e203d.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