diff options
author | kan <kan@FreeBSD.org> | 2007-05-03 02:52:41 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2007-05-03 02:52:41 +0000 |
commit | a1f32297d7984ade3cf000f42dcc92a68476676a (patch) | |
tree | 26a651ef1b0d96b7b070d9e5e5be058ad1934ad5 /japanese | |
parent | 1c550035b21d535c8ee1a3b16c6fc3860108c431 (diff) | |
download | FreeBSD-ports-a1f32297d7984ade3cf000f42dcc92a68476676a.zip FreeBSD-ports-a1f32297d7984ade3cf000f42dcc92a68476676a.tar.gz |
Filter out <command-line> from preprocessor output in makedepend.SH
to fix build with GCC 4.2.0.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/perl5/files/patch-ag | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/japanese/perl5/files/patch-ag b/japanese/perl5/files/patch-ag index 7d4cc5d..ff337f2 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/#/' \ |