]> git.pld-linux.org Git - packages/perl.git/blobdiff - perl-write-permissions.patch
- release 13 (GDBM_File > 1.08-12 needed)
[packages/perl.git] / perl-write-permissions.patch
index e3f9878289d543d00ccc83f7e14e7d5eb81773d5..4004ba77f8cf9c1f2be721b22885064d9a921f18 100644 (file)
@@ -1,20 +1,21 @@
 --- ExtUtils-MakeMaker-6.30.orig/lib/ExtUtils/Install.pm       2005-03-22 04:30:24.000000000 +0000
 +++ ExtUtils-MakeMaker-6.30.write-permissions/lib/ExtUtils/Install.pm  2006-10-30 16:14:28.000000000 +0000
-@@ -180,7 +180,7 @@
-               print "Installing $targetfile\n";
-               utime($atime,$mtime + $Is_VMS,$targetfile) unless $nonono>1;
-               print "utime($atime,$mtime,$targetfile)\n" if $verbose>1;
--              $mode = 0444 | ( $mode & 0111 ? 0111 : 0 );
-+              $mode = 0644 | ( $mode & 0111 ? 0111 : 0 );
-               chmod $mode, $targetfile;
-               print "chmod($mode, $targetfile)\n" if $verbose>1;
-           } else {
-@@ -451,7 +451,7 @@
-       }
-       my($mode,$atime,$mtime) = (stat $from)[2,8,9];
-       utime($atime,$mtime+$Is_VMS,$to);
--      chmod(0444 | ( $mode & 0111 ? 0111 : 0 ),$to);
-+      chmod(0644 | ( $mode & 0111 ? 0111 : 0 ),$to);
-       next unless $from =~ /\.pm$/;
-       _autosplit($to,$autodir);
+@@ -666,7 +666,7 @@
+             utime($atime,$mtime + $Is_VMS,$targetfile) unless $nonono>1;
+-            $mode = 0444 | ( $mode & 0111 ? 0111 : 0 );
++            $mode = 0644 | ( $mode & 0111 ? 0111 : 0 );
+             $mode = $mode | 0222
+                 if $realtarget ne $targetfile;
+             _chmod( $mode, $targetfile, $verbose );
+@@ -1018,7 +1018,7 @@
+         }
+         my($mode,$atime,$mtime) = (stat $from)[2,8,9];
+         utime($atime,$mtime+$Is_VMS,$to);
+-        _chmod(0444 | ( $mode & 0111 ? 0111 : 0 ),$to);
++        _chmod(0644 | ( $mode & 0111 ? 0111 : 0 ),$to);
+         next unless $from =~ /\.pm$/;
+         _autosplit($to,$autodir);
      }
+
This page took 0.025634 seconds and 4 git commands to generate.