Karsten Hopp 4dcbec
To: vim_dev@googlegroups.com
Karsten Hopp 4dcbec
Subject: Patch 7.3.735
Karsten Hopp 4dcbec
Fcc: outbox
Karsten Hopp 4dcbec
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 4dcbec
Mime-Version: 1.0
Karsten Hopp 4dcbec
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 4dcbec
Content-Transfer-Encoding: 8bit
Karsten Hopp 4dcbec
------------
Karsten Hopp 4dcbec
Karsten Hopp 4dcbec
Patch 7.3.735
Karsten Hopp 4dcbec
Problem:    Cannot build Ruby 1.9 with MingW or Cygwin.
Karsten Hopp 4dcbec
Solution:   Add another include directory. (Ken Takata)
Karsten Hopp 4dcbec
Files:	    src/Make_cyg.mak, src/Make_ming.mak
Karsten Hopp 4dcbec
Karsten Hopp 4dcbec
Karsten Hopp 4dcbec
*** ../vim-7.3.734/src/Make_cyg.mak	2012-07-06 13:40:44.000000000 +0200
Karsten Hopp 4dcbec
--- src/Make_cyg.mak	2012-11-28 16:14:41.000000000 +0100
Karsten Hopp 4dcbec
***************
Karsten Hopp 4dcbec
*** 21,27 ****
Karsten Hopp 4dcbec
  #   TCL_VER	define to version of TCL being used (83)
Karsten Hopp 4dcbec
  #   DYNAMIC_TCL no or yes: use yes to load the TCL DLL dynamically (yes)
Karsten Hopp 4dcbec
  # RUBY		define to path to Ruby dir to get Ruby support (not defined)
Karsten Hopp 4dcbec
! #   RUBY_VER	define to version of Ruby being used (16)
Karsten Hopp 4dcbec
  #   DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (yes)
Karsten Hopp 4dcbec
  # MZSCHEME	define to path to MzScheme dir to get MZSCHEME support (not defined)
Karsten Hopp 4dcbec
  #   MZSCHEME_VER      define to version of MzScheme being used (209_000)
Karsten Hopp 4dcbec
--- 21,31 ----
Karsten Hopp 4dcbec
  #   TCL_VER	define to version of TCL being used (83)
Karsten Hopp 4dcbec
  #   DYNAMIC_TCL no or yes: use yes to load the TCL DLL dynamically (yes)
Karsten Hopp 4dcbec
  # RUBY		define to path to Ruby dir to get Ruby support (not defined)
Karsten Hopp 4dcbec
! #   RUBY_VER		define to version of Ruby being used (16)
Karsten Hopp 4dcbec
! #   RUBY_VER_LONG	same, but in format with dot. (1.6)
Karsten Hopp 4dcbec
! #	    You must set RUBY_VER_LONG when changing RUBY_VER.
Karsten Hopp 4dcbec
! #	    You must set RUBY_API_VER version to RUBY_VER_LONG.
Karsten Hopp 4dcbec
! #	    Don't set ruby API version to RUBY_VER like 191.
Karsten Hopp 4dcbec
  #   DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (yes)
Karsten Hopp 4dcbec
  # MZSCHEME	define to path to MzScheme dir to get MZSCHEME support (not defined)
Karsten Hopp 4dcbec
  #   MZSCHEME_VER      define to version of MzScheme being used (209_000)
Karsten Hopp 4dcbec
***************
Karsten Hopp 4dcbec
*** 217,224 ****
Karsten Hopp 4dcbec
--- 221,235 ----
Karsten Hopp 4dcbec
  endif
Karsten Hopp 4dcbec
  endif
Karsten Hopp 4dcbec
  
Karsten Hopp 4dcbec
+ ifeq (19, $(word 1,$(sort 19 $(RUBY_VER))))
Karsten Hopp 4dcbec
+ RUBY_19_OR_LATER = 1
Karsten Hopp 4dcbec
+ endif
Karsten Hopp 4dcbec
+ 
Karsten Hopp 4dcbec
  DEFINES += -DFEAT_RUBY
Karsten Hopp 4dcbec
  INCLUDES += -I$(RUBY)/lib/ruby/$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
Karsten Hopp 4dcbec
+ ifdef RUBY_19_OR_LATER
Karsten Hopp 4dcbec
+ INCLUDES += -I$(RUBY)/include/ruby-$(RUBY_VER_LONG) -I$(RUBY)/include/ruby-$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
Karsten Hopp 4dcbec
+ endif
Karsten Hopp 4dcbec
  EXTRA_OBJS += $(OUTDIR)/if_ruby.o
Karsten Hopp 4dcbec
  
Karsten Hopp 4dcbec
  ifeq (yes, $(DYNAMIC_RUBY))
Karsten Hopp 4dcbec
*** ../vim-7.3.734/src/Make_ming.mak	2012-09-05 17:57:34.000000000 +0200
Karsten Hopp 4dcbec
--- src/Make_ming.mak	2012-11-28 16:14:16.000000000 +0100
Karsten Hopp 4dcbec
***************
Karsten Hopp 4dcbec
*** 301,307 ****
Karsten Hopp 4dcbec
  endif
Karsten Hopp 4dcbec
  endif
Karsten Hopp 4dcbec
  
Karsten Hopp 4dcbec
! RUBYINC =-I $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/$(RUBY_PLATFORM) -I $(RUBY)/include/ruby-$(RUBY_VER_LONG) -I $(RUBY)/include/ruby-$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
Karsten Hopp 4dcbec
  ifeq (no, $(DYNAMIC_RUBY))
Karsten Hopp 4dcbec
  RUBYLIB = -L$(RUBY)/lib -l$(RUBY_INSTALL_NAME)
Karsten Hopp 4dcbec
  endif
Karsten Hopp 4dcbec
--- 301,314 ----
Karsten Hopp 4dcbec
  endif
Karsten Hopp 4dcbec
  endif
Karsten Hopp 4dcbec
  
Karsten Hopp 4dcbec
! ifeq (19, $(word 1,$(sort 19 $(RUBY_VER))))
Karsten Hopp 4dcbec
! RUBY_19_OR_LATER = 1
Karsten Hopp 4dcbec
! endif
Karsten Hopp 4dcbec
! 
Karsten Hopp 4dcbec
! RUBYINC = -I $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
Karsten Hopp 4dcbec
! ifdef RUBY_19_OR_LATER
Karsten Hopp 4dcbec
! RUBYINC += -I $(RUBY)/include/ruby-$(RUBY_VER_LONG) -I $(RUBY)/include/ruby-$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
Karsten Hopp 4dcbec
! endif
Karsten Hopp 4dcbec
  ifeq (no, $(DYNAMIC_RUBY))
Karsten Hopp 4dcbec
  RUBYLIB = -L$(RUBY)/lib -l$(RUBY_INSTALL_NAME)
Karsten Hopp 4dcbec
  endif
Karsten Hopp 4dcbec
*** ../vim-7.3.734/src/version.c	2012-11-28 16:06:13.000000000 +0100
Karsten Hopp 4dcbec
--- src/version.c	2012-11-28 16:16:28.000000000 +0100
Karsten Hopp 4dcbec
***************
Karsten Hopp 4dcbec
*** 727,728 ****
Karsten Hopp 4dcbec
--- 727,730 ----
Karsten Hopp 4dcbec
  {   /* Add new patch number below this line */
Karsten Hopp 4dcbec
+ /**/
Karsten Hopp 4dcbec
+     735,
Karsten Hopp 4dcbec
  /**/
Karsten Hopp 4dcbec
Karsten Hopp 4dcbec
-- 
Karsten Hopp 4dcbec
From "know your smileys":
Karsten Hopp 4dcbec
 :----}  You lie like Pinocchio
Karsten Hopp 4dcbec
Karsten Hopp 4dcbec
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 4dcbec
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 4dcbec
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 4dcbec
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///