commit: 01eac820c117144403e9ae058ead79060d2d7b3f Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> AuthorDate: Wed Jun 14 08:04:15 2017 +0000 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> CommitDate: Wed Jun 14 08:04:47 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01eac820
dev-perl/AnyEvent: Fix for '.' in @INC re bug #614640 Force 'do' to use a relative path for compile time resolution instead of searching @INC and failing on Perl 5.26 Bug: https://bugs.gentoo.org/614640 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-perl/AnyEvent/AnyEvent-7.120.0.ebuild | 1 + dev-perl/AnyEvent/AnyEvent-7.130.0.ebuild | 3 ++- dev-perl/AnyEvent/files/no-dot-inc.patch | 28 ++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/dev-perl/AnyEvent/AnyEvent-7.120.0.ebuild b/dev-perl/AnyEvent/AnyEvent-7.120.0.ebuild index 2fcf1ab63f8..c62813ecd1f 100644 --- a/dev-perl/AnyEvent/AnyEvent-7.120.0.ebuild +++ b/dev-perl/AnyEvent/AnyEvent-7.120.0.ebuild @@ -18,3 +18,4 @@ DEPEND="${RDEPEND} >=virtual/perl-ExtUtils-MakeMaker-6.520.0 dev-perl/Canary-Stability " +PATCHES=("${FILESDIR}/no-dot-inc.patch") diff --git a/dev-perl/AnyEvent/AnyEvent-7.130.0.ebuild b/dev-perl/AnyEvent/AnyEvent-7.130.0.ebuild index f0d5fd6fbd5..3d12dacaf2b 100644 --- a/dev-perl/AnyEvent/AnyEvent-7.130.0.ebuild +++ b/dev-perl/AnyEvent/AnyEvent-7.130.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -18,3 +18,4 @@ DEPEND="${RDEPEND} >=virtual/perl-ExtUtils-MakeMaker-6.520.0 dev-perl/Canary-Stability " +PATCHES=("${FILESDIR}/no-dot-inc.patch") diff --git a/dev-perl/AnyEvent/files/no-dot-inc.patch b/dev-perl/AnyEvent/files/no-dot-inc.patch new file mode 100644 index 00000000000..ce0efa5b8ce --- /dev/null +++ b/dev-perl/AnyEvent/files/no-dot-inc.patch @@ -0,0 +1,28 @@ +From 6fec7931344cc37c9532e8c455ee7f7bf62b9419 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <[email protected]> +Date: Wed, 14 Jun 2017 19:56:48 +1200 +Subject: [PATCH] Fix "do" for '.' in @INC removal + +Trivial fix for: + +- http://lists.schmorp.de/pipermail/anyevent/2017q1/000859.html +--- + Makefile.PL | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.PL b/Makefile.PL +index ef2ab4a..70b30b0 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -22,7 +22,7 @@ print <<EOF; + + EOF + +-do "constants.pl.PL" ++do "./constants.pl.PL" + or die "cannot execute constants.pl.PL: $@"; + + WriteMakefile( +-- +2.13.1 +
