diff options
author | kan <kan@FreeBSD.org> | 2007-05-03 10:34:21 +0800 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2007-05-03 10:34:21 +0800 |
commit | 4be41206b33573031ee4ed355dfc7eccbe8373c4 (patch) | |
tree | 25f9c2f9054a02c7c84af517553c96b113f47b0e | |
parent | de00fe1344bd9d0edf3ae159b78447dd268cb0af (diff) | |
download | freebsd-ports-graphics-4be41206b33573031ee4ed355dfc7eccbe8373c4.tar.gz freebsd-ports-graphics-4be41206b33573031ee4ed355dfc7eccbe8373c4.tar.zst freebsd-ports-graphics-4be41206b33573031ee4ed355dfc7eccbe8373c4.zip |
Filter out <command-line> from preprocessor output in makedepend.SH
to fix build with GCC 4.2.0.
-rw-r--r-- | lang/perl5.6/files/patch-ae | 16 | ||||
-rw-r--r-- | lang/perl5/files/patch-ae | 16 |
2 files changed, 22 insertions, 10 deletions
diff --git a/lang/perl5.6/files/patch-ae b/lang/perl5.6/files/patch-ae index 27c3d9b7bd9..21e8da5bbe6 100644 --- a/lang/perl5.6/files/patch-ae +++ b/lang/perl5.6/files/patch-ae @@ -1,8 +1,6 @@ -$FreeBSD$ - ---- makedepend.SH.ORIG Fri Jul 24 06:00:58 1998 -+++ makedepend.SH Thu Jul 30 17:08:37 1998 -@@ -68,6 +68,7 @@ +--- makedepend.SH.orig Wed Jul 30 18:46:59 2003 ++++ makedepend.SH Wed May 2 22:24:46 2007 +@@ -73,6 +73,7 @@ case "$osname" in os2) ;; netbsd) ;; @@ -10,3 +8,11 @@ $FreeBSD$ *) $touch $firstmakefile ;; esac fi +@@ -163,6 +164,7 @@ + -e '/^#.*<builtin>/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/#/' \ diff --git a/lang/perl5/files/patch-ae b/lang/perl5/files/patch-ae index 27c3d9b7bd9..21e8da5bbe6 100644 --- a/lang/perl5/files/patch-ae +++ b/lang/perl5/files/patch-ae @@ -1,8 +1,6 @@ -$FreeBSD$ - ---- makedepend.SH.ORIG Fri Jul 24 06:00:58 1998 -+++ makedepend.SH Thu Jul 30 17:08:37 1998 -@@ -68,6 +68,7 @@ +--- makedepend.SH.orig Wed Jul 30 18:46:59 2003 ++++ makedepend.SH Wed May 2 22:24:46 2007 +@@ -73,6 +73,7 @@ case "$osname" in os2) ;; netbsd) ;; @@ -10,3 +8,11 @@ $FreeBSD$ *) $touch $firstmakefile ;; esac fi +@@ -163,6 +164,7 @@ + -e '/^#.*<builtin>/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/#/' \ |