summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-ae
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-08-04 10:27:58 +0000
committertnn <tnn@pkgsrc.org>2007-08-04 10:27:58 +0000
commit1b4e6adfd0960b2b41b559c39065ab4c854776d9 (patch)
treee78fc5e9f02568d95201a76faa8597ba2eefe461 /lang/perl5/patches/patch-ae
parent7ba9f9b6b152ad4c0735672925f820d6fad6f573 (diff)
downloadpkgsrc-1b4e6adfd0960b2b41b559c39065ab4c854776d9.tar.gz
A subtle change introduced in gcc-4.2.x broke perl's makedepend script.
The name of the "standard input file" in the preprocessor was changed from <command line> to <command-line>. Make makedepend recognize this.
Diffstat (limited to 'lang/perl5/patches/patch-ae')
-rw-r--r--lang/perl5/patches/patch-ae12
1 files changed, 10 insertions, 2 deletions
diff --git a/lang/perl5/patches/patch-ae b/lang/perl5/patches/patch-ae
index 8fee128b2e9..ecb395e7218 100644
--- a/lang/perl5/patches/patch-ae
+++ b/lang/perl5/patches/patch-ae
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.9 2005/06/24 06:43:46 jlam Exp $
+$NetBSD: patch-ae,v 1.10 2007/08/04 10:27:58 tnn Exp $
---- makedepend.SH.orig 2003-06-05 14:11:10.000000000 -0400
+--- makedepend.SH.orig 2003-06-05 20:11:10.000000000 +0200
+++ makedepend.SH
@@ -83,7 +83,6 @@ if test -f Makefile; then
# to be out of date. I don't know if OS/2 has touch, so do this:
@@ -10,3 +10,11 @@ $NetBSD: patch-ae,v 1.9 2005/06/24 06:43:46 jlam Exp $
*) $touch $firstmakefile ;;
esac
fi
+@@ -167,6 +166,7 @@ for file in `$cat .clist`; do
+ -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#" \