From 345de20815a0bdc8c8acdfeb7d8796e27f825ddc Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Wed, 20 Apr 2011 14:49:41 -0700 Subject: perl-5.12.2: use of PERLHOSTLIB var fix PERLHOSTLIB var is used to build target perl. It let perl use the native perl .so module files at the time of compilation of target perl. These changes to perl make the PERLHOSTLIB variable also useful for building perl modules to use native .so perl module. (From OE-Core rev: f4d51e63c0df777bbcbe9ad160eb3ba41ae74c6e) Signed-off-by: Nitin A Kamble Signed-off-by: Richard Purdie --- .../perl/files/Configure-multilib.patch | 15 ------- .../perl/files/letgcc-find-errno.patch | 44 --------------------- .../libperl-5.8.3-create-libperl-soname.patch | 11 ------ .../perl/perl-5.12.2/09_fix_installperl.patch | 2 + .../perl/perl-5.12.2/Configure-multilib.patch | 17 ++++++++ .../perl/perl-5.12.2/Makefile.SH.patch | 2 + .../perl/perl-5.12.2/Makefile.patch | 2 + .../perl/perl-5.12.2/asm-pageh-fix.patch | 2 + .../perl/perl-5.12.2/cross-generate_uudmap.patch | 2 + .../perl/perl-5.12.2/debian/arm_optim.diff | 2 + .../debian/arm_thread_stress_timeout.diff | 2 + .../perl/perl-5.12.2/debian/cpan_config_path.diff | 2 + .../perl-5.12.2/debian/cpan_definstalldirs.diff | 2 + .../perl-5.12.2/debian/cpanplus_config_path.diff | 2 + .../debian/cpanplus_definstalldirs.diff | 2 + .../perl/perl-5.12.2/debian/db_file_ver.diff | 2 + .../perl-5.12.2/debian/deprecate-with-apt.diff | 2 + .../debian/devel-ppport-ia64-optim.diff | 2 + .../perl-5.12.2/debian/disable-zlib-bundling.diff | 2 + .../perl/perl-5.12.2/debian/doc_info.diff | 2 + .../perl/perl-5.12.2/debian/enc2xs_inc.diff | 2 + .../perl/perl-5.12.2/debian/errno_ver.diff | 2 + .../perl/perl-5.12.2/debian/extutils_hacks.diff | 2 + .../perl/perl-5.12.2/debian/fakeroot.diff | 2 + .../perl-5.12.2/debian/fixes/autodie-flock.diff | 2 + .../debian/fixes/concat-stack-corruption.diff | 2 + .../debian/fixes/cpanplus-without-home.diff | 2 + .../perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff | 2 + .../perl-5.12.2/debian/fixes/hurd-ccflags.diff | 2 + .../perl-5.12.2/debian/fixes/lc-numeric-docs.diff | 2 + .../debian/fixes/lc-numeric-sprintf.diff | 2 + .../perl-5.12.2/debian/fixes/net_smtp_docs.diff | 2 + .../perl/perl-5.12.2/debian/fixes/processPL.diff | 2 + .../perl/perl-5.12.2/debian/instmodsh_doc.diff | 2 + .../perl/perl-5.12.2/debian/ld_run_path.diff | 2 + .../perl-5.12.2/debian/libnet_config_path.diff | 2 + .../perl-5.12.2/debian/m68k_thread_stress.diff | 2 + .../perl/perl-5.12.2/debian/mod_paths.diff | 2 + .../debian/module_build_man_extensions.diff | 2 + .../perl/perl-5.12.2/debian/perlivp.diff | 2 + .../perl/perl-5.12.2/debian/prune_libs.diff | 2 + .../debian/squelch-locale-warnings.diff | 2 + .../perl/perl-5.12.2/generate-sh.patch | 2 + .../perl/perl-5.12.2/installperl.patch | 2 + .../perl/perl-5.12.2/letgcc-find-errno.patch | 46 ++++++++++++++++++++++ .../perl/perl-5.12.2/native-nopacklist.patch | 2 + .../perl/perl-5.12.2/native-perlinc.patch | 2 + .../perl/perl-5.12.2/native-ssp.patch | 2 + .../perl/perl-5.12.2/parallel_build_fix_1.patch | 2 + .../perl/perl-5.12.2/parallel_build_fix_2.patch | 2 + .../perl/perl-5.12.2/parallel_build_fix_3.patch | 2 + .../perl/perl-5.12.2/parallel_build_fix_4.patch | 2 + .../perl/perl-5.12.2/parallel_build_fix_5.patch | 2 + .../perl/perl-5.12.2/parallel_build_fix_6.patch | 2 + .../perl/perl-5.12.2/perl-configpm-switch.patch | 2 + .../perl/perl-5.12.2/perl-dynloader.patch | 12 +++++- .../perl/perl-5.12.2/perl-enable-gdbm.patch | 2 + .../perl/perl-5.12.2/perl-moreconfig.patch | 2 + meta/recipes-devtools/perl/perl_5.12.2.bb | 2 +- 59 files changed, 178 insertions(+), 73 deletions(-) delete mode 100644 meta/recipes-devtools/perl/files/Configure-multilib.patch delete mode 100644 meta/recipes-devtools/perl/files/letgcc-find-errno.patch delete mode 100644 meta/recipes-devtools/perl/files/libperl-5.8.3-create-libperl-soname.patch create mode 100644 meta/recipes-devtools/perl/perl-5.12.2/Configure-multilib.patch create mode 100644 meta/recipes-devtools/perl/perl-5.12.2/letgcc-find-errno.patch (limited to 'meta') diff --git a/meta/recipes-devtools/perl/files/Configure-multilib.patch b/meta/recipes-devtools/perl/files/Configure-multilib.patch deleted file mode 100644 index b561b6a..0000000 --- a/meta/recipes-devtools/perl/files/Configure-multilib.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: perl-5.12.2/Configure -=================================================================== ---- perl-5.12.2.orig/Configure -+++ perl-5.12.2/Configure -@@ -1316,8 +1316,9 @@ loclibpth="/usr/local/lib /opt/local/lib - loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib" - - : general looking path for locating libraries --glibpth="/lib /usr/lib $xlibpth" -+glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth" - glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib" -+test -f /usr/lib/`uname -m`-linux-gnu/libc.so && glibpth="/usr/lib/`uname -m`-linux-gnu $glibpth" - test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth" - test -f /shlib/libc.so && glibpth="/shlib $glibpth" - test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64" diff --git a/meta/recipes-devtools/perl/files/letgcc-find-errno.patch b/meta/recipes-devtools/perl/files/letgcc-find-errno.patch deleted file mode 100644 index 47f972d..0000000 --- a/meta/recipes-devtools/perl/files/letgcc-find-errno.patch +++ /dev/null @@ -1,44 +0,0 @@ -This removes all the logic that perl uses to locate an appropriate -errno.h for the target. Instead we simple create a file that does - - #include "errno.h" - -and use that as the file to parse. This is needed when using an -external toolchain since perl will search in ${STAGING_INCDIR} for -errno.h (when using gcc) and that isn't where it's located - its -wherever the external toolchain keeps it's headers. - -Index: perl-5.12.2/ext/Errno/Errno_pm.PL -=================================================================== ---- perl-5.12.2.orig/ext/Errno/Errno_pm.PL -+++ perl-5.12.2/ext/Errno/Errno_pm.PL -@@ -17,8 +17,18 @@ unlink "Errno.tmp" if -f "Errno.tmp"; - open OUT, ">Errno.tmp" or die "Cannot open Errno.tmp: $!"; - select OUT; - my $file; --my @files = get_files(); --if ($Config{gccversion} ne '' && $^O eq 'MSWin32') { -+#my @files = get_files(); -+my @files = ("errno.h"); -+ -+if (1) { -+ open INCS, '>includes.c' or -+ die "Cannot open includes.c"; -+ print INCS qq[#include "errno.h"\n]; -+ close INCS; -+ process_file('includes.c'); -+ unlink 'includes.c'; -+} -+elsif ($Config{gccversion} ne '' && $^O eq 'MSWin32') { - # MinGW complains "warning: #pragma system_header ignored outside include - # file" if the header files are processed individually, so include them - # all in .c file and process that instead. -@@ -53,7 +63,7 @@ sub process_file { - chomp($file = `cygpath -w "$file"`); - } - -- return unless defined $file and -f $file; -+# return unless defined $file and -f $file; - # warn "Processing $file\n"; - - local *FH; diff --git a/meta/recipes-devtools/perl/files/libperl-5.8.3-create-libperl-soname.patch b/meta/recipes-devtools/perl/files/libperl-5.8.3-create-libperl-soname.patch deleted file mode 100644 index 6b34ec2..0000000 --- a/meta/recipes-devtools/perl/files/libperl-5.8.3-create-libperl-soname.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.SH.orig 2003-07-10 14:59:04.000000000 -0700 -+++ Makefile.SH 2003-07-10 15:14:08.000000000 -0700 -@@ -494,7 +494,7 @@ - case "$useshrplib" in - true) - $spitshell >>Makefile <<'!NO!SUBS!' -- $(LD) -o $@ $(SHRPLDFLAGS) perl$(OBJ_EXT) $(obj) $(libs) -+ $(LD) -o $@ $(SHRPLDFLAGS) perl$(OBJ_EXT) $(obj) $(libs) -soname libperl.so.5 - !NO!SUBS! - case "$osname" in - aix) diff --git a/meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch b/meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch index 6f2531b..cfe0047 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [embedded specific] + Correctly identify arch-specific modules in ext/ where the .pm files are under lib. diff --git a/meta/recipes-devtools/perl/perl-5.12.2/Configure-multilib.patch b/meta/recipes-devtools/perl/perl-5.12.2/Configure-multilib.patch new file mode 100644 index 0000000..6a4125b --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.2/Configure-multilib.patch @@ -0,0 +1,17 @@ +Upstream-Status:Pending + +Index: perl-5.12.2/Configure +=================================================================== +--- perl-5.12.2.orig/Configure ++++ perl-5.12.2/Configure +@@ -1316,8 +1316,9 @@ loclibpth="/usr/local/lib /opt/local/lib + loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib" + + : general looking path for locating libraries +-glibpth="/lib /usr/lib $xlibpth" ++glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth" + glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib" ++test -f /usr/lib/`uname -m`-linux-gnu/libc.so && glibpth="/usr/lib/`uname -m`-linux-gnu $glibpth" + test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth" + test -f /shlib/libc.so && glibpth="/shlib $glibpth" + test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64" diff --git a/meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch index 39e5fee..72f1b8f 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [embedded specific] + Index: perl-5.12.2/Makefile.SH =================================================================== --- perl-5.12.2.orig/Makefile.SH diff --git a/meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch index e7226ff..2c374ed 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [embedded specific] + Index: perl-5.12.2/Cross/Makefile =================================================================== --- perl-5.12.2.orig/Cross/Makefile diff --git a/meta/recipes-devtools/perl/perl-5.12.2/asm-pageh-fix.patch b/meta/recipes-devtools/perl/perl-5.12.2/asm-pageh-fix.patch index c972108..251beb9 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/asm-pageh-fix.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/asm-pageh-fix.patch @@ -1,3 +1,5 @@ +Upstream-Status:Pending + Perl inclues asm/page.h in order to get the definition for getpagesize which has been definied in unistd.h since glibc 2.1. Some recent version of linux libc headers removed the asm/page.h resulting in failures here for some diff --git a/meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch b/meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch index f6218c1..d59ad8d 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [embedded specific] + Index: perl-5.10.1/Makefile.SH =================================================================== --- perl-5.10.1.orig/Makefile.SH 2010-02-12 19:06:17.000000000 +0300 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff index 383df6b..c86ddc9 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Description: Downgrade the optimization of sv.c on arm due to a gcc-4.4 bug Bug-Debian: http://bugs.debian.org/580334 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff index 34b8a2c..c4b4c13 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Raise the timeout of ext/threads/shared/t/stress.t to accommodate slower build hosts Bug-Debian: http://bugs.debian.org/501970 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff index 799d15e..4a349b4 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Set location of CPAN::Config to /etc/perl as /usr may not be writable. diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff index f64af15..3e3e53f 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Provide a sensible INSTALLDIRS default for modules installed from CPAN. Some modules which are included in core set INSTALLDIRS => 'perl' diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff index 6956218..6510119 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Subject: Save local versions of CPANPLUS::Config::System into /etc/perl. diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff index 3a1e209..2ec063c 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Subject: Configure CPANPLUS to use the site directories by default. Closes: 533707 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff index 8d0e61b..a974d08 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Remove overly restrictive DB_File version check. Bug-Debian: http://bugs.debian.org/340047 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff index a515035..e580466 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Subject: Point users to Debian packages of deprecated core modules Bug-Debian: http://bugs.debian.org/580034 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff index 9e4d9cf..c656010 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Subject: Work around an ICE on ia64 Closes: 548943 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff index f540067..e036dc5 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Subject: Disable zlib bundling in Compress::Raw::Zlib diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff index ec7eba9..2f5d9a4 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Replace generic man(1) instructions with Debian-specific information. Indicate that the user needs to install the perl-doc package. diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff index 227dc10..e96d53d 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Tweak enc2xs to follow symlinks and ignore missing @INC directories. Bug-Debian: http://bugs.debian.org/290336 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff index f437008..b28b4bc 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Remove Errno version check due to upgrade problems with long-running processes. Bug-Debian: http://bugs.debian.org/343351 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/extutils_hacks.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/extutils_hacks.diff index 9134cac..1fb635d 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/extutils_hacks.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/extutils_hacks.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Various debian-specific ExtUtils changes * Respect umask during installation, and set as appropriate for each of diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff index e3430ce..380955b 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Postpone LD_LIBRARY_PATH evaluation to the binary targets. Modify the setting of LD_LIBRARY_PATH to append pre-existing values at the diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff index f8908ac..1e2c1ad 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Subject: Allow for flock returning EAGAIN instead of EWOULDBLOCK on linux/parisc Bug-Debian: http://bugs.debian.org/543731 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff index 6feb840..ef21261 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Subject: Fix stack pointer corruption in pp_concat() with 'use encoding' Bug-Debian: http://bugs.debian.org/596105 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff index 5f85894..798b7c2 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Subject: Fix CPANPLUS test failures when HOME doesn't exist Bug: http://rt.cpan.org/Public/Bug/Display.html?id=52988 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff index c2baf2f..49d797c 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Author: Robin Barker Subject: h2ph fix for gcc 4.5 Bug-Debian: http://bugs.debian.org/599933 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff index b9ea677..d7b43e9 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Author: Samuel Thibault Subject: Make hints/gnu.sh append to $ccflags rather than overriding them Bug-Debian: http://bugs.debian.org/587901 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff index bb5c0e8..ece4989 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Subject: LC_NUMERIC documentation fixes Bug-Debian: http://bugs.debian.org/379329 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff index 6a39820..b150e72 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Subject: Fix sprintf not to ignore LC_NUMERIC with constants Bug-Debian: http://bugs.debian.org/601549 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff index 6dc9712..f7b5e42 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Document the Net::SMTP 'Port' option Bug-Debian: http://bugs.debian.org/100195 Bug: http://rt.cpan.org/Public/Bug/Display.html?id=36038 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff index 5a444e3..3b645d1 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Always use PERLRUNINST when building perl modules. Bug-Debian: http://bugs.debian.org/357264 Bug: http://rt.cpan.org/Public/Bug/Display.html?id=17224 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff index 5670863..cfc57fa 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Debian policy doesn't install .packlist files for core or vendor. diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff index ffcfab9..ced1e8f 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Remove standard libs from LD_RUN_PATH as per Debian policy. diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff index 41bca97..ef0f369 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable. diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff index cda6089..d27a677 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Disable some threads tests on m68k for now due to missing TLS. Closes: #495826, #517938 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/mod_paths.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/mod_paths.diff index bfa4721..96fe4df 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/mod_paths.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/mod_paths.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Tweak @INC ordering for Debian Our order is: diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff index 320a90d..bc7fd9e 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Adjust Module::Build manual page extensions for the Debian Perl policy Bug-Debian: http://bugs.debian.org/479460 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff index c63c1e8..ebe942c 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Subject: Make perlivp skip include directories in /usr/local Closes: 510895 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff index 4d73717..0f49895 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Subject: Prune the list of libraries wanted to what we actually need. Bug-Debian: http://bugs.debian.org/128355 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff index 091dec4..68c1a35 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + From: Niko Tyni Subject: Squelch locale warnings in Debian package maintainer scripts Bug-Debian: http://bugs.debian.org/508764 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/generate-sh.patch b/meta/recipes-devtools/perl/perl-5.12.2/generate-sh.patch index ceb7419..47f91c5 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/generate-sh.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/generate-sh.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [embedded specific] + Use the ld flags from the supplied configuration file. For sh we need the flags that specify to build PIC code so that the shared libraries work. diff --git a/meta/recipes-devtools/perl/perl-5.12.2/installperl.patch b/meta/recipes-devtools/perl/perl-5.12.2/installperl.patch index d20961c..276eb3d 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/installperl.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/installperl.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [embedded specific] + Index: perl-5.12.2/installperl =================================================================== --- perl-5.12.2.orig/installperl diff --git a/meta/recipes-devtools/perl/perl-5.12.2/letgcc-find-errno.patch b/meta/recipes-devtools/perl/perl-5.12.2/letgcc-find-errno.patch new file mode 100644 index 0000000..268cb53 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.2/letgcc-find-errno.patch @@ -0,0 +1,46 @@ +Upstream-Status:Inappropriate [embedded specific] + +This removes all the logic that perl uses to locate an appropriate +errno.h for the target. Instead we simple create a file that does + + #include "errno.h" + +and use that as the file to parse. This is needed when using an +external toolchain since perl will search in ${STAGING_INCDIR} for +errno.h (when using gcc) and that isn't where it's located - its +wherever the external toolchain keeps it's headers. + +Index: perl-5.12.2/ext/Errno/Errno_pm.PL +=================================================================== +--- perl-5.12.2.orig/ext/Errno/Errno_pm.PL ++++ perl-5.12.2/ext/Errno/Errno_pm.PL +@@ -17,8 +17,18 @@ unlink "Errno.tmp" if -f "Errno.tmp"; + open OUT, ">Errno.tmp" or die "Cannot open Errno.tmp: $!"; + select OUT; + my $file; +-my @files = get_files(); +-if ($Config{gccversion} ne '' && $^O eq 'MSWin32') { ++#my @files = get_files(); ++my @files = ("errno.h"); ++ ++if (1) { ++ open INCS, '>includes.c' or ++ die "Cannot open includes.c"; ++ print INCS qq[#include "errno.h"\n]; ++ close INCS; ++ process_file('includes.c'); ++ unlink 'includes.c'; ++} ++elsif ($Config{gccversion} ne '' && $^O eq 'MSWin32') { + # MinGW complains "warning: #pragma system_header ignored outside include + # file" if the header files are processed individually, so include them + # all in .c file and process that instead. +@@ -53,7 +63,7 @@ sub process_file { + chomp($file = `cygpath -w "$file"`); + } + +- return unless defined $file and -f $file; ++# return unless defined $file and -f $file; + # warn "Processing $file\n"; + + local *FH; diff --git a/meta/recipes-devtools/perl/perl-5.12.2/native-nopacklist.patch b/meta/recipes-devtools/perl/perl-5.12.2/native-nopacklist.patch index 92b02d4..8d5b819 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/native-nopacklist.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/native-nopacklist.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [debian patch] + Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files Index: perl-5.12.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm diff --git a/meta/recipes-devtools/perl/perl-5.12.2/native-perlinc.patch b/meta/recipes-devtools/perl/perl-5.12.2/native-perlinc.patch index bf145ba..ffaf326 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/native-perlinc.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/native-perlinc.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [embedded specific] + Index: perl-5.8.8/lib/ExtUtils/MM_Unix.pm =================================================================== --- perl-5.12.2.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch b/meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch index 1c825f5..e1e6f08 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [embedded specific] + Fix for compiling with ssp enabled gcc: See http://bugs.openembedded.net/show_bug.cgi?id=1980 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_1.patch b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_1.patch index 63e6410..d5a6295 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_1.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_1.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [Backport] + Imported from perl git tree by Nitin A Kamble 2011-02-23 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_2.patch b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_2.patch index 6c536dd..a3432ab 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_2.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_2.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [Backport] + Imported from perl git tree by Nitin A Kamble 2011-02-23 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_3.patch b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_3.patch index a74a45d..26af1f1 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_3.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_3.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [Backport] + Imported from perl git tree by Nitin A Kamble 2011-02-23 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_4.patch b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_4.patch index 1a047bc..98bf074 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_4.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_4.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [Backport] + commit 43c0c913165d6abe1bc0cb45a784eb1c32c3700b Author: Nicholas Clark Date: Mon Feb 14 09:06:42 2011 +0000 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_5.patch b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_5.patch index abc1922..70f7104 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_5.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_5.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [Backport] + Rebased by Nitin A Kamble on 3/11/2011 commit 5e4c4c91bd52a48de59520d5e9b4e3478e49c613 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_6.patch b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_6.patch index 0520c30..cacf9fa 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_6.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_6.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [Backport] + Rebased by Nitin A Kamble on 3/11/2011 commit 7353f64c5bca6e7102582a1e0017c850930249c3 diff --git a/meta/recipes-devtools/perl/perl-5.12.2/perl-configpm-switch.patch b/meta/recipes-devtools/perl/perl-5.12.2/perl-configpm-switch.patch index ac519a0..9e9f342 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/perl-configpm-switch.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/perl-configpm-switch.patch @@ -1,3 +1,5 @@ +Upstream-Status:Inappropriate [native] + This patch is used for perl-native only. It enables the switching of configuration files between Config_heavy.pl and Config_heavy-target.pl by setting the environment variables diff --git a/meta/recipes-devtools/perl/perl-5.12.2/perl-dynloader.patch b/meta/recipes-devtools/perl/perl-5.12.2/perl-dynloader.patch index 061a823..21d8bb9 100644 --- a/meta/recipes-devtools/perl/perl-5.12.2/perl-dynloader.patch +++ b/meta/recipes-devtools/perl/perl-5.12.2/perl-dynloader.patch @@ -1,11 +1,15 @@ +Upstream-Status:Inappropriate [embedded specific] + Allow the location that .so files are searched for for dynamic loading to be changed via an environment variable. This is to allow us to load .so's from the host system while building for the target system. +Update by Nitin A Kamble 2011/04/21 + --- perl-5.12.2/dist/XSLoader/XSLoader_pm.PL 2007/04/20 09:03:08 1.1 +++ perl-5.12.2/dist/XSLoader/XSLoader_pm.PL 2007/04/20 09:03:08 -@@ -65,6 +65,15 @@ +@@ -65,6 +65,19 @@ print OUT <<'EOT'; my $modpname = join('/',@modparts); my $modlibname = (caller())[1]; @@ -15,7 +19,11 @@ system. + { + my $hostlib = $ENV{PERLHOSTLIB}; + print STDERR "*** Module name IN: $modlibname\n"; -+ $modlibname =~ s#(?