aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/perl5
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2007-05-03 10:52:41 +0800
committerkan <kan@FreeBSD.org>2007-05-03 10:52:41 +0800
commita1f32297d7984ade3cf000f42dcc92a68476676a (patch)
tree26a651ef1b0d96b7b070d9e5e5be058ad1934ad5 /japanese/perl5
parent1c550035b21d535c8ee1a3b16c6fc3860108c431 (diff)
downloadfreebsd-ports-gnome-a1f32297d7984ade3cf000f42dcc92a68476676a.tar.gz
freebsd-ports-gnome-a1f32297d7984ade3cf000f42dcc92a68476676a.tar.zst
freebsd-ports-gnome-a1f32297d7984ade3cf000f42dcc92a68476676a.zip
Filter out <command-line> from preprocessor output in makedepend.SH
to fix build with GCC 4.2.0.
Diffstat (limited to 'japanese/perl5')
-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/#/' \