commit: bd34ea70b7ff88d9f2fba17022bf453869b1ad52 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> AuthorDate: Tue Oct 24 04:49:20 2017 +0000 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> CommitDate: Tue Oct 24 04:49:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd34ea70
dev-perl/HTML-Mason: Fix tests failing without '.' in @INC bug #616966 Closes: https://bugs.gentoo.org/616966 Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild | 3 ++- .../files/HTML-Mason-1.560.0-no-dot-inc.patch | 28 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild b/dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild index c6057a104d3..522c6657af3 100644 --- a/dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild +++ b/dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -36,6 +36,7 @@ DEPEND="${RDEPEND} dev-perl/Test-Deep ) " +PATCHES=( "${FILESDIR}/${P}-no-dot-inc.patch" ) want_apache2 modperl diff --git a/dev-perl/HTML-Mason/files/HTML-Mason-1.560.0-no-dot-inc.patch b/dev-perl/HTML-Mason/files/HTML-Mason-1.560.0-no-dot-inc.patch new file mode 100644 index 00000000000..6dda6205c86 --- /dev/null +++ b/dev-perl/HTML-Mason/files/HTML-Mason-1.560.0-no-dot-inc.patch @@ -0,0 +1,28 @@ +From 07ed4ceef9d501d2ee455e589ae9075a9898ebdd Mon Sep 17 00:00:00 2001 +From: Kent Fredric <[email protected]> +Date: Tue, 24 Oct 2017 17:40:13 +1300 +Subject: Fix t/13-errors.t failing w/o '.' in @INC + +Bug: https://bugs.gentoo.org/616966 +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=121443 +Bug: https://github.com/houseabsolute/HTML-Mason/pull/6 +--- + t/13-errors.t | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/t/13-errors.t b/t/13-errors.t +index 716f2f02..78cfc6b0 100644 +--- a/t/13-errors.t ++++ b/t/13-errors.t +@@ -417,7 +417,7 @@ EOF + description => 'Require a module with an error in a once block', + component => <<'EOF', + <%once> +-require "t/lib/BadModule.pm"; ++require "./t/lib/BadModule.pm"; + </%once> + hi! + EOF +-- +2.14.2 +
