summaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2007-05-03 02:52:41 +0000
committerkan <kan@FreeBSD.org>2007-05-03 02:52:41 +0000
commita1f32297d7984ade3cf000f42dcc92a68476676a (patch)
tree26a651ef1b0d96b7b070d9e5e5be058ad1934ad5 /japanese
parent1c550035b21d535c8ee1a3b16c6fc3860108c431 (diff)
downloadFreeBSD-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-ag3
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/#/' \
OpenPOWER on IntegriCloud