From: Kent Fredric Date: Wed, 4 May 2016 08:13:15 +0000 (+1200) Subject: dev-perl/Plack: Patch tests to avoid parallel-testing race-condition. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3a9bf0c5d54cb56728037acb8da015c222261c2a;p=gentoo.git 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" --- 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?= +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 = <