summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/files')
-rw-r--r--meta/recipes-devtools/perl/files/letgcc-find-errno.patch14
-rw-r--r--meta/recipes-devtools/perl/files/perl-5.8.8-gcc-4.2.patch13
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 24722ee964..47f972d039 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
8errno.h (when using gcc) and that isn't where it's located - its 8errno.h (when using gcc) and that isn't where it's located - its
9wherever the external toolchain keeps it's headers. 9wherever the external toolchain keeps it's headers.
10 10
11--- perl-5.8.8/ext/Errno/Errno_pm.PL 2007/04/30 14:10:10 1.1 11Index: perl-5.12.2/ext/Errno/Errno_pm.PL
12+++ perl-5.8.8/ext/Errno/Errno_pm.PL 2007/04/30 14:21:35 12===================================================================
13@@ -11,8 +11,18 @@ 13--- perl-5.12.2.orig/ext/Errno/Errno_pm.PL
14 open OUT, ">Errno.pm" or die "Cannot open Errno.pm: $!"; 14+++ perl-5.12.2/ext/Errno/Errno_pm.PL
15@@ -17,8 +17,18 @@ unlink "Errno.tmp" if -f "Errno.tmp";
16 open OUT, ">Errno.tmp" or die "Cannot open Errno.tmp: $!";
15 select OUT; 17 select OUT;
16 my $file; 18 my $file;
17-my @files = get_files(); 19-my @files = get_files();
@@ -31,12 +33,12 @@ wherever the external toolchain keeps it's headers.
31 # MinGW complains "warning: #pragma system_header ignored outside include 33 # MinGW complains "warning: #pragma system_header ignored outside include
32 # file" if the header files are processed individually, so include them 34 # file" if the header files are processed individually, so include them
33 # all in .c file and process that instead. 35 # all in .c file and process that instead.
34@@ -44,7 +54,7 @@ 36@@ -53,7 +63,7 @@ sub process_file {
35 chomp($file = `cygpath -w "$file"`); 37 chomp($file = `cygpath -w "$file"`);
36 } 38 }
37 39
38- return unless defined $file and -f $file; 40- return unless defined $file and -f $file;
39+# return unless defined $file and -f $file; 41+# return unless defined $file and -f $file;
40 # warn "Processing $file\n"; 42 # warn "Processing $file\n";
41 43
42 local *FH; 44 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 653a4758f4..0000000000
--- a/meta/recipes-devtools/perl/files/perl-5.8.8-gcc-4.2.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1See http://bugs.openembedded.net/show_bug.cgi?id=2168
2Fix for gcc 4.2
3
4--- perl-5.8.8/makedepend.SH.ark 2006-11-01 16:32:05.000000000 +0100
5+++ perl-5.8.8/makedepend.SH 2006-11-01 16:32:15.000000000 +0100
6@@ -167,6 +167,7 @@
7 -e '/^#.*<builtin>/d' \
8 -e '/^#.*<built-in>/d' \
9 -e '/^#.*<command line>/d' \
10+ -e '/^#.*<command-line>/d' \
11 -e '/^#.*"-"/d' \
12 -e '/: file path prefix .* never used$/d' \
13 -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \