summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/asymptote/asymptote-2.41-r1.ebuild3
-rw-r--r--media-gfx/asymptote/files/asymptote-2.41-perl-5.26.patch10
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');