perl: fix static build
PATCH v2 1/1 perl: fix static build
see http://autobuild.buildroot.net/results/502/502e6a6280451acc48e5f500e774b2bd04c7229e/
Signed-off-by Francois Perrad <[email protected]>
--- package/perl/0001-fix-EUMM.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/perl/0001-fix-EUMM.patch
package/perl/0001-fix-EUMM.patch new file +18 -0
@@ -0,0 +1,18 @@ +fix EUMM 7.04_01 which comes with Perl 5.22.0 + +with static lib build, we cannot call _find_magic_vstring(), +which does a `require B;` and B is not a pure Perl module. + +Signed-off-by: Francois Perrad <[email protected]> + +--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/version/vpp.pm ++++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/version/vpp.pm +@@ -933,7 +933,7 @@ sub _un_vstring { + if ( length($value) >= 3 && $value !~ /[._]/ + && _is_non_alphanumeric($value)) { + my $tvalue; +- if ( $] ge 5.008_001 ) { ++ if ( $Config{usedl} && ( $] ge 5.008_001 ) ) { + $tvalue = _find_magic_vstring($value); + $value = $tvalue if length $tvalue; + }
Signature · 1 line
2.1.4
Thomas Petazzoni
AppliedPATCH v2 1/1 perl: fix static build
Dear Francois Perrad,
Quoted 7 lines · Francois Perrad
see http://autobuild.buildroot.net/results/502/502e6a6280451acc48e5f500e774b2bd04c7229e/
Signed-off-by Francois Perrad <[email protected]>--- package/perl/0001-fix-EUMM.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/perl/0001-fix-EUMM.patch
Applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com