diff options
author | Andrey Grozin <grozin@gentoo.org> | 2017-11-01 00:01:12 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2017-11-01 00:01:12 +0700 |
commit | df38bbfac7d3b278f23fabc4d34ed48534881852 (patch) | |
tree | 31d6e61d678f8a039f1c15aa30f2b76c8af5ee77 /media-gfx | |
parent | app-cdr/bchunk: move security patches to -r4 (diff) | |
download | gentoo-df38bbfac7d3b278f23fabc4d34ed48534881852.tar.gz gentoo-df38bbfac7d3b278f23fabc4d34ed48534881852.tar.bz2 gentoo-df38bbfac7d3b278f23fabc4d34ed48534881852.zip |
media-gfx/asymptote: patch a perl source to work with perl-5.26
Closes: https://bugs.gentoo.org/635984
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/asymptote/asymptote-2.41-r1.ebuild | 3 | ||||
-rw-r--r-- | media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/media-gfx/asymptote/asymptote-2.41-r1.ebuild b/media-gfx/asymptote/asymptote-2.41-r1.ebuild index 4dc9ef30750e..87c3bab47784 100644 --- a/media-gfx/asymptote/asymptote-2.41-r1.ebuild +++ b/media-gfx/asymptote/asymptote-2.41-r1.ebuild @@ -63,6 +63,9 @@ PATCHES=( # Bug #322473 "${FILESDIR}/${P}-info.patch" + + # Bug #635984 - perl-5.26 no longer has . in @INC + "${FILESDIR}/${P}-perl-5.26.patch" ) pkg_setup() { diff --git a/media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch b/media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch new file mode 100644 index 000000000000..54499b74e6cb --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch @@ -0,0 +1,10 @@ +diff -r -U2 asymptote-2.41.orig/doc/FAQ/bfnnconv.pl asymptote-2.41/doc/FAQ/bfnnconv.pl +--- asymptote-2.41.orig/doc/FAQ/bfnnconv.pl 2017-03-22 14:56:46.000000000 +0700 ++++ asymptote-2.41/doc/FAQ/bfnnconv.pl 2017-10-31 23:44:05.511045390 +0700 +@@ -62,5 +62,5 @@ + open(U,">$prefix.xrefdb-new"); + +-for $x (@outputs) { require("m-$x.pl"); } ++for $x (@outputs) { require("./m-$x.pl"); } + + &call('init'); |