diff options
Diffstat (limited to 'meta/recipes-devtools/perl/files')
-rw-r--r-- | meta/recipes-devtools/perl/files/letgcc-find-errno.patch | 14 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/files/perl-5.8.8-gcc-4.2.patch | 13 |
2 files changed, 8 insertions, 19 deletions
diff --git a/meta/recipes-devtools/perl/files/letgcc-find-errno.patch b/meta/recipes-devtools/perl/files/letgcc-find-errno.patch index 24722ee96..47f972d03 100644 --- a/meta/recipes-devtools/perl/files/letgcc-find-errno.patch +++ b/meta/recipes-devtools/perl/files/letgcc-find-errno.patch @@ -8,10 +8,12 @@ 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. ---- perl-5.8.8/ext/Errno/Errno_pm.PL 2007/04/30 14:10:10 1.1 -+++ perl-5.8.8/ext/Errno/Errno_pm.PL 2007/04/30 14:21:35 -@@ -11,8 +11,18 @@ - open OUT, ">Errno.pm" or die "Cannot open Errno.pm: $!"; +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(); @@ -31,12 +33,12 @@ wherever the external toolchain keeps it's headers. # 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. -@@ -44,7 +54,7 @@ +@@ -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"; + # warn "Processing $file\n"; local *FH; diff --git a/meta/recipes-devtools/perl/files/perl-5.8.8-gcc-4.2.patch b/meta/recipes-devtools/perl/files/perl-5.8.8-gcc-4.2.patch deleted file mode 100644 index 653a4758f..000000000 --- a/meta/recipes-devtools/perl/files/perl-5.8.8-gcc-4.2.patch +++ /dev/null @@ -1,13 +0,0 @@ -See http://bugs.openembedded.net/show_bug.cgi?id=2168 -Fix for gcc 4.2 - ---- perl-5.8.8/makedepend.SH.ark 2006-11-01 16:32:05.000000000 +0100 -+++ perl-5.8.8/makedepend.SH 2006-11-01 16:32:15.000000000 +0100 -@@ -167,6 +167,7 @@ - -e '/^#.*<builtin>/d' \ - -e '/^#.*<built-in>/d' \ - -e '/^#.*<command line>/d' \ -+ -e '/^#.*<command-line>/d' \ - -e '/^#.*"-"/d' \ - -e '/: file path prefix .* never used$/d' \ - -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \ |