Filter out <command-line> from preprocessor output in makedepend.SH

to fix build with GCC 4.2.0.
This commit is contained in:
Alexander Kabaev 2007-05-03 02:47:15 +00:00
parent 1764b5c668
commit a6de985fad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191442
5 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- makedepend.SH.orig Wed May 2 22:37:13 2007
+++ makedepend.SH Wed May 2 22:38:48 2007
@@ -167,6 +167,7 @@
-e '/^#.*<builtin>/d' \
-e '/^#.*<built-in>/d' \
-e '/^#.*<command line>/d' \
+ -e '/^#.*<command-line>/d' \
-e '/^#.*"-"/d' \
-e '/: file path prefix .* never used$/d' \
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \

View file

@ -0,0 +1,10 @@
--- makedepend.SH.orig Wed May 2 22:37:13 2007
+++ makedepend.SH Wed May 2 22:38:48 2007
@@ -167,6 +167,7 @@
-e '/^#.*<builtin>/d' \
-e '/^#.*<built-in>/d' \
-e '/^#.*<command line>/d' \
+ -e '/^#.*<command-line>/d' \
-e '/^#.*"-"/d' \
-e '/: file path prefix .* never used$/d' \
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \

View file

@ -0,0 +1,10 @@
--- makedepend.SH.orig Wed May 2 22:37:13 2007
+++ makedepend.SH Wed May 2 22:38:48 2007
@@ -167,6 +167,7 @@
-e '/^#.*<builtin>/d' \
-e '/^#.*<built-in>/d' \
-e '/^#.*<command line>/d' \
+ -e '/^#.*<command-line>/d' \
-e '/^#.*"-"/d' \
-e '/: file path prefix .* never used$/d' \
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \

View file

@ -0,0 +1,10 @@
--- makedepend.SH.orig Wed May 2 22:37:13 2007
+++ makedepend.SH Wed May 2 22:38:48 2007
@@ -167,6 +167,7 @@
-e '/^#.*<builtin>/d' \
-e '/^#.*<built-in>/d' \
-e '/^#.*<command line>/d' \
+ -e '/^#.*<command-line>/d' \
-e '/^#.*"-"/d' \
-e '/: file path prefix .* never used$/d' \
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \

View file

@ -0,0 +1,10 @@
--- makedepend.SH.orig Wed May 2 22:37:13 2007
+++ makedepend.SH Wed May 2 22:38:48 2007
@@ -167,6 +167,7 @@
-e '/^#.*<builtin>/d' \
-e '/^#.*<built-in>/d' \
-e '/^#.*<command line>/d' \
+ -e '/^#.*<command-line>/d' \
-e '/^#.*"-"/d' \
-e '/: file path prefix .* never used$/d' \
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \