summaryrefslogtreecommitdiff
path: root/packages/perl/files/perl-5.8.8-gcc-4.2.patch
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <bero@arklinux.org>2007-05-01 11:30:59 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-05-01 11:30:59 +0000
commit32cbfda7038c0ec4ebc806198a37541a688a5adc (patch)
treed0c8860371f0d093fe3669686bc4cbf47b392e43 /packages/perl/files/perl-5.8.8-gcc-4.2.patch
parent6cdb4b3fa2816832a6d04306320ca9c548fa4c56 (diff)
perl-native: Patch perl's makedepend.SH to work with gcc 4.2. Shouldn't be
needed for perl since it doesn't run makedepend.SH. Closes #2168
Diffstat (limited to 'packages/perl/files/perl-5.8.8-gcc-4.2.patch')
-rw-r--r--packages/perl/files/perl-5.8.8-gcc-4.2.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/perl/files/perl-5.8.8-gcc-4.2.patch b/packages/perl/files/perl-5.8.8-gcc-4.2.patch
new file mode 100644
index 0000000000..d9869e1974
--- /dev/null
+++ b/packages/perl/files/perl-5.8.8-gcc-4.2.patch
@@ -0,0 +1,13 @@
+See http://bugs.openembedded.org/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#" \