summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentfredric@gmail.com>2016-05-04 20:13:15 +1200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-05-07 00:30:09 +0200
commit3a9bf0c5d54cb56728037acb8da015c222261c2a (patch)
treefead793263c3840dffba38d94bfe046463ba80a4 /dev-perl/Plack
parentdev-perl/Test-Time: Fix missing test dependency on dev-perl/File-Slurp (diff)
downloadgentoo-3a9bf0c5d54cb56728037acb8da015c222261c2a.tar.gz
gentoo-3a9bf0c5d54cb56728037acb8da015c222261c2a.tar.bz2
gentoo-3a9bf0c5d54cb56728037acb8da015c222261c2a.zip
dev-perl/Plack: Patch tests to avoid parallel-testing race-condition.
This is already fixed upstream in git, so the patch is attached verbatim until upstream get around to pushing a new release. Package-Manager: portage-2.2.28 RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
Diffstat (limited to 'dev-perl/Plack')
-rw-r--r--dev-perl/Plack/Plack-1.3.900.ebuild4
-rw-r--r--dev-perl/Plack/files/Plack-1.3.900-issue-545.patch22
2 files changed, 25 insertions, 1 deletions
diff --git a/dev-perl/Plack/Plack-1.3.900.ebuild b/dev-perl/Plack/Plack-1.3.900.ebuild
index 4152bcc50104..1acafb011939 100644
--- a/dev-perl/Plack/Plack-1.3.900.ebuild
+++ b/dev-perl/Plack/Plack-1.3.900.ebuild
@@ -13,7 +13,9 @@ DESCRIPTION="Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test minimal examples"
-
+PATCHES=(
+ "${FILESDIR}/${P}-issue-545.patch"
+)
RDEPEND="
!minimal? (
dev-perl/CGI-Compile
diff --git a/dev-perl/Plack/files/Plack-1.3.900-issue-545.patch b/dev-perl/Plack/files/Plack-1.3.900-issue-545.patch
new file mode 100644
index 000000000000..b4a3fb747de9
--- /dev/null
+++ b/dev-perl/Plack/files/Plack-1.3.900-issue-545.patch
@@ -0,0 +1,22 @@
+From 86256c2af6115a2c99c310ba6979bf40f72a6864 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Richard=20Sim=C3=B5es?= <rsimoes@gmail.com>
+Date: Sun, 3 Jan 2016 19:49:51 -0600
+Subject: [PATCH] Allow log4perl.t and log4perl-category.t to run in parallel
+
+---
+ t/Plack-Middleware/log4perl-category.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/Plack-Middleware/log4perl-category.t b/t/Plack-Middleware/log4perl-category.t
+index 1951015..946edbf 100644
+--- a/t/Plack-Middleware/log4perl-category.t
++++ b/t/Plack-Middleware/log4perl-category.t
+@@ -6,7 +6,7 @@ use Test::More;
+ use Plack::Middleware::Log4perl;
+ use HTTP::Request::Common;
+
+-my $test_file = "t/Plack-Middleware/log4perl.log";
++my $test_file = "t/Plack-Middleware/log4perl-category.log";
+
+ my $conf = <<CONF;
+ log4perl.logger.0 = INFO, Logfile