mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
Deleted these patches as they are part of the upstream code now.
deleted: files/perl-5.8.8-gcc-4.2.patch
deleted: perl-5.12.2/makedepend-dash.patch
deleted: perl-5.12.2/native-no-gdbminc.patch
deleted: perl-5.12.2/54_debian_perldoc-r.patch
And rebased these patches to the newer source code
modified: files/letgcc-find-errno.patch
modified: perl-5.12.2/Makefile.patch
modified: perl-5.12.2/asm-pageh-fix.patch
modified: perl-5.12.2/native-nopacklist.patch
modified: perl-5.12.2/native-perlinc.patch
modified: perl-5.12.2/Makefile.SH.patch
modified: perl-5.12.2/installperl.patch
modified: perl-5.12.2/perl-dynloader.patch
modified: perl-5.12.2/09_fix_installperl.patch
get patches from debian perl ver 5.12.2-2
the fakeroot.diff patch from debian is conflicting with our
Makefile.SH.patch, hence disabling the fakeroot patch
use newly created config files
Created with current milestone branch on qemu machines
modified: config.sh
modified: config.sh-32
modified: config.sh-64
get some changes from oe's perl 5.10.1 recipe
fix the Makefile.SH.patch use miniperl instead of perl
import a OE 5.10.1 patch: uudmap_cross
fix install issues
add /usr in the destdir, so that perl gets installed in
/usr/bin/perl and not in /bin/perl
link /usr/lib/perl to /usr/lib/perl5 so that operations with
/usr/lib/perl path in them keep on working.
Fix/Improve perl packaging
avoid perl-module-module-* kind of packages
recreate perl-rdepends_5.12.2.inc file with new set of packages
import from oe perl-rprovide_5.12.2.inc
combine all unicore perl scripts in one package
simplify perl-lib
reduce no of perl recipe packages greatly.
Add zlib to depedancy
fix buildtime host contamination
This also fixes [BUGID #384]
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
45 lines
1.5 KiB
Diff
45 lines
1.5 KiB
Diff
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;
|