|
Karsten Hopp |
6fd135 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
6fd135 |
Subject: Patch 7.3.815
|
|
Karsten Hopp |
6fd135 |
Fcc: outbox
|
|
Karsten Hopp |
6fd135 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
6fd135 |
Mime-Version: 1.0
|
|
Karsten Hopp |
6fd135 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
6fd135 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
6fd135 |
------------
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
Patch 7.3.815
|
|
Karsten Hopp |
6fd135 |
Problem: Building with Cygwin and Ruby doesn't work.
|
|
Karsten Hopp |
6fd135 |
Solution: Copy some things from the MingW build file. (Ken Takata)
|
|
Karsten Hopp |
6fd135 |
Files: src/Make_cyg.mak
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
*** ../vim-7.3.814/src/Make_cyg.mak 2013-01-23 13:55:16.000000000 +0100
|
|
Karsten Hopp |
6fd135 |
--- src/Make_cyg.mak 2013-02-13 17:03:23.000000000 +0100
|
|
Karsten Hopp |
6fd135 |
***************
|
|
Karsten Hopp |
6fd135 |
*** 47,54 ****
|
|
Karsten Hopp |
6fd135 |
# (i386)
|
|
Karsten Hopp |
6fd135 |
# USEDLL no or yes: set to yes to use the Runtime library DLL (no)
|
|
Karsten Hopp |
6fd135 |
# For USEDLL=yes the cygwin1.dll is required to run Vim.
|
|
Karsten Hopp |
6fd135 |
! # "no" does not work with latest version of Cygwin, use
|
|
Karsten Hopp |
6fd135 |
! # Make_ming.mak instead. Or set CC to gcc-3 and add
|
|
Karsten Hopp |
6fd135 |
# -L/lib/w32api to EXTRA_LIBS.
|
|
Karsten Hopp |
6fd135 |
# POSTSCRIPT no or yes: set to yes for PostScript printing (no)
|
|
Karsten Hopp |
6fd135 |
# FEATURES TINY, SMALL, NORMAL, BIG or HUGE (BIG)
|
|
Karsten Hopp |
6fd135 |
--- 47,54 ----
|
|
Karsten Hopp |
6fd135 |
# (i386)
|
|
Karsten Hopp |
6fd135 |
# USEDLL no or yes: set to yes to use the Runtime library DLL (no)
|
|
Karsten Hopp |
6fd135 |
# For USEDLL=yes the cygwin1.dll is required to run Vim.
|
|
Karsten Hopp |
6fd135 |
! # For "no" the mingw-gcc-g++ package or the mingw64-i686-gcc-g++
|
|
Karsten Hopp |
6fd135 |
! # package is required to complie Vim. Or set CC to gcc-3 and add
|
|
Karsten Hopp |
6fd135 |
# -L/lib/w32api to EXTRA_LIBS.
|
|
Karsten Hopp |
6fd135 |
# POSTSCRIPT no or yes: set to yes for PostScript printing (no)
|
|
Karsten Hopp |
6fd135 |
# FEATURES TINY, SMALL, NORMAL, BIG or HUGE (BIG)
|
|
Karsten Hopp |
6fd135 |
***************
|
|
Karsten Hopp |
6fd135 |
*** 114,122 ****
|
|
Karsten Hopp |
6fd135 |
INCLUDES = -march=$(ARCH) -Iproto
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
#>>>>> name of the compiler and linker, name of lib directory
|
|
Karsten Hopp |
6fd135 |
! CROSS_COMPILE =
|
|
Karsten Hopp |
6fd135 |
CC = gcc
|
|
Karsten Hopp |
6fd135 |
RC = windres
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
##############################
|
|
Karsten Hopp |
6fd135 |
# DYNAMIC_PERL=yes and no both work
|
|
Karsten Hopp |
6fd135 |
--- 114,130 ----
|
|
Karsten Hopp |
6fd135 |
INCLUDES = -march=$(ARCH) -Iproto
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
#>>>>> name of the compiler and linker, name of lib directory
|
|
Karsten Hopp |
6fd135 |
! ifeq (yes, $(USEDLL))
|
|
Karsten Hopp |
6fd135 |
! # CROSS_COMPILE is used for the gvimext DLL.
|
|
Karsten Hopp |
6fd135 |
! CROSS_COMPILE = i686-pc-mingw32-
|
|
Karsten Hopp |
6fd135 |
CC = gcc
|
|
Karsten Hopp |
6fd135 |
RC = windres
|
|
Karsten Hopp |
6fd135 |
+ else
|
|
Karsten Hopp |
6fd135 |
+ # i686-pc-mingw32-gcc, i686-w64-mingw32-gcc or gcc-3 can be used.
|
|
Karsten Hopp |
6fd135 |
+ CROSS_COMPILE = i686-pc-mingw32-
|
|
Karsten Hopp |
6fd135 |
+ CC = $(CROSS_COMPILE)gcc
|
|
Karsten Hopp |
6fd135 |
+ RC = $(CROSS_COMPILE)windres
|
|
Karsten Hopp |
6fd135 |
+ endif
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
##############################
|
|
Karsten Hopp |
6fd135 |
# DYNAMIC_PERL=yes and no both work
|
|
Karsten Hopp |
6fd135 |
***************
|
|
Karsten Hopp |
6fd135 |
*** 193,223 ****
|
|
Karsten Hopp |
6fd135 |
##############################
|
|
Karsten Hopp |
6fd135 |
ifdef RUBY
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
ifndef RUBY_VER
|
|
Karsten Hopp |
6fd135 |
! RUBY_VER=16
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
-
|
|
Karsten Hopp |
6fd135 |
ifndef RUBY_VER_LONG
|
|
Karsten Hopp |
6fd135 |
! RUBY_VER_LONG=1.6
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
!
|
|
Karsten Hopp |
6fd135 |
! ifndef DYNAMIC_RUBY
|
|
Karsten Hopp |
6fd135 |
! DYNAMIC_RUBY = yes
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
- ifeq ($(RUBY_VER), 16)
|
|
Karsten Hopp |
6fd135 |
ifndef RUBY_PLATFORM
|
|
Karsten Hopp |
6fd135 |
RUBY_PLATFORM = i586-mswin32
|
|
Karsten Hopp |
6fd135 |
- endif
|
|
Karsten Hopp |
6fd135 |
- ifndef RUBY_INSTALL_NAME
|
|
Karsten Hopp |
6fd135 |
- RUBY_INSTALL_NAME = mswin32-ruby$(RUBY_VER)
|
|
Karsten Hopp |
6fd135 |
- endif
|
|
Karsten Hopp |
6fd135 |
else
|
|
Karsten Hopp |
6fd135 |
! ifndef RUBY_PLATFORM
|
|
Karsten Hopp |
6fd135 |
RUBY_PLATFORM = i386-mswin32
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
ifndef RUBY_INSTALL_NAME
|
|
Karsten Hopp |
6fd135 |
! RUBY_INSTALL_NAME = msvcrt-ruby$(RUBY_VER)
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
--- 201,237 ----
|
|
Karsten Hopp |
6fd135 |
##############################
|
|
Karsten Hopp |
6fd135 |
ifdef RUBY
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
+ ifndef DYNAMIC_RUBY
|
|
Karsten Hopp |
6fd135 |
+ DYNAMIC_RUBY=yes
|
|
Karsten Hopp |
6fd135 |
+ endif
|
|
Karsten Hopp |
6fd135 |
+ # Set default value
|
|
Karsten Hopp |
6fd135 |
ifndef RUBY_VER
|
|
Karsten Hopp |
6fd135 |
! RUBY_VER = 16
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
ifndef RUBY_VER_LONG
|
|
Karsten Hopp |
6fd135 |
! RUBY_VER_LONG = 1.6
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
! ifndef RUBY_API_VER
|
|
Karsten Hopp |
6fd135 |
! RUBY_API_VER = $(subst .,,$(RUBY_VER_LONG))
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
ifndef RUBY_PLATFORM
|
|
Karsten Hopp |
6fd135 |
+ ifeq ($(RUBY_VER), 16)
|
|
Karsten Hopp |
6fd135 |
RUBY_PLATFORM = i586-mswin32
|
|
Karsten Hopp |
6fd135 |
else
|
|
Karsten Hopp |
6fd135 |
! ifneq ($(wildcard $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/i386-mingw32),)
|
|
Karsten Hopp |
6fd135 |
! RUBY_PLATFORM = i386-mingw32
|
|
Karsten Hopp |
6fd135 |
! else
|
|
Karsten Hopp |
6fd135 |
RUBY_PLATFORM = i386-mswin32
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
+ endif
|
|
Karsten Hopp |
6fd135 |
+ endif
|
|
Karsten Hopp |
6fd135 |
+
|
|
Karsten Hopp |
6fd135 |
ifndef RUBY_INSTALL_NAME
|
|
Karsten Hopp |
6fd135 |
! ifeq ($(RUBY_VER), 16)
|
|
Karsten Hopp |
6fd135 |
! RUBY_INSTALL_NAME = mswin32-ruby$(RUBY_API_VER)
|
|
Karsten Hopp |
6fd135 |
! else
|
|
Karsten Hopp |
6fd135 |
! RUBY_INSTALL_NAME = msvcrt-ruby$(RUBY_API_VER)
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
***************
|
|
Karsten Hopp |
6fd135 |
*** 226,231 ****
|
|
Karsten Hopp |
6fd135 |
--- 240,249 ----
|
|
Karsten Hopp |
6fd135 |
endif
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
DEFINES += -DFEAT_RUBY
|
|
Karsten Hopp |
6fd135 |
+ ifneq ($(findstring w64-mingw32,$(CC)),)
|
|
Karsten Hopp |
6fd135 |
+ # A workaround for mingw-w64
|
|
Karsten Hopp |
6fd135 |
+ DEFINES += -DHAVE_STRUCT_TIMESPEC -DHAVE_STRUCT_TIMEZONE
|
|
Karsten Hopp |
6fd135 |
+ endif
|
|
Karsten Hopp |
6fd135 |
INCLUDES += -I$(RUBY)/lib/ruby/$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
|
|
Karsten Hopp |
6fd135 |
ifdef RUBY_19_OR_LATER
|
|
Karsten Hopp |
6fd135 |
INCLUDES += -I$(RUBY)/include/ruby-$(RUBY_VER_LONG) -I$(RUBY)/include/ruby-$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
|
|
Karsten Hopp |
6fd135 |
*** ../vim-7.3.814/src/version.c 2013-02-13 16:49:54.000000000 +0100
|
|
Karsten Hopp |
6fd135 |
--- src/version.c 2013-02-13 17:03:36.000000000 +0100
|
|
Karsten Hopp |
6fd135 |
***************
|
|
Karsten Hopp |
6fd135 |
*** 727,728 ****
|
|
Karsten Hopp |
6fd135 |
--- 727,730 ----
|
|
Karsten Hopp |
6fd135 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
6fd135 |
+ /**/
|
|
Karsten Hopp |
6fd135 |
+ 815,
|
|
Karsten Hopp |
6fd135 |
/**/
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
--
|
|
Karsten Hopp |
6fd135 |
ARTHUR: If you do not open these doors, we will take this castle by force ...
|
|
Karsten Hopp |
6fd135 |
[A bucket of slops land on ARTHUR. He tries to retain his dignity.]
|
|
Karsten Hopp |
6fd135 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
6fd135 |
|
|
Karsten Hopp |
6fd135 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
6fd135 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
6fd135 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
6fd135 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|