commit: 599e1dc43dd98ed10c46df2503493c712e74c2e6 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Wed Mar 27 04:01:44 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Mar 27 04:49:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=599e1dc4
dev-perl/PDL: mark as LTO-unsafe Closes: https://bugs.gentoo.org/856406 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-perl/PDL/PDL-2.63.0.ebuild | 9 +++++++-- 1 file 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,/" \
