diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-10-24 17:49:20 +1300 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-10-24 17:49:39 +1300 |
commit | bd34ea70b7ff88d9f2fba17022bf453869b1ad52 (patch) | |
tree | cc784383593da48d1191c96735e0b509208429b2 /dev-perl/HTML-Mason | |
parent | net-libs/nodejs: Version bump. (diff) | |
download | gentoo-bd34ea70b7ff88d9f2fba17022bf453869b1ad52.tar.gz gentoo-bd34ea70b7ff88d9f2fba17022bf453869b1ad52.tar.bz2 gentoo-bd34ea70b7ff88d9f2fba17022bf453869b1ad52.zip |
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
Diffstat (limited to 'dev-perl/HTML-Mason')
-rw-r--r-- | dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild | 3 | ||||
-rw-r--r-- | dev-perl/HTML-Mason/files/HTML-Mason-1.560.0-no-dot-inc.patch | 28 |
2 files changed, 30 insertions, 1 deletions
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 c6057a104d3e..522c6657af3b 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 000000000000..6dda6205c86f --- /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 <kentnl@gentoo.org> +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 + |