jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone
3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.078
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.078
3ef2ca
Problem:    MSVC 2013 is not supported.
3ef2ca
Solution:   Recognize and support MSVC 2013. (Ed Brown)
3ef2ca
Files:      src/Make_mvc.mak
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.077/src/Make_mvc.mak	2013-07-09 13:13:12.000000000 +0200
3ef2ca
--- src/Make_mvc.mak	2013-11-08 03:12:48.000000000 +0100
3ef2ca
***************
3ef2ca
*** 424,429 ****
3ef2ca
--- 424,432 ----
3ef2ca
  !if "$(_NMAKE_VER)" == "11.00.60610.1"
3ef2ca
  MSVCVER = 11.0
3ef2ca
  !endif
3ef2ca
+ !if "$(_NMAKE_VER)" == "12.00.21005.1"
3ef2ca
+ MSVCVER = 12.0
3ef2ca
+ !endif
3ef2ca
  !endif
3ef2ca
  
3ef2ca
  # Abort building VIM if version of VC is unrecognised.
3ef2ca
***************
3ef2ca
*** 438,444 ****
3ef2ca
  !endif
3ef2ca
  
3ef2ca
  # Convert processor ID to MVC-compatible number
3ef2ca
! !if ("$(MSVCVER)" != "8.0") && ("$(MSVCVER)" != "9.0") && ("$(MSVCVER)" != "10.0") && ("$(MSVCVER)" != "11.0")
3ef2ca
  !if "$(CPUNR)" == "i386"
3ef2ca
  CPUARG = /G3
3ef2ca
  !elseif "$(CPUNR)" == "i486"
3ef2ca
--- 441,447 ----
3ef2ca
  !endif
3ef2ca
  
3ef2ca
  # Convert processor ID to MVC-compatible number
3ef2ca
! !if ("$(MSVCVER)" != "8.0") && ("$(MSVCVER)" != "9.0") && ("$(MSVCVER)" != "10.0") && ("$(MSVCVER)" != "11.0") && ("$(MSVCVER)" != "12.0")
3ef2ca
  !if "$(CPUNR)" == "i386"
3ef2ca
  CPUARG = /G3
3ef2ca
  !elseif "$(CPUNR)" == "i486"
3ef2ca
***************
3ef2ca
*** 472,478 ****
3ef2ca
  OPTFLAG = /Ox
3ef2ca
  !endif
3ef2ca
  
3ef2ca
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0")
3ef2ca
  # Use link time code generation if not worried about size
3ef2ca
  !if "$(OPTIMIZE)" != "SPACE"
3ef2ca
  OPTFLAG = $(OPTFLAG) /GL
3ef2ca
--- 475,481 ----
3ef2ca
  OPTFLAG = /Ox
3ef2ca
  !endif
3ef2ca
  
3ef2ca
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0") || ("$(MSVCVER)" == "12.0")
3ef2ca
  # Use link time code generation if not worried about size
3ef2ca
  !if "$(OPTIMIZE)" != "SPACE"
3ef2ca
  OPTFLAG = $(OPTFLAG) /GL
3ef2ca
***************
3ef2ca
*** 485,491 ****
3ef2ca
  !endif
3ef2ca
  
3ef2ca
  # Static code analysis generally available starting with VS2012
3ef2ca
! !if ("$(ANALYZE)" == "yes") && ("$(MSVCVER)" == "11.0")
3ef2ca
  CFLAGS=$(CFLAGS) /analyze
3ef2ca
  !endif
3ef2ca
  
3ef2ca
--- 488,494 ----
3ef2ca
  !endif
3ef2ca
  
3ef2ca
  # Static code analysis generally available starting with VS2012
3ef2ca
! !if ("$(ANALYZE)" == "yes") && ("$(MSVCVER)" == "11.0") && ("$(MSVCVER)" == "12.0")
3ef2ca
  CFLAGS=$(CFLAGS) /analyze
3ef2ca
  !endif
3ef2ca
  
3ef2ca
***************
3ef2ca
*** 943,949 ****
3ef2ca
  
3ef2ca
  # Report link time code generation progress if used. 
3ef2ca
  !ifdef NODEBUG
3ef2ca
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0")
3ef2ca
  !if "$(OPTIMIZE)" != "SPACE"
3ef2ca
  LINKARGS1 = $(LINKARGS1) /LTCG:STATUS
3ef2ca
  !endif
3ef2ca
--- 946,952 ----
3ef2ca
  
3ef2ca
  # Report link time code generation progress if used. 
3ef2ca
  !ifdef NODEBUG
3ef2ca
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0") || ("$(MSVCVER)" == "12.0")
3ef2ca
  !if "$(OPTIMIZE)" != "SPACE"
3ef2ca
  LINKARGS1 = $(LINKARGS1) /LTCG:STATUS
3ef2ca
  !endif
3ef2ca
*** ../vim-7.4.077/src/version.c	2013-11-07 04:49:23.000000000 +0100
3ef2ca
--- src/version.c	2013-11-08 03:13:56.000000000 +0100
3ef2ca
***************
3ef2ca
*** 740,741 ****
3ef2ca
--- 740,743 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     78,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
Every time I lose weight, it finds me again!
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///