All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/5] perl-native: upgrade from 5.24.1 to 5.26.1
@ 2017-10-17 19:11 leonardo.sandoval.gonzalez
  2017-10-17 19:11 ` [PATCH v3 2/5] perl: upgrade " leonardo.sandoval.gonzalez
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: leonardo.sandoval.gonzalez @ 2017-10-17 19:11 UTC (permalink / raw)
  To: openembedded-core

From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>

Patch Name # Status at 5.26.1

file://Configure-multilib.patch        # Already merged in 5.26.1, so removed it
file://perl-configpm-switch.patch      # Applies as it is
file://native-nopacklist.patch         # Rebased it to 5.26.1
file://native-perlinc.patch            # Already merged in 5.26.1, so removed it
file://MM_Unix.pm.patch                # Rebased it to 5.26.1
file://debian/errno_ver.diff           # Applies as it is
file://dynaloaderhack.patch            # Applies as it is
lfile://perl-PathTools-don-t-filter-out-blib-from-INC.patch            # Already merged in 5.26.1, so removed it
file://0001-Configure-Remove-fstack-protector-strong-for-native-.patch # Applies as it is

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
---
 ...perl-native_5.24.1.bb => perl-native_5.26.1.bb} | 10 +++---
 ...emove-fstack-protector-strong-for-native-.patch |  1 +
 meta/recipes-devtools/perl/perl/MM_Unix.pm.patch   |  9 ++---
 .../perl/perl/native-nopacklist.patch              | 40 +++++++++++++++-------
 4 files changed, 37 insertions(+), 23 deletions(-)
 rename meta/recipes-devtools/perl/{perl-native_5.24.1.bb => perl-native_5.26.1.bb} (93%)

diff --git a/meta/recipes-devtools/perl/perl-native_5.24.1.bb b/meta/recipes-devtools/perl/perl-native_5.26.1.bb
similarity index 93%
rename from meta/recipes-devtools/perl/perl-native_5.24.1.bb
rename to meta/recipes-devtools/perl/perl-native_5.26.1.bb
index e01d11fbed..8f5b872cbc 100644
--- a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.26.1.bb
@@ -7,19 +7,17 @@ DEPENDS += "gdbm-native zlib-native"
 EXTRA_OEMAKE = "-e MAKEFLAGS="
 
 SRC_URI += "\
-           file://Configure-multilib.patch \
            file://perl-configpm-switch.patch \
            file://native-nopacklist.patch \
-           file://native-perlinc.patch \
            file://MM_Unix.pm.patch \
            file://debian/errno_ver.diff \
            file://dynaloaderhack.patch \
-           file://perl-PathTools-don-t-filter-out-blib-from-INC.patch \
            file://0001-Configure-Remove-fstack-protector-strong-for-native-.patch \
-          "
+           "
+
+SRC_URI[md5sum] = "70e988b4318739b0cf3ad5e120bfde88"
+SRC_URI[sha256sum] = "fe8208133e73e47afc3251c08d2c21c5a60160165a8ab8b669c43a420e4ec680"
 
-SRC_URI[md5sum] = "af6a84c7c3e2b8b269c105a5db2f6d53"
-SRC_URI[sha256sum] = "03a77bac4505c270f1890ece75afc7d4b555090b41aa41ea478747e23b2afb3f"
 
 inherit native
 
diff --git a/meta/recipes-devtools/perl/perl/0001-Configure-Remove-fstack-protector-strong-for-native-.patch b/meta/recipes-devtools/perl/perl/0001-Configure-Remove-fstack-protector-strong-for-native-.patch
index 14a05d291b..36cd8939c3 100644
--- a/meta/recipes-devtools/perl/perl/0001-Configure-Remove-fstack-protector-strong-for-native-.patch
+++ b/meta/recipes-devtools/perl/perl/0001-Configure-Remove-fstack-protector-strong-for-native-.patch
@@ -15,6 +15,7 @@ Upstream-Status: Inappropriate [configuration]
 [1] http://errors.yoctoproject.org/Errors/Details/109589/
 
 Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
+Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
 ---
  Configure | 54 ------------------------------------------------------
  1 file changed, 54 deletions(-)
diff --git a/meta/recipes-devtools/perl/perl/MM_Unix.pm.patch b/meta/recipes-devtools/perl/perl/MM_Unix.pm.patch
index eb92ccb678..cdae438d2c 100644
--- a/meta/recipes-devtools/perl/perl/MM_Unix.pm.patch
+++ b/meta/recipes-devtools/perl/perl/MM_Unix.pm.patch
@@ -7,16 +7,17 @@ To get the MakeMaker.pm works in this case, we need perl wrapper here
 instead of real perl binary.
 
 Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
+Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
 ===================================================================
 --- perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.orig	2011-08-12 16:07:30.000000000 +0800
 +++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm	2011-08-12 16:08:56.000000000 +0800
-@@ -1019,6 +1019,9 @@
+@@ -1110,6 +1110,9 @@ WARNING
      }
  
      foreach my $name (@$names){
 +        # Getting MakeMaker.pm use perl wrapper instead of 'perl.real' directly
 +        $name =~ s/perl\.real/perl/ if ($name =~ /perl\.real/);
 +
-         foreach my $dir (@$dirs){
-             next unless defined $dir; # $self->{PERL_SRC} may be undefined
-             my ($abs, $val);
+         my ($abs, $use_dir);
+         if ($self->file_name_is_absolute($name)) {     # /foo/bar
+             $abs = $name;
diff --git a/meta/recipes-devtools/perl/perl/native-nopacklist.patch b/meta/recipes-devtools/perl/perl/native-nopacklist.patch
index 5482dcb79c..993f3302bf 100644
--- a/meta/recipes-devtools/perl/perl/native-nopacklist.patch
+++ b/meta/recipes-devtools/perl/perl/native-nopacklist.patch
@@ -3,15 +3,16 @@ Upstream-Status:Inappropriate [debian patch]
 Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files
 
 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
+Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
 ---
- cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm |   35 ++---------------------
- 1 file changed, 3 insertions(+), 32 deletions(-)
+ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 41 ++-----------------------
+ 1 file changed, 3 insertions(+), 38 deletions(-)
 
 diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
-index f63145c..a589710 100644
+index 66a24d7..f9dbc6e 100644
 --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
 +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
-@@ -2122,11 +2122,6 @@ pure_perl_install :: all
+@@ -2227,11 +2227,6 @@ pure_perl_install :: all
  };
  
      push @m,
@@ -23,18 +24,31 @@ index f63145c..a589710 100644
  q{		"$(INST_LIB)" "$(DESTINSTALLPRIVLIB)" \
  		"$(INST_ARCHLIB)" "$(DESTINSTALLARCHLIB)" \
  		"$(INST_BIN)" "$(DESTINSTALLBIN)" \
-@@ -2158,10 +2153,6 @@ q{		"$(INST_LIB)" "$(DESTINSTALLSITELIB)" \
- pure_vendor_install :: all
+@@ -2246,11 +2241,6 @@ pure_site_install :: all
  	$(NOECHO) $(MOD_INSTALL) \
  };
+     push @m,
+-q{		read "}.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{" \
+-		write "}.$self->catfile('$(DESTINSTALLSITEARCH)','auto','$(FULLEXT)','.packlist').q{" \
+-} unless $self->{NO_PACKLIST};
+-
 -    push @m,
+ q{		"$(INST_LIB)" "$(DESTINSTALLSITELIB)" \
+ 		"$(INST_ARCHLIB)" "$(DESTINSTALLSITEARCH)" \
+ 		"$(INST_BIN)" "$(DESTINSTALLSITEBIN)" \
+@@ -2264,11 +2254,6 @@ pure_vendor_install :: all
+ 	$(NOECHO) $(MOD_INSTALL) \
+ };
+     push @m,
 -q{		read "}.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{" \
 -		write "}.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{" \
 -} unless $self->{NO_PACKLIST};
- 
-     push @m,
+-
+-    push @m,
  q{		"$(INST_LIB)" "$(DESTINSTALLVENDORLIB)" \
-@@ -2187,37 +2178,19 @@ doc_vendor_install :: all
+ 		"$(INST_ARCHLIB)" "$(DESTINSTALLVENDORARCH)" \
+ 		"$(INST_BIN)" "$(DESTINSTALLVENDORBIN)" \
+@@ -2292,37 +2277,19 @@ doc_vendor_install :: all
  
      push @m, q{
  doc_perl_install :: all
@@ -42,7 +56,7 @@ index f63145c..a589710 100644
 -	-$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)"
 -	-$(NOECHO) $(DOC_INSTALL) \
 -		"Module" "$(NAME)" \
--		"installed into" $(INSTALLPRIVLIB) \
+-		"installed into" "$(INSTALLPRIVLIB)" \
 -		LINKTYPE "$(LINKTYPE)" \
 -		VERSION "$(VERSION)" \
 -		EXE_FILES "$(EXE_FILES)" \
@@ -55,7 +69,7 @@ index f63145c..a589710 100644
 +	-$(NOECHO) $(MKPATH) "$(DESTINSTALLSITEARCH)"
  	-$(NOECHO) $(DOC_INSTALL) \
  		"Module" "$(NAME)" \
- 		"installed into" $(INSTALLSITELIB) \
+ 		"installed into" "$(INSTALLSITELIB)" \
  		LINKTYPE "$(LINKTYPE)" \
  		VERSION "$(VERSION)" \
  		EXE_FILES "$(EXE_FILES)" \
@@ -67,7 +81,7 @@ index f63145c..a589710 100644
 -	-$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)"
 -	-$(NOECHO) $(DOC_INSTALL) \
 -		"Module" "$(NAME)" \
--		"installed into" $(INSTALLVENDORLIB) \
+-		"installed into" "$(INSTALLVENDORLIB)" \
 -		LINKTYPE "$(LINKTYPE)" \
 -		VERSION "$(VERSION)" \
 -		EXE_FILES "$(EXE_FILES)" \
@@ -75,7 +89,7 @@ index f63145c..a589710 100644
  
  } unless $self->{NO_PERLLOCAL};
  
-@@ -2226,13 +2199,11 @@ uninstall :: uninstall_from_$(INSTALLDIRS)dirs
+@@ -2331,13 +2298,11 @@ uninstall :: uninstall_from_$(INSTALLDIRS)dirs
  	$(NOECHO) $(NOOP)
  
  uninstall_from_perldirs ::
-- 
2.12.3



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-10-18 10:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-17 19:11 [PATCH v3 1/5] perl-native: upgrade from 5.24.1 to 5.26.1 leonardo.sandoval.gonzalez
2017-10-17 19:11 ` [PATCH v3 2/5] perl: upgrade " leonardo.sandoval.gonzalez
2017-10-17 19:11 ` [PATCH v3 3/5] git.inc: remove sed statement removing SVN lines from .packlist leonardo.sandoval.gonzalez
2017-10-17 19:11 ` [PATCH v3 4/5] libxml-namespacesupport-perl: upgrade to 1.12.9 leonardo.sandoval.gonzalez
2017-10-17 19:11 ` [PATCH v3 5/5] ruby: upgrade to 2.4.2 leonardo.sandoval.gonzalez
2017-10-18 10:38 ` [PATCH v3 1/5] perl-native: upgrade from 5.24.1 to 5.26.1 Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.