diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-06-11 16:16:06 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-06-11 16:16:39 +1200 |
commit | f8c68dbb377da76148557b9f2c88190e10cf3cf2 (patch) | |
tree | 971b570109b918ecbcfd7714493ae413f94af033 /dev-perl/Unicode-EastAsianWidth | |
parent | x11-misc/icon-naming-utils: remove 0.8.90-r0 (diff) | |
download | gentoo-f8c68dbb377da76148557b9f2c88190e10cf3cf2.tar.gz gentoo-f8c68dbb377da76148557b9f2c88190e10cf3cf2.tar.bz2 gentoo-f8c68dbb377da76148557b9f2c88190e10cf3cf2.zip |
dev-perl/Unicode-EastAsianWidth: Fix for '.' in @INC re bug #613802
Stops assuming '.' is in @INC and uses a feature provided by
Module::Package instead.
Bug: https://bugs.gentoo.org/613802
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Unicode-EastAsianWidth')
-rw-r--r-- | dev-perl/Unicode-EastAsianWidth/Unicode-EastAsianWidth-1.330.0-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-perl/Unicode-EastAsianWidth/files/no-dot-inc.patch | 25 |
2 files changed, 26 insertions, 1 deletions
diff --git a/dev-perl/Unicode-EastAsianWidth/Unicode-EastAsianWidth-1.330.0-r1.ebuild b/dev-perl/Unicode-EastAsianWidth/Unicode-EastAsianWidth-1.330.0-r1.ebuild index 481040c44909..002917f89b86 100644 --- a/dev-perl/Unicode-EastAsianWidth/Unicode-EastAsianWidth-1.330.0-r1.ebuild +++ b/dev-perl/Unicode-EastAsianWidth/Unicode-EastAsianWidth-1.330.0-r1.ebuild @@ -17,5 +17,5 @@ IUSE="" RDEPEND="virtual/perl-File-Spec" DEPEND="${RDEPEND} virtual/perl-ExtUtils-MakeMaker" - +PATCHES=("${FILESDIR}/no-dot-inc.patch") SRC_TEST="do" diff --git a/dev-perl/Unicode-EastAsianWidth/files/no-dot-inc.patch b/dev-perl/Unicode-EastAsianWidth/files/no-dot-inc.patch new file mode 100644 index 000000000000..16d42e582a42 --- /dev/null +++ b/dev-perl/Unicode-EastAsianWidth/files/no-dot-inc.patch @@ -0,0 +1,25 @@ +From 9cb5f1551566addf37a47e935164519842bab0d8 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentfredric@gmail.com> +Date: Sun, 11 Jun 2017 16:10:47 +1200 +Subject: [PATCH] Fix for Perl 5.26 w/o '.' in @INC + +--- + Makefile.PL | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/Makefile.PL b/Makefile.PL +index 6745b7c..2db030d 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -1,6 +1,7 @@ + #!/usr/bin/perl + use strict; +-use inc::Module::Package 'Au:dry 1'; ++use lib './inc'; ++use Module::Package 'Au:dry 1'; + + my $DefaultVersion = 'v5.0.0'; + my $DefaultDate = '2006-02-15'; +-- +2.13.1 + |