diff options
author | 2017-06-11 11:48:16 +1200 | |
---|---|---|
committer | 2017-06-12 02:29:18 +1200 | |
commit | 820fcd22ef2a0a5d8eefb18e86ab21ba76d96e3f (patch) | |
tree | a4536b9963bce033c96059662f795236afe0a368 /sci-mathematics/pari/pari-2.5.1-r1.ebuild | |
parent | net-libs/c-client: remove old unused versions. (diff) | |
download | gentoo-820fcd22ef2a0a5d8eefb18e86ab21ba76d96e3f.tar.gz gentoo-820fcd22ef2a0a5d8eefb18e86ab21ba76d96e3f.tar.bz2 gentoo-820fcd22ef2a0a5d8eefb18e86ab21ba76d96e3f.zip |
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: https://bugs.gentoo.org/615016
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sci-mathematics/pari/pari-2.5.1-r1.ebuild')
-rw-r--r-- | sci-mathematics/pari/pari-2.5.1-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sci-mathematics/pari/pari-2.5.1-r1.ebuild b/sci-mathematics/pari/pari-2.5.1-r1.ebuild index af29f9f8b647..7202ed087dea 100644 --- a/sci-mathematics/pari/pari-2.5.1-r1.ebuild +++ b/sci-mathematics/pari/pari-2.5.1-r1.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 EAPI="4" @@ -41,6 +41,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 # fix automagic |