|
Karsten Hopp |
c86e7c |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
c86e7c |
Subject: Patch 7.4.510
|
|
Karsten Hopp |
c86e7c |
Fcc: outbox
|
|
Karsten Hopp |
c86e7c |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
c86e7c |
Mime-Version: 1.0
|
|
Karsten Hopp |
c86e7c |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
c86e7c |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
c86e7c |
------------
|
|
Karsten Hopp |
c86e7c |
|
|
Karsten Hopp |
c86e7c |
Patch 7.4.510
|
|
Karsten Hopp |
c86e7c |
Problem: "-fwrapv" argument breaks use of cproto.
|
|
Karsten Hopp |
c86e7c |
Solution: Remove the alphabetic arguments in a drastic way.
|
|
Karsten Hopp |
c86e7c |
Files: src/Makefile
|
|
Karsten Hopp |
c86e7c |
|
|
Karsten Hopp |
c86e7c |
|
|
Karsten Hopp |
c86e7c |
*** ../vim-7.4.509/src/Makefile 2014-11-05 18:05:48.652441306 +0100
|
|
Karsten Hopp |
c86e7c |
--- src/Makefile 2014-11-12 15:24:56.357941730 +0100
|
|
Karsten Hopp |
c86e7c |
***************
|
|
Karsten Hopp |
c86e7c |
*** 1779,1791 ****
|
|
Karsten Hopp |
c86e7c |
proto: $(PRO_AUTO) $(PRO_MANUAL)
|
|
Karsten Hopp |
c86e7c |
|
|
Karsten Hopp |
c86e7c |
# Filter out arguments that cproto doesn't support.
|
|
Karsten Hopp |
c86e7c |
! # Don't pass "-pthread" to cproto, it sees it as a list of individual flags.
|
|
Karsten Hopp |
c86e7c |
! # Don't pass "-fstack-protector" to cproto, for the same reason.
|
|
Karsten Hopp |
c86e7c |
! # Don't pass "-g" to cproto.
|
|
Karsten Hopp |
c86e7c |
# The -E"gcc -E" argument must be separate to avoid problems with shell
|
|
Karsten Hopp |
c86e7c |
# quoting.
|
|
Karsten Hopp |
c86e7c |
CPROTO = cproto $(PROTO_FLAGS) -DPROTO \
|
|
Karsten Hopp |
c86e7c |
! `echo '$(LINT_CFLAGS)' | sed -e 's/-pthread//g' -e 's/-fstack-protector//g' -e 's/\ -g\ / /g'`
|
|
Karsten Hopp |
c86e7c |
|
|
Karsten Hopp |
c86e7c |
### Would be nice if this would work for "normal" make.
|
|
Karsten Hopp |
c86e7c |
### Currently it only works for (Free)BSD make.
|
|
Karsten Hopp |
c86e7c |
--- 1779,1790 ----
|
|
Karsten Hopp |
c86e7c |
proto: $(PRO_AUTO) $(PRO_MANUAL)
|
|
Karsten Hopp |
c86e7c |
|
|
Karsten Hopp |
c86e7c |
# Filter out arguments that cproto doesn't support.
|
|
Karsten Hopp |
c86e7c |
! # Don't pass "-pthread", "-fwrapv" and similar arguments to cproto, it sees
|
|
Karsten Hopp |
c86e7c |
! # them as a list of individual flags.
|
|
Karsten Hopp |
c86e7c |
# The -E"gcc -E" argument must be separate to avoid problems with shell
|
|
Karsten Hopp |
c86e7c |
# quoting.
|
|
Karsten Hopp |
c86e7c |
CPROTO = cproto $(PROTO_FLAGS) -DPROTO \
|
|
Karsten Hopp |
c86e7c |
! `echo '$(LINT_CFLAGS)' | sed -e 's/ -[a-z-]\+//g'`
|
|
Karsten Hopp |
c86e7c |
|
|
Karsten Hopp |
c86e7c |
### Would be nice if this would work for "normal" make.
|
|
Karsten Hopp |
c86e7c |
### Currently it only works for (Free)BSD make.
|
|
Karsten Hopp |
c86e7c |
*** ../vim-7.4.509/src/version.c 2014-11-12 15:15:34.983882077 +0100
|
|
Karsten Hopp |
c86e7c |
--- src/version.c 2014-11-12 15:37:34.401182559 +0100
|
|
Karsten Hopp |
c86e7c |
***************
|
|
Karsten Hopp |
c86e7c |
*** 743,744 ****
|
|
Karsten Hopp |
c86e7c |
--- 743,746 ----
|
|
Karsten Hopp |
c86e7c |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
c86e7c |
+ /**/
|
|
Karsten Hopp |
c86e7c |
+ 510,
|
|
Karsten Hopp |
c86e7c |
/**/
|
|
Karsten Hopp |
c86e7c |
|
|
Karsten Hopp |
c86e7c |
--
|
|
Karsten Hopp |
c86e7c |
[Autumn changed into Winter ... Winter changed into Spring ... Spring
|
|
Karsten Hopp |
c86e7c |
changed back into Autumn and Autumn gave Winter and Spring a miss and
|
|
Karsten Hopp |
c86e7c |
went straight on into Summer ... Until one day ...]
|
|
Karsten Hopp |
c86e7c |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
c86e7c |
|
|
Karsten Hopp |
c86e7c |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
c86e7c |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
c86e7c |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
c86e7c |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|