jkunstle / rpms / vim

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