diff --git a/dev-perl/Math-Pari/Math-Pari-2.10.809.0-r2.ebuild b/dev-perl/Math-Pari/Math-Pari-2.10.809.0-r2.ebuild index 76b133b8336e6..3544ef7fa3d3a 100644 --- a/dev-perl/Math-Pari/Math-Pari-2.10.809.0-r2.ebuild +++ b/dev-perl/Math-Pari/Math-Pari-2.10.809.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ DIST_AUTHOR=ILYAZ DIST_SECTION=modules DIST_VERSION=2.01080900 DIST_A_EXT=zip -inherit perl-module toolchain-funcs +inherit flag-o-matic perl-module toolchain-funcs PARI_VER=2.3.5 @@ -60,6 +60,11 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing in bundled sci-mathematics/pari code copy + # https://bugs.gentoo.org/856112 + append-flags -fno-strict-aliasing + filter-lto + # Unfortunately the assembly routines math-pari has for SPARC do not appear # to be working at current. Perl cannot test math-pari or anything that # pulls in the math-pari module as DynaLoader cannot load the resulting diff --git a/dev-perl/Math-Pari/Math-Pari-2.30.523.ebuild b/dev-perl/Math-Pari/Math-Pari-2.30.523.ebuild index 954ab55813ce6..0068966fe669b 100644 --- a/dev-perl/Math-Pari/Math-Pari-2.30.523.ebuild +++ b/dev-perl/Math-Pari/Math-Pari-2.30.523.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 DIST_AUTHOR=ILYAZ DIST_SECTION=modules DIST_VERSION=2.030523 -inherit perl-module toolchain-funcs +inherit flag-o-matic perl-module toolchain-funcs PARI_VER=2.3.5 @@ -53,6 +53,11 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing in bundled sci-mathematics/pari code copy + # https://bugs.gentoo.org/856112 + append-flags -fno-strict-aliasing + filter-lto + # Unfortunately the assembly routines math-pari has for SPARC do not appear # to be working at current. Perl cannot test math-pari or anything that # pulls in the math-pari module as DynaLoader cannot load the resulting diff --git a/dev-perl/Math-Pari/Math-Pari-2.30.528.ebuild b/dev-perl/Math-Pari/Math-Pari-2.30.528.ebuild index bbb0c1a69084d..fc98a40d820a7 100644 --- a/dev-perl/Math-Pari/Math-Pari-2.30.528.ebuild +++ b/dev-perl/Math-Pari/Math-Pari-2.30.528.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -58,6 +58,11 @@ src_configure() { # bug #1234 append-cflags -std=gnu17 + # -Werror=strict-aliasing in bundled sci-mathematics/pari code copy + # https://bugs.gentoo.org/856112 + append-flags -fno-strict-aliasing + filter-lto + # Unfortunately the assembly routines math-pari has for SPARC do not appear # to be working at current. Perl cannot test math-pari or anything that # pulls in the math-pari module as DynaLoader cannot load the resulting