From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0E2BC13835B for ; Sat, 27 Feb 2021 05:16:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E582DE0894; Sat, 27 Feb 2021 05:16:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBAB7E0829 for ; Sat, 27 Feb 2021 05:16:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5F8F834110B for ; Sat, 27 Feb 2021 05:16:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A31BE533 for ; Sat, 27 Feb 2021 05:16:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1614402951.ef3b07820955e5152f355d9fd294028aa73e203d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/sundials/sundials-5.2.0.ebuild X-VCS-Directories: sci-libs/sundials/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ef3b07820955e5152f355d9fd294028aa73e203d X-VCS-Branch: master Date: Sat, 27 Feb 2021 05:16:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f480f9ff-9327-4020-8040-7517869f12c2 X-Archives-Hash: 6b56d11cf8e747ddcfca73d06a8ebada commit: ef3b07820955e5152f355d9fd294028aa73e203d Author: Sam James gentoo org> AuthorDate: Sat Feb 27 05:14:40 2021 +0000 Commit: Sam James gentoo 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 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