summaryrefslogtreecommitdiff
path: root/dev-perl/Number-WithError/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-08 10:50:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-08 10:50:14 +0100
commit3f71901f8c228f4de570abed1831ce3ee425343e (patch)
treea2dcd300d05ef8a2ec275b44a92a9d85bd3baa24 /dev-perl/Number-WithError/files
parent12bb627384ddfd47382b9f1b6464481a58d01ebb (diff)
gentoo resync 08.09.2018
Diffstat (limited to 'dev-perl/Number-WithError/files')
-rw-r--r--dev-perl/Number-WithError/files/Number-WithError-1.01-no-dot-inc.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-perl/Number-WithError/files/Number-WithError-1.01-no-dot-inc.patch b/dev-perl/Number-WithError/files/Number-WithError-1.01-no-dot-inc.patch
new file mode 100644
index 000000000000..62c40029cdcf
--- /dev/null
+++ b/dev-perl/Number-WithError/files/Number-WithError-1.01-no-dot-inc.patch
@@ -0,0 +1,24 @@
+From 8c15ff58866e38cb8ce4f7b7ad3ecac941f5863d Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Fri, 7 Sep 2018 20:23:23 +1200
+Subject: Fix Makefile.PL to work on perl 5.26+/no-dot-inc perls
+
+Perl 5.26+ have @INC without '.' unless PERL_USE_UNSAFE_INC=1
+
+Perl 5.30+ will have no hack to avoid this problem \o/
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 76b23e1..a3c10b1 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install;
+
+ name 'Number-WithError';
+--
+2.17.1
+