summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-09-02 20:39:46 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-09-02 20:41:09 -0400
commitb6df48270423341e99a4ee10d01b11e7e777068e (patch)
tree756f75a33729a37df0457d1e22de6b3403a05499 /sci-visualization
parentsci-visualization/grace: update to latest debian patches; fix modern C (diff)
downloadgentoo-b6df48270423341e99a4ee10d01b11e7e777068e.tar.gz
gentoo-b6df48270423341e99a4ee10d01b11e7e777068e.tar.bz2
gentoo-b6df48270423341e99a4ee10d01b11e7e777068e.zip
sci-visualization/grace: mark as LTO-unsafe, strict-aliasing unsafe
Upstream is deader than dead, unfortunately. Closes: https://bugs.gentoo.org/863293 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/grace/grace-5.1.25_p17.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sci-visualization/grace/grace-5.1.25_p17.ebuild b/sci-visualization/grace/grace-5.1.25_p17.ebuild
index 3db7ac26d8a1..2e8a4182babb 100644
--- a/sci-visualization/grace/grace-5.1.25_p17.ebuild
+++ b/sci-visualization/grace/grace-5.1.25_p17.ebuild
@@ -4,7 +4,7 @@
EAPI=8
FORTRAN_NEEDED=fortran
-inherit desktop fortran-2 toolchain-funcs xdg
+inherit desktop flag-o-matic fortran-2 toolchain-funcs xdg
DESCRIPTION="Motif based XY-plotting tool"
HOMEPAGE="https://plasma-gate.weizmann.ac.il/Grace/"
@@ -79,6 +79,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing, -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/863293
+ append-flags -fno-strict-aliasing
+ filter-lto
+
tc-export CC AR
# the configure script just produces a basic Make.conf