Skip to contentSkip to conversation

perl-dynloader.patch: Fix libdir issue for multilib

PATCH Applied Mei Lei 2 participants 3 messages Jul 25, 2011

lore
Share & tools
lore

Mei Lei

author
#0 lore raw

cover perl-dynloader.patch: Fix libdir issue for multilib

Hi Richard,
This patch fixes the libdir issue, relax the regular expression to match lib32, lib64 and libx32, etc. Please review it.

Thanks
Lei

The following changes since commit eea4bd731ef286516ee1fb934fe2222a09c06e70:
Kumar Gala (1):
mpc8315e-rdb: Set TARGET_FPU correct

are available in the git repository at:

git://git.pokylinux.org/poky-contrib lmei3/ml-perl
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lmei3/ml-perl

Mei Lei (1):
perl-dynloader.patch: Fix multilib issue for perl

 .../perl/perl-5.12.3/perl-dynloader.patch          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
author
#1 lore raw

PATCH 1/1 perl-dynloader.patch: Fix multilib issue for perl

The perl-dynloader.patch can't support lib64 lib32, libx32, etc. Relax the regular expression to fix this issue.

---
 .../perl/perl-5.12.3/perl-dynloader.patch          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-devtools/perl/perl-5.12.3/perl-dynloader.patch +1 -1
index d5ea00f..1840605 100644
@@ -19,7 +19,7 @@ Update by Nitin A Kamble <[email protected]> 2011/04/21
 +    {
 +        my $hostlib = $ENV{PERLHOSTLIB};
 +        print STDERR "*** Module name IN: $modlibname\n";
-+        ($p1, $p2, $p3, $p4, $p5) = $modlibname =~ m/(^(.*lib\/)?)((perl\/[0-9\.]*\/)?)(.*)$/;
++        ($p1, $p2, $p3, $p4, $p5) = $modlibname =~ m/(^(.*lib\w*\/)?)((perl\/[0-9\.]*\/)?)(.*)$/;
 +        print STDERR "*** p1: $p1  p3: $p3  p5: $p5\n";
 +        if ( $p1 ne "" ) {
 +            $modlibname = $hostlib.$p5;
Signature · 1 line
1.6.3.3
Applied
#2 lore raw
In reply to Mei Lei
Quoted 18 lines · Mei Lei

Hi Richard,
This patch fixes the libdir issue, relax the regular expression to match lib32, lib64 and libx32, etc. Please review it.

Thanks
Lei

The following changes since commit eea4bd731ef286516ee1fb934fe2222a09c06e70:
Kumar Gala (1):
mpc8315e-rdb: Set TARGET_FPU correct

are available in the git repository at:

git://git.pokylinux.org/poky-contrib lmei3/ml-perl
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lmei3/ml-perl

Mei Lei (1):
perl-dynloader.patch: Fix multilib issue for perl

Quoted 9 lines
  .../perl/perl-5.12.3/perl-dynloader.patch          |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Merged into OE-Core

Thanks
Sau!