summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff
diff options
context:
space:
mode:
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.diff30
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 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Fix CPANPLUS test failures when HOME doesn't exist
3Bug: http://rt.cpan.org/Public/Bug/Display.html?id=52988
4Bug-Debian: http://bugs.debian.org/577011
5Origin: upstream
6
7The Debian autobuilders are configured with a non-existing $ENV{HOME},
8triggering a bug in CPANPLUS that causes test failures.
9
10Fix from CPANPLUS-0.9001.
11
12---
13 cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm | 2 +-
14 1 files changed, 1 insertions(+), 1 deletions(-)
15
16diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm
17index 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--
30tg: (c823880..) fixes/cpanplus-without-home (depends on: upstream)