diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff new file mode 100644 index 0000000000..5f85894a97 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff | |||
@@ -0,0 +1,30 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: Fix CPANPLUS test failures when HOME doesn't exist | ||
3 | Bug: http://rt.cpan.org/Public/Bug/Display.html?id=52988 | ||
4 | Bug-Debian: http://bugs.debian.org/577011 | ||
5 | Origin: upstream | ||
6 | |||
7 | The Debian autobuilders are configured with a non-existing $ENV{HOME}, | ||
8 | triggering a bug in CPANPLUS that causes test failures. | ||
9 | |||
10 | Fix from CPANPLUS-0.9001. | ||
11 | |||
12 | --- | ||
13 | cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm | 2 +- | ||
14 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
15 | |||
16 | diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm | ||
17 | index 27d2abc..8475c36 100644 | ||
18 | --- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm | ||
19 | +++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm | ||
20 | @@ -5,7 +5,7 @@ use strict; | ||
21 | use CPANPLUS::Error; | ||
22 | use CPANPLUS::Internals::Constants; | ||
23 | |||
24 | -use Cwd qw[chdir]; | ||
25 | +use Cwd qw[chdir cwd]; | ||
26 | use File::Copy; | ||
27 | use Params::Check qw[check]; | ||
28 | use Module::Load::Conditional qw[can_load]; | ||
29 | -- | ||
30 | tg: (c823880..) fixes/cpanplus-without-home (depends on: upstream) | ||