summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2007-05-03 02:52:41 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2007-05-03 02:52:41 +0000
commit188c8ca8d4ece1d02a42b3ab8cef3738336c712c (patch)
tree303f76bdf00dfd08274b32509c7c0032d79d7315
parentFilter out <command-line> from preprocessor output in makedepend.SH (diff)
Filter out <command-line> from preprocessor output in makedepend.SH
to fix build with GCC 4.2.0.
Notes
Notes: svn path=/head/; revision=191443
-rw-r--r--japanese/perl5/files/patch-ag3
1 files changed, 2 insertions, 1 deletions
diff --git a/japanese/perl5/files/patch-ag b/japanese/perl5/files/patch-ag
index 7d4cc5d46407..ff337f2df958 100644
--- a/japanese/perl5/files/patch-ag
+++ b/japanese/perl5/files/patch-ag
@@ -8,12 +8,13 @@
*) $touch $firstmakefile ;;
esac
fi
-@@ -129,6 +130,8 @@
+@@ -129,6 +130,9 @@
$cppstdin $finc -I. $cppflags $cppminus <UU/$file.c |
$sed \
-e '/^#.*<stdin>/d' \
+ -e '/^#.*<built-in>/d' \
+ -e '/^#.*<command line>/d' \
++ -e '/^#.*<command-line>/d' \
-e '/^#.*"-"/d' \
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
-e 's/^[ ]*#[ ]*line/#/' \