jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.078

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