summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-27 00:01:44 -0400
committerSam James <sam@gentoo.org>2024-03-27 04:49:46 +0000
commit599e1dc43dd98ed10c46df2503493c712e74c2e6 (patch)
tree476f79e6d50a08f164fa5d1492d943246901565d /dev-perl/PDL
parentapp-arch/sharutils: add savannah upstream metadata (diff)
downloadgentoo-599e1dc43dd98ed10c46df2503493c712e74c2e6.tar.gz
gentoo-599e1dc43dd98ed10c46df2503493c712e74c2e6.tar.bz2
gentoo-599e1dc43dd98ed10c46df2503493c712e74c2e6.zip
dev-perl/PDL: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/856406 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/PDL')
-rw-r--r--dev-perl/PDL/PDL-2.63.0.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-perl/PDL/PDL-2.63.0.ebuild b/dev-perl/PDL/PDL-2.63.0.ebuild
index f1d29bd269e6..6dcdc03f0842 100644
--- a/dev-perl/PDL/PDL-2.63.0.ebuild
+++ b/dev-perl/PDL/PDL-2.63.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,7 +9,7 @@ DIST_EXAMPLES=( "Example/*" )
FORTRAN_NEEDED=fortran
-inherit perl-module fortran-2
+inherit flag-o-matic perl-module fortran-2
DESCRIPTION="Perl Data Language for scientific computing"
@@ -97,6 +97,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/856406
+ # https://github.com/PDLPorters/pdl/issues/468
+ filter-lto
+
sed -i \
-e '/USE_POGL/s/=>.*/=> 1,/' \
-e "/WITH_3D/s/=>.*/=> 1,/" \