1 |
commit: bd34ea70b7ff88d9f2fba17022bf453869b1ad52 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 24 04:49:20 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 24 04:49:39 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd34ea70 |
7 |
|
8 |
dev-perl/HTML-Mason: Fix tests failing without '.' in @INC bug #616966 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/616966 |
11 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
12 |
|
13 |
dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild | 3 ++- |
14 |
.../files/HTML-Mason-1.560.0-no-dot-inc.patch | 28 ++++++++++++++++++++++ |
15 |
2 files changed, 30 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild b/dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild |
18 |
index c6057a104d3..522c6657af3 100644 |
19 |
--- a/dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild |
20 |
+++ b/dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=5 |
27 |
@@ -36,6 +36,7 @@ DEPEND="${RDEPEND} |
28 |
dev-perl/Test-Deep |
29 |
) |
30 |
" |
31 |
+PATCHES=( "${FILESDIR}/${P}-no-dot-inc.patch" ) |
32 |
|
33 |
want_apache2 modperl |
34 |
|
35 |
|
36 |
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 |
37 |
new file mode 100644 |
38 |
index 00000000000..6dda6205c86 |
39 |
--- /dev/null |
40 |
+++ b/dev-perl/HTML-Mason/files/HTML-Mason-1.560.0-no-dot-inc.patch |
41 |
@@ -0,0 +1,28 @@ |
42 |
+From 07ed4ceef9d501d2ee455e589ae9075a9898ebdd Mon Sep 17 00:00:00 2001 |
43 |
+From: Kent Fredric <kentnl@g.o> |
44 |
+Date: Tue, 24 Oct 2017 17:40:13 +1300 |
45 |
+Subject: Fix t/13-errors.t failing w/o '.' in @INC |
46 |
+ |
47 |
+Bug: https://bugs.gentoo.org/616966 |
48 |
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=121443 |
49 |
+Bug: https://github.com/houseabsolute/HTML-Mason/pull/6 |
50 |
+--- |
51 |
+ t/13-errors.t | 2 +- |
52 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
53 |
+ |
54 |
+diff --git a/t/13-errors.t b/t/13-errors.t |
55 |
+index 716f2f02..78cfc6b0 100644 |
56 |
+--- a/t/13-errors.t |
57 |
++++ b/t/13-errors.t |
58 |
+@@ -417,7 +417,7 @@ EOF |
59 |
+ description => 'Require a module with an error in a once block', |
60 |
+ component => <<'EOF', |
61 |
+ <%once> |
62 |
+-require "t/lib/BadModule.pm"; |
63 |
++require "./t/lib/BadModule.pm"; |
64 |
+ </%once> |
65 |
+ hi! |
66 |
+ EOF |
67 |
+-- |
68 |
+2.14.2 |
69 |
+ |