From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/rakudo/files: jakudo-fix-paths.patch |
Date: | Fri, 29 May 2015 04:11:46 |
Message-Id: | 20150529041142.94F0AA10@oystercatcher.gentoo.org |
1 | patrick 15/05/29 04:11:42 |
2 | |
3 | Added: jakudo-fix-paths.patch |
4 | Log: |
5 | Fix compilation of jakudo with upstream patch, #550710 |
6 | |
7 | (Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-lang/rakudo/files/jakudo-fix-paths.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rakudo/files/jakudo-fix-paths.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rakudo/files/jakudo-fix-paths.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: jakudo-fix-paths.patch |
16 | =================================================================== |
17 | commit b9f993b86acf0f1ca3108d1b799ca35c21e726c7 |
18 | Author: Tobias Leich <email@××××××.de> |
19 | Date: Tue May 26 20:27:50 2015 +0200 |
20 | |
21 | dont create dirs when instanciating CUR |
22 | |
23 | But also do not skip non-existing locations, because we might be |
24 | creating them when installing into. |
25 | |
26 | diff --git a/src/core/CompUnitRepo/Locally.pm b/src/core/CompUnitRepo/Locally.pm |
27 | index 72a7eca..5acffca 100644 |
28 | --- a/src/core/CompUnitRepo/Locally.pm |
29 | +++ b/src/core/CompUnitRepo/Locally.pm |
30 | @@ -7,9 +7,7 @@ role CompUnitRepo::Locally { |
31 | |
32 | method new(CompUnitRepo::Locally: $dir) { |
33 | my $abspath := $*SPEC.rel2abs($dir); |
34 | - try mkdir $abspath; |
35 | my $IO := IO::Path.new-from-absolute-path($abspath); |
36 | - return Nil unless $IO.d and $IO.r; |
37 | |
38 | %instances{$abspath} //= |
39 | self.bless(:$IO,:lock(Lock.new),:WHICH(self.^name ~ '|' ~ $abspath)); |