Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
Date: Tue, 23 Aug 2022 12:12:46
Message-Id: 1661256577.c2ff013eccf3957a6a0980005fb0a3eb6745dfce.andrewammerlaan@gentoo
1 commit: c2ff013eccf3957a6a0980005fb0a3eb6745dfce
2 Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
3 AuthorDate: Wed Aug 10 15:37:37 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 23 12:09:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ff013e
7
8 sci-libs/med: filter lto flags
9
10 Closes: https://bugs.gentoo.org/862900
11 Bug: https://discourse.salome-platform.org/t/build-issue-with-medfile-and-lto-werror-lto-type-mismatch/323/2
12 Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
13 Closes: https://github.com/gentoo/gentoo/pull/26813
14 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
15
16 sci-libs/med/med-4.1.1.ebuild | 5 ++++-
17 1 file changed, 4 insertions(+), 1 deletion(-)
18
19 diff --git a/sci-libs/med/med-4.1.1.ebuild b/sci-libs/med/med-4.1.1.ebuild
20 index 636cb55f6c71..ff91fb7b8fd2 100644
21 --- a/sci-libs/med/med-4.1.1.ebuild
22 +++ b/sci-libs/med/med-4.1.1.ebuild
23 @@ -7,7 +7,7 @@ FORTRAN_NEEDED=fortran
24
25 PYTHON_COMPAT=( python3_{8..11} )
26
27 -inherit cmake fortran-2 python-single-r1
28 +inherit cmake flag-o-matic fortran-2 python-single-r1
29
30 DESCRIPTION="A library to store and exchange meshed data or computation results"
31 HOMEPAGE="https://www.salome-platform.org/user-section/about/med"
32 @@ -62,6 +62,9 @@ src_prepare() {
33 sed -e 's|doc/med-${MED_STR_VERSION}|doc/med-${MED_STR_VERSION}/html|' \
34 -i CMakeLists.txt || die "fix doc path failed"
35
36 + # bug #862900, already reported upstream. CHECK on updates!
37 + filter-lto
38 +
39 cmake_src_prepare
40 }