diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2016-11-24 15:06:04 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-30 15:48:08 +0000 |
commit | 066ac716e397e685e429095e2899227c89852122 (patch) | |
tree | 090b2c3b91bcf69d85e281ed7072c0554a282515 /meta/recipes-devtools/perl/perl/dynaloaderhack.patch | |
parent | 50f5c4e9113513bf63e5adf77f091d8bf5831fc4 (diff) | |
download | poky-066ac716e397e685e429095e2899227c89852122.tar.gz |
perl: Upgrade to 5.24.0
Configuration changes,
Simple changes was made to bump version and api version, related to
floating point handling now the configuration needs the inf, mantisa
and nan bytes.
The new version comes with the support of API calls like memmem and
{new,free,use}locale also structure for handle siginfo supported by
glibc and musl.
Finally use64bit{int, all} was disable because the previous
configure_args don't come with them and cases some tests to fail
related to bignum's and shared memory respectively. This doesn't
means that perl couldn't use 64-bit data types, it means that don't
stores by default into a 64 bit that is good for embedded space
purposes.
Modules changes,
Some core modules are now deprecated in order to use the core ones
like version-vpp and version-regex inside module-extutils-makemaker.
For full review see perl-rdepends.inc file.
Patches rebased,
- perl/debian/errno_ver.diff
- perl/dynaloaderhack.patch
- perl/Makefile.SH.patch
- perl/config.s
- perl/dynaloaderhack.patch
- perl/perl-test-customized.patch
Patches removed, comes with the upgrade now:
- perl/perl-remove-nm-from-libswanted.patch
- perl/perl-fix-CVE-2015-8607.patch
- perl/perl-fix-CVE-2016-2381.patch
Test,
The upgrade was test using ptest the suite is fixed now.
The pod2man and pod2text installation required now for some tests.
Buildhistory was use to review the changes and only diff changes
related to modules commented above.
(From OE-Core rev: add5e5982f010e13e3ad25690f01d5e4e391daf9)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/perl/dynaloaderhack.patch')
-rw-r--r-- | meta/recipes-devtools/perl/perl/dynaloaderhack.patch | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/meta/recipes-devtools/perl/perl/dynaloaderhack.patch b/meta/recipes-devtools/perl/perl/dynaloaderhack.patch index 3df593346c..719f07c9cc 100644 --- a/meta/recipes-devtools/perl/perl/dynaloaderhack.patch +++ b/meta/recipes-devtools/perl/perl/dynaloaderhack.patch | |||
@@ -1,3 +1,8 @@ | |||
1 | From 2e0ce5d27e70defd66ace0661af7c24daae34f8b Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
3 | Date: Sat, 19 Jan 2013 23:49:24 +0000 | ||
4 | Subject: [PATCH 7/8] perl: Add dyanloader build hack | ||
5 | |||
1 | Hack the dynamic module loader so that we use native modules since we can't load | 6 | Hack the dynamic module loader so that we use native modules since we can't load |
2 | the target ones. | 7 | the target ones. |
3 | 8 | ||
@@ -6,14 +11,18 @@ Upstream-Status: Inappropriate | |||
6 | RP | 11 | RP |
7 | 2013/01/13 | 12 | 2013/01/13 |
8 | 13 | ||
9 | Index: perl-5.14.2/ext/DynaLoader/DynaLoader_pm.PL | 14 | --- |
10 | =================================================================== | 15 | ext/DynaLoader/DynaLoader_pm.PL | 4 ++++ |
11 | --- perl-5.14.2.orig/ext/DynaLoader/DynaLoader_pm.PL 2011-09-19 13:18:22.000000000 +0000 | 16 | 1 file changed, 4 insertions(+) |
12 | +++ perl-5.14.2/ext/DynaLoader/DynaLoader_pm.PL 2013-01-19 16:09:51.020584945 +0000 | 17 | |
13 | @@ -310,6 +310,10 @@ | 18 | diff --git a/ext/DynaLoader/DynaLoader_pm.PL b/ext/DynaLoader/DynaLoader_pm.PL |
19 | index e828f35..4021559 100644 | ||
20 | --- a/ext/DynaLoader/DynaLoader_pm.PL | ||
21 | +++ b/ext/DynaLoader/DynaLoader_pm.PL | ||
22 | @@ -343,6 +343,10 @@ sub bootstrap { | ||
14 | foreach (@INC) { | 23 | foreach (@INC) { |
15 | <<$^O-eq-VMS>>chop($_ = VMS::Filespec::unixpath($_));<</$^O-eq-VMS>> | 24 | <<$^O-eq-VMS>>chop($_ = VMS::Filespec::unixpath($_));<</$^O-eq-VMS>> |
16 | my $dir = "$_/auto/$modpname"; | 25 | $dir = "$_/auto/$modpname"; |
17 | + | 26 | + |
18 | + if (defined $ENV{PERL_LIB} and defined $ENV{PERLHOSTLIB}) { | 27 | + if (defined $ENV{PERL_LIB} and defined $ENV{PERLHOSTLIB}) { |
19 | + $dir =~ s/$ENV{PERL_LIB}/$ENV{PERLHOSTLIB}/g; | 28 | + $dir =~ s/$ENV{PERL_LIB}/$ENV{PERLHOSTLIB}/g; |
@@ -21,3 +30,6 @@ Index: perl-5.14.2/ext/DynaLoader/DynaLoader_pm.PL | |||
21 | 30 | ||
22 | next unless -d $dir; # skip over uninteresting directories | 31 | next unless -d $dir; # skip over uninteresting directories |
23 | 32 | ||
33 | -- | ||
34 | 2.1.4 | ||
35 | |||