summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/files/letgcc-find-errno.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/files/letgcc-find-errno.patch')
-rw-r--r--meta/recipes-devtools/perl/files/letgcc-find-errno.patch14
1 files changed, 8 insertions, 6 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;