diff options
author | 2018-09-06 22:00:25 -0700 | |
---|---|---|
committer | 2018-09-06 22:07:29 -0700 | |
commit | 610991e483d2cf6a6b82322406630ed30547e844 (patch) | |
tree | 574c2ad4fee17b8ab5d3dc3dc359b16f96de1187 /meta/recipes-devtools/perl/perl/fixes/file_path_hurd_errno.diff | |
parent | 0191456d81500f312569f5813f8c4d5ddadc17a7 (diff) | |
download | openembedded-core-contrib-610991e483d2cf6a6b82322406630ed30547e844.tar.gz |
perl: [WIP] upgrade to 5.26.2timo/perl-5.26.2
Bring in patches from debian, best effort at getting past
do_patch task. Needs more work.
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/perl/perl/fixes/file_path_hurd_errno.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl/fixes/file_path_hurd_errno.diff | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl/fixes/file_path_hurd_errno.diff b/meta/recipes-devtools/perl/perl/fixes/file_path_hurd_errno.diff new file mode 100644 index 0000000000..ca5c51ab87 --- /dev/null +++ b/meta/recipes-devtools/perl/perl/fixes/file_path_hurd_errno.diff @@ -0,0 +1,32 @@ +From e504c7f1978469462558090a1c5cc5c7e9e15ae6 Mon Sep 17 00:00:00 2001 +From: Pino Toscano <pino@debian.org> +Date: Thu, 8 Sep 2016 10:26:59 +0100 +Subject: [PATCH] File-Path: Fix test failure in Hurd due to hard-coded ENOENT + +Patch-Name: fixes/file_path_hurd_errno.diff + +--- + cpan/File-Path/t/Path.t | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/cpan/File-Path/t/Path.t b/cpan/File-Path/t/Path.t +index fffc49c..956ca09 100644 +--- a/cpan/File-Path/t/Path.t ++++ b/cpan/File-Path/t/Path.t +@@ -8,6 +8,7 @@ use Config; + use Fcntl ':mode'; + use lib 't/'; + use FilePathTest; ++use Errno qw(:POSIX); + + BEGIN { + use_ok('Cwd'); +@@ -668,7 +669,7 @@ is( + { + my ($x, $message, $object, $expect, $rv, $arg, $error); + my ($k, $v, $second_error, $third_error); +- local $! = 2; ++ local $! = ENOENT; + $x = $!; + + $message = 'message in a bottle'; |