]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.722 v7.3.722
authorBram Moolenaar <Bram@vim.org>
Tue, 20 Nov 2012 16:03:27 +0000 (17:03 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 20 Nov 2012 16:03:27 +0000 (17:03 +0100)
Problem:    Perl flags may contain "-g", which breaks "make proto".
Solution:   Filter out the "-g" flag for cproto. (Ken Takata)

src/Makefile
src/version.c

index 36a26acd1a848f0ad00da9a121e96358fed53bc9..cb531a2047dd7b85e7b34b41e81837acf42f5527 100644 (file)
@@ -1753,10 +1753,11 @@ proto: $(PRO_AUTO) $(PRO_MANUAL)
 # Filter out arguments that cproto doesn't support.
 # Don't pass "-pthread" to cproto, it sees it as a list of individual flags.
 # Don't pass "-fstack-protector" to cproto, for the same reason.
+# Don't pass "-g" to cproto.
 # The -E"gcc -E" argument must be separate to avoid problems with shell
 # quoting.
 CPROTO = cproto $(PROTO_FLAGS) -DPROTO \
-        `echo '$(LINT_CFLAGS)' | sed -e 's/-pthread//g' -e 's/-fstack-protector//g'`
+        `echo '$(LINT_CFLAGS)' | sed -e 's/-pthread//g' -e 's/-fstack-protector//g' -e 's/\ -g\ / /g'`
 
 ### Would be nice if this would work for "normal" make.
 ### Currently it only works for (Free)BSD make.
index fdac7f14c9b31853eb005872c76be9d8426bdc13..7c65bd4178b7dfc36b55bcffc80dfc7b654bc536 100644 (file)
@@ -725,6 +725,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    722,
 /**/
     721,
 /**/