+++ /dev/null
---- 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)
+Upstream-Status:Inappropriate [embedded specific]
+
Correctly identify arch-specific modules in ext/ where the .pm files
are under lib.
+Upstream-Status:Pending
+
Index: perl-5.12.2/Configure
===================================================================
--- perl-5.12.2.orig/Configure
+Upstream-Status:Inappropriate [embedded specific]
+
Index: perl-5.12.2/Makefile.SH
===================================================================
--- perl-5.12.2.orig/Makefile.SH
+Upstream-Status:Inappropriate [embedded specific]
+
Index: perl-5.12.2/Cross/Makefile
===================================================================
--- perl-5.12.2.orig/Cross/Makefile
+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
+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
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Description: Downgrade the optimization of sv.c on arm due to a gcc-4.4 bug
Bug-Debian: http://bugs.debian.org/580334
+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
+Upstream-Status:Inappropriate [debian patch]
+
Subject: Set location of CPAN::Config to /etc/perl as /usr may not be writable.
+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'
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Subject: Save local versions of CPANPLUS::Config::System into /etc/perl.
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Subject: Configure CPANPLUS to use the site directories by default.
Closes: 533707
+Upstream-Status:Inappropriate [debian patch]
+
Subject: Remove overly restrictive DB_File version check.
Bug-Debian: http://bugs.debian.org/340047
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Subject: Point users to Debian packages of deprecated core modules
Bug-Debian: http://bugs.debian.org/580034
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Subject: Work around an ICE on ia64
Closes: 548943
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Subject: Disable zlib bundling in Compress::Raw::Zlib
+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.
+Upstream-Status:Inappropriate [debian patch]
+
Subject: Tweak enc2xs to follow symlinks and ignore missing @INC directories.
Bug-Debian: http://bugs.debian.org/290336
+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
+Upstream-Status:Inappropriate [debian patch]
+
Subject: Various debian-specific ExtUtils changes
* Respect umask during installation, and set as appropriate for each of
+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
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Subject: Allow for flock returning EAGAIN instead of EWOULDBLOCK on linux/parisc
Bug-Debian: http://bugs.debian.org/543731
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Subject: Fix stack pointer corruption in pp_concat() with 'use encoding'
Bug-Debian: http://bugs.debian.org/596105
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Subject: Fix CPANPLUS test failures when HOME doesn't exist
Bug: http://rt.cpan.org/Public/Bug/Display.html?id=52988
+Upstream-Status:Inappropriate [debian patch]
+
Author: Robin Barker <rmbarker@cpan.org>
Subject: h2ph fix for gcc 4.5
Bug-Debian: http://bugs.debian.org/599933
+Upstream-Status:Inappropriate [debian patch]
+
Author: Samuel Thibault <sthibault@debian.org>
Subject: Make hints/gnu.sh append to $ccflags rather than overriding them
Bug-Debian: http://bugs.debian.org/587901
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Subject: LC_NUMERIC documentation fixes
Bug-Debian: http://bugs.debian.org/379329
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Subject: Fix sprintf not to ignore LC_NUMERIC with constants
Bug-Debian: http://bugs.debian.org/601549
+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
+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
+Upstream-Status:Inappropriate [debian patch]
+
Subject: Debian policy doesn't install .packlist files for core or vendor.
+Upstream-Status:Inappropriate [debian patch]
+
Subject: Remove standard libs from LD_RUN_PATH as per Debian policy.
+Upstream-Status:Inappropriate [debian patch]
+
Subject: Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable.
+Upstream-Status:Inappropriate [debian patch]
+
Subject: Disable some threads tests on m68k for now due to missing TLS.
Closes: #495826, #517938
+Upstream-Status:Inappropriate [debian patch]
+
Subject: Tweak @INC ordering for Debian
Our order is:
+Upstream-Status:Inappropriate [debian patch]
+
Subject: Adjust Module::Build manual page extensions for the Debian Perl policy
Bug-Debian: http://bugs.debian.org/479460
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Subject: Make perlivp skip include directories in /usr/local
Closes: 510895
+Upstream-Status:Inappropriate [debian patch]
+
Subject: Prune the list of libraries wanted to what we actually need.
Bug-Debian: http://bugs.debian.org/128355
+Upstream-Status:Inappropriate [debian patch]
+
From: Niko Tyni <ntyni@debian.org>
Subject: Squelch locale warnings in Debian package maintainer scripts
Bug-Debian: http://bugs.debian.org/508764
+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.
+Upstream-Status:Inappropriate [embedded specific]
+
Index: perl-5.12.2/installperl
===================================================================
--- perl-5.12.2.orig/installperl
+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
+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
+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
+Upstream-Status:Inappropriate [embedded specific]
+
Fix for compiling with ssp enabled gcc:
See http://bugs.openembedded.net/show_bug.cgi?id=1980
+Upstream-Status:Inappropriate [Backport]
+
Imported from perl git tree by Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-23
+Upstream-Status:Inappropriate [Backport]
+
Imported from perl git tree by Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-23
+Upstream-Status:Inappropriate [Backport]
+
Imported from perl git tree by Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-23
+Upstream-Status:Inappropriate [Backport]
+
commit 43c0c913165d6abe1bc0cb45a784eb1c32c3700b
Author: Nicholas Clark <nick@ccl4.org>
Date: Mon Feb 14 09:06:42 2011 +0000
+Upstream-Status:Inappropriate [Backport]
+
Rebased by Nitin A Kamble <nitin.a.kamble@intel.com> on 3/11/2011
commit 5e4c4c91bd52a48de59520d5e9b4e3478e49c613
+Upstream-Status:Inappropriate [Backport]
+
Rebased by Nitin A Kamble <nitin.a.kamble@intel.com> on 3/11/2011
commit 7353f64c5bca6e7102582a1e0017c850930249c3
+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
+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 <nitin.a.kamble@intel.com> 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];
+ {
+ my $hostlib = $ENV{PERLHOSTLIB};
+ print STDERR "*** Module name IN: $modlibname\n";
-+ $modlibname =~ s#(?<!/)(\.\./)*lib/#$hostlib#g;
++ ($p1, $p2, $p3, $p4, $p5) = $modlibname =~ m/(^(.*lib\/)?)((perl\/[0-9\.]*\/)?)(.*)$/;
++ print STDERR "*** p1: $p1 p3: $p3 p5: $p5\n";
++ if ( $p1 ne "" ) {
++ $modlibname = $hostlib.$p5;
++ }
+ print STDERR "*** Module name OUT: $modlibname\n";
+ }
my $c = @modparts;
+Upstream-Status:Inappropriate [embedded specific]
+
Index: perl-5.8.8/config_h.SH
===================================================================
--- perl-5.8.8.orig/config_h.SH 2005-11-01 02:13:05.000000000 +0800
+Upstream-Status:Inappropriate [embedded specific]
+
We need ld in the fake config library, but it's not included by default. So
expand the number of items included. While this works it indicates that the
rest of the config items are not being picked up and/or are being picked up
# We need gnugrep (for -I)
DEPENDS = "virtual/db perl-native-${PV} grep-native"
DEPENDS += "gdbm zlib"
-PR = "r3"
+PR = "r4"
# 5.10.1 has Module::Build built-in
PROVIDES += "libmodule-build-perl"