diff options
authorKent Fredric <>2017-06-11 11:48:16 +1200
committerKent Fredric <>2017-06-12 02:29:18 +1200
commit820fcd22ef2a0a5d8eefb18e86ab21ba76d96e3f (patch)
treea4536b9963bce033c96059662f795236afe0a368 /sci-mathematics/pari/pari-2.5.1.ebuild
parentnet-libs/c-client: remove old unused versions. (diff)
sci-mathematics/pari: Fix for '.' in @INC on perl 5.26 re bug #615016
Perl 5.26 removes implied cwd from library loading paths, and subsequently Pari's compile fails due to reliance on this implication. These patches rectify that by constructing a library path the same as the scripts directory, and inserting that into `@INC` Of course, we still need the oldest pari because dev-perl/Math-Pari needs the old version. And of course, the files in question have minor changes over the handful of versions, necessitating 3 *mostly* identical but slightly different patches for the relevant versions. I haven't filed this issue upstream, as their bug reporting stuff looked dizzyingly confusing. Bug: Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sci-mathematics/pari/pari-2.5.1.ebuild')
1 files changed, 3 insertions, 1 deletions
diff --git a/sci-mathematics/pari/pari-2.5.1.ebuild b/sci-mathematics/pari/pari-2.5.1.ebuild
index edaad215734a..fb1efebef0c3 100644
--- a/sci-mathematics/pari/pari-2.5.1.ebuild
+++ b/sci-mathematics/pari/pari-2.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
@@ -40,6 +40,8 @@ src_prepare() {
epatch "${FILESDIR}/${PN}"-2.5.0-mp.c.patch
# OS X: add -install_name to the linker option
epatch "${FILESDIR}/${PN}"-2.5.0-macos.patch
+ # Fix Perl 5.26
+ epatch "${FILESDIR}/"${PN}-2.5.0-no-dot-inc.patch
# from debian, fies bug #423617
epatch "${FILESDIR}/${PN}"-2.5.1-gcc47.patch