1 |
commit: df38bbfac7d3b278f23fabc4d34ed48534881852 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 31 17:01:12 2017 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 31 17:01:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df38bbfa |
7 |
|
8 |
media-gfx/asymptote: patch a perl source to work with perl-5.26 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/635984 |
11 |
Package-Manager: Portage-2.3.11, Repoman-2.3.3 |
12 |
|
13 |
media-gfx/asymptote/asymptote-2.41-r1.ebuild | 3 +++ |
14 |
media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch | 10 ++++++++++ |
15 |
2 files changed, 13 insertions(+) |
16 |
|
17 |
diff --git a/media-gfx/asymptote/asymptote-2.41-r1.ebuild b/media-gfx/asymptote/asymptote-2.41-r1.ebuild |
18 |
index 4dc9ef30750..87c3bab4778 100644 |
19 |
--- a/media-gfx/asymptote/asymptote-2.41-r1.ebuild |
20 |
+++ b/media-gfx/asymptote/asymptote-2.41-r1.ebuild |
21 |
@@ -63,6 +63,9 @@ PATCHES=( |
22 |
|
23 |
# Bug #322473 |
24 |
"${FILESDIR}/${P}-info.patch" |
25 |
+ |
26 |
+ # Bug #635984 - perl-5.26 no longer has . in @INC |
27 |
+ "${FILESDIR}/${P}-perl-5.26.patch" |
28 |
) |
29 |
|
30 |
pkg_setup() { |
31 |
|
32 |
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 |
33 |
new file mode 100644 |
34 |
index 00000000000..54499b74e6c |
35 |
--- /dev/null |
36 |
+++ b/media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch |
37 |
@@ -0,0 +1,10 @@ |
38 |
+diff -r -U2 asymptote-2.41.orig/doc/FAQ/bfnnconv.pl asymptote-2.41/doc/FAQ/bfnnconv.pl |
39 |
+--- asymptote-2.41.orig/doc/FAQ/bfnnconv.pl 2017-03-22 14:56:46.000000000 +0700 |
40 |
++++ asymptote-2.41/doc/FAQ/bfnnconv.pl 2017-10-31 23:44:05.511045390 +0700 |
41 |
+@@ -62,5 +62,5 @@ |
42 |
+ open(U,">$prefix.xrefdb-new"); |
43 |
+ |
44 |
+-for $x (@outputs) { require("m-$x.pl"); } |
45 |
++for $x (@outputs) { require("./m-$x.pl"); } |
46 |
+ |
47 |
+ &call('init'); |