From f4d51e63c0df777bbcbe9ad160eb3ba41ae74c6e 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. Signed-off-by: Nitin A Kamble --- .../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 + 55 files changed, 177 insertions(+), 2 deletions(-) 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/recipes-devtools/perl/perl-5.12.2') 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 6f2531b95..cfe004724 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 000000000..6a4125b89 --- /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 39e5fee57..72f1b8fd0 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 e7226ff70..2c374ed85 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 c97210824..251beb9d1 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 f6218c1bb..d59ad8dae 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 383df6b35..c86ddc90c 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 34b8a2c1a..c4b4c1339 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 799d15e5d..4a349b4c7 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 f64af15ee..3e3e53f2a 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 6956218f8..65101194a 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 3a1e20994..2ec063cbd 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 8d0e61b1d..a974d08ea 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 a515035d9..e580466cc 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 9e4d9cfdf..c65601000 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 f54006721..e036dc53e 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 ec7eba98f..2f5d9a4fb 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 227dc1058..e96d53d8f 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 f4370086b..b28b4bca8 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 9134cac9f..1fb635da2 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 e3430ce2b..380955b52 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 f8908ac87..1e2c1ad47 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 6feb8401f..ef21261dc 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 5f85894a9..798b7c201 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 c2baf2fa7..49d797c31 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 b9ea6770f..d7b43e982 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 bb5c0e8c1..ece4989f4 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 6a3982001..b150e72e5 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 6dc97129b..f7b5e428b 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 5a444e3f6..3b645d136 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 5670863ac..cfc57fa61 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 ffcfab9d5..ced1e8f94 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 41bca9702..ef0f3698f 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 cda6089a0..d27a67763 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 bfa4721c4..96fe4dfef 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 320a90d84..bc7fd9e60 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 c63c1e81b..ebe942cbf 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 4d73717db..0f498951c 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 091dec45c..68c1a35b6 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 ceb74196d..47f91c56d 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 d20961c4f..276eb3d41 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 000000000..268cb531b --- /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 92b02d4af..8d5b81958 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 bf145ba6b..ffaf32629 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 1c825f50d..e1e6f0873 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 63e641003..d5a629538 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 6c536dd05..a3432ab43 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 a74a45d73..26af1f1d9 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 1a047bcc2..98bf0743f 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 abc1922cb..70f710478 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 0520c307d..cacf9fac2 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 ac519a027..9e9f34286 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 061a8236f..21d8bb96e 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#(?