summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-08 21:44:13 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-07-08 21:44:30 +0200
commit2bc04d0dcb682283477b9a98ea2150f495b8e253 (patch)
treebe5512be7f3b29b4c70a229632fe75a0cf679348 /dev-util/makepp/files
parentdev-util/vint: remove old. (diff)
downloadgentoo-2bc04d0dcb682283477b9a98ea2150f495b8e253.tar.gz
gentoo-2bc04d0dcb682283477b9a98ea2150f495b8e253.tar.bz2
gentoo-2bc04d0dcb682283477b9a98ea2150f495b8e253.zip
dev-util/makepp: Add build fix for Perl 5.26, bug 623454
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-util/makepp/files')
-rw-r--r--dev-util/makepp/files/makepp-2.0.98.5-perl526.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-util/makepp/files/makepp-2.0.98.5-perl526.patch b/dev-util/makepp/files/makepp-2.0.98.5-perl526.patch
new file mode 100644
index 000000000000..b5ed875b4dcf
--- /dev/null
+++ b/dev-util/makepp/files/makepp-2.0.98.5-perl526.patch
@@ -0,0 +1,24 @@
+diff -ruN makepp-2.0.98.5.orig/config.pl makepp-2.0.98.5/config.pl
+--- makepp-2.0.98.5.orig/config.pl 2017-07-08 21:35:18.257017457 +0200
++++ makepp-2.0.98.5/config.pl 2017-07-08 21:39:06.087026936 +0200
+@@ -19,6 +19,8 @@
+ you on?), get the latest from www.perl.org and install it.
+ EOS
+
++use lib q[.];
++
+ BEGIN { eval { require Mpp::Utils } or warn <<EOS and exit 1 } # avoid BEGIN/die diagnostic
+ Please call this script in the directory where you unpacked it!
+ EOS
+diff -ruN makepp-2.0.98.5.orig/install.pl makepp-2.0.98.5/install.pl
+--- makepp-2.0.98.5.orig/install.pl 2013-07-05 23:02:38.000000000 +0200
++++ makepp-2.0.98.5/install.pl 2017-07-08 21:38:48.441026202 +0200
+@@ -13,6 +13,8 @@
+ #
+ BEGIN { eval { require 5.008 } or exec $^X, 'config.pl' } # Dies with nice message.
+
++use lib q[.];
++
+ BEGIN { eval { require Mpp::Text } or warn <<EOS and exit 1 } # avoid BEGIN/die diagnostic
+ Please call this script in the directory where you unpacked it!
+ EOS