diff options
author | schmonz <schmonz@pkgsrc.org> | 2009-07-24 04:58:56 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2009-07-24 04:58:56 +0000 |
commit | 25b3570a1904a0f6b1165081133b6d4cbe40cfb0 (patch) | |
tree | fbe67f10f24b387c52d78ff9c40302180adcde1b /lang | |
parent | d0b7165587c81b6f6c02968650e5f4975adf0b77 (diff) | |
download | pkgsrc-25b3570a1904a0f6b1165081133b6d4cbe40cfb0.tar.gz |
Patch (from latest PathTools) to fix build failure on systems where
$HOME's parent directory isn't readable by an unprivileged user.
Tested on Linux with unprivileged pkgsrc (DreamHost, where the
problem was encountered) and on Mac OS X with a more typical setup.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5/distinfo | 3 | ||||
-rw-r--r-- | lang/perl5/patches/patch-ad | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo index a0edab3d05a..39a3f33d86a 100644 --- a/lang/perl5/distinfo +++ b/lang/perl5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.59 2009/05/02 19:23:44 sno Exp $ +$NetBSD: distinfo,v 1.60 2009/07/24 04:58:56 schmonz Exp $ SHA1 (perl-5.10.0.tar.gz) = adf73606dd5248af7ccdd735bcaa0e628ea75b3c RMD160 (perl-5.10.0.tar.gz) = c6614fc99a162790a703f91085b24a60af903ba2 @@ -6,6 +6,7 @@ Size (perl-5.10.0.tar.gz) = 15595020 bytes SHA1 (patch-aa) = 5bd44a8076cf27e2deac52240af7f3898865859c SHA1 (patch-ab) = e32427327192f023477b16f29bc55fdf4f057410 SHA1 (patch-ac) = e6dd7287c1d85a59953610406c5fc1f52c712fb7 +SHA1 (patch-ad) = 72ea84e233fd5e82822078e207d597870a53e9fd SHA1 (patch-ah) = 1d2f4049dcc8dafcd0eafad36a74531dc7f305c9 SHA1 (patch-ai) = 5abdbbddcba79088996056ab88a34db5fcd16b01 SHA1 (patch-aq) = 3ece22678e3e6dcd3cf641e6389ff203cbe351b9 diff --git a/lang/perl5/patches/patch-ad b/lang/perl5/patches/patch-ad new file mode 100644 index 00000000000..f54d292a1ed --- /dev/null +++ b/lang/perl5/patches/patch-ad @@ -0,0 +1,15 @@ +$NetBSD: patch-ad,v 1.13 2009/07/24 04:58:57 schmonz Exp $ + +--- lib/Cwd.pm.orig 2007-12-18 05:47:07.000000000 -0500 ++++ lib/Cwd.pm +@@ -540,8 +540,8 @@ sub _perl_abs_path + local *PARENT; + unless (opendir(PARENT, $dotdots)) + { +- _carp("opendir($dotdots): $!"); +- return ''; ++ # probably a permissions issue. Try the native command. ++ return File::Spec->rel2abs( $start, _backtick_pwd() ); + } + unless (@cst = stat($dotdots)) + { |