lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
a2e9038
To: vim-dev@vim.org
a2e9038
Subject: Patch 7.0.080
a2e9038
Fcc: outbox
a2e9038
From: Bram Moolenaar <Bram@moolenaar.net>
a2e9038
Mime-Version: 1.0
a2e9038
Content-Type: text/plain; charset=ISO-8859-1
a2e9038
Content-Transfer-Encoding: 8bit
a2e9038
------------
a2e9038
a2e9038
Patch 7.0.080
a2e9038
Problem:    Generating auto/pathdef.c fails for CFLAGS with a backslash.
a2e9038
Solution:   Double backslashes in the string. (Alexey Froloff)
a2e9038
Files:	    src/Makefile
a2e9038
a2e9038
a2e9038
*** ../vim-7.0.079/src/Makefile	Sat Sep  2 15:31:29 2006
a2e9038
--- src/Makefile	Fri Sep  1 21:00:29 2006
a2e9038
***************
a2e9038
*** 2261,2267 ****
a2e9038
  auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
a2e9038
  	CC="$(CC) $(OSDEF_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
a2e9038
  
a2e9038
! QUOTESED = sed -e 's/"/\\"/g' -e 's/\\"/"/' -e 's/\\";$$/";/'
a2e9038
  auto/pathdef.c: Makefile auto/config.mk
a2e9038
  	-@echo creating $@
a2e9038
  	-@echo '/* pathdef.c */' > $@
a2e9038
--- 2262,2268 ----
a2e9038
  auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
a2e9038
  	CC="$(CC) $(OSDEF_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
a2e9038
  
a2e9038
! QUOTESED = sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$$/";/'
a2e9038
  auto/pathdef.c: Makefile auto/config.mk
a2e9038
  	-@echo creating $@
a2e9038
  	-@echo '/* pathdef.c */' > $@
a2e9038
*** ../vim-7.0.079/src/version.c	Sat Sep  2 14:54:17 2006
a2e9038
--- src/version.c	Sat Sep  2 16:35:50 2006
a2e9038
***************
a2e9038
*** 668,669 ****
a2e9038
--- 668,671 ----
a2e9038
  {   /* Add new patch number below this line */
a2e9038
+ /**/
a2e9038
+     80,
a2e9038
  /**/
a2e9038
a2e9038
-- 
a2e9038
E  M  A  C  S
a2e9038
s  e  l  o  h
a2e9038
c  t  t  n  i
a2e9038
a  a     t  f
a2e9038
p        r  t
a2e9038
e        o
a2e9038
         l
a2e9038
a2e9038
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
a2e9038
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
a2e9038
\\\        download, build and distribute -- http://www.A-A-P.org        ///
a2e9038
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///