patrick     15/05/29 04:11:42

  Added:                jakudo-fix-paths.patch
  Log:
  Fix compilation of jakudo with upstream patch, #550710
  
  (Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  dev-lang/rakudo/files/jakudo-fix-paths.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rakudo/files/jakudo-fix-paths.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rakudo/files/jakudo-fix-paths.patch?rev=1.1&content-type=text/plain

Index: jakudo-fix-paths.patch
===================================================================
commit b9f993b86acf0f1ca3108d1b799ca35c21e726c7
Author: Tobias Leich <[email protected]>
Date:   Tue May 26 20:27:50 2015 +0200

    dont create dirs when instanciating CUR
    
    But also do not skip non-existing locations, because we might be
    creating them when installing into.

diff --git a/src/core/CompUnitRepo/Locally.pm b/src/core/CompUnitRepo/Locally.pm
index 72a7eca..5acffca 100644
--- a/src/core/CompUnitRepo/Locally.pm
+++ b/src/core/CompUnitRepo/Locally.pm
@@ -7,9 +7,7 @@ role CompUnitRepo::Locally {
 
     method new(CompUnitRepo::Locally: $dir) {
         my $abspath := $*SPEC.rel2abs($dir);
-        try mkdir $abspath;
         my $IO      := IO::Path.new-from-absolute-path($abspath);
-        return Nil unless $IO.d and $IO.r;
 
         %instances{$abspath} //=
           self.bless(:$IO,:lock(Lock.new),:WHICH(self.^name ~ '|' ~ $abspath));




Reply via email to