Tags: patch

Hi,

this error occurs because of changed preprocessor output in gcc-4.2. The
attached patch fixes conf/lib/mkdepend.sh to handle it. With this patch
applied smail doesn't FTBFS on my (amd64) box anymore.

Regards,
  Sebastian

--- smail-3.2.0.115/conf/lib/mkdepend.sh	2003-06-11 19:16:11.000000000 +0200
+++ smail-new/conf/lib/mkdepend.sh	2007-09-22 00:18:13.000000000 +0200
@@ -54,6 +54,7 @@
 		# the quoted filename.
 		# gcc-3.2 produces these stupid "fake" filenames
 		sed -n -e '/<built-in>/d' -e '/<command line>/d' \
+			-e '/<command-line>/d' \
 			-e 's/^#[ 	]*[0-9]*[ 	]*"\(.*\)"[ 0-9]*$/\1/p' |
 		sed -e 's%^\./%%' |	# remove ./ prefixes
 		# next remove 

Reply via email to