]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.735
- add patches 7.3.619-743
[packages/vim.git] / 7.3.735
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.735
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.735
11 Problem:    Cannot build Ruby 1.9 with MingW or Cygwin.
12 Solution:   Add another include directory. (Ken Takata)
13 Files:      src/Make_cyg.mak, src/Make_ming.mak
14
15
16 *** ../vim-7.3.734/src/Make_cyg.mak     2012-07-06 13:40:44.000000000 +0200
17 --- src/Make_cyg.mak    2012-11-28 16:14:41.000000000 +0100
18 ***************
19 *** 21,27 ****
20   #   TCL_VER   define to version of TCL being used (83)
21   #   DYNAMIC_TCL no or yes: use yes to load the TCL DLL dynamically (yes)
22   # RUBY                define to path to Ruby dir to get Ruby support (not defined)
23 ! #   RUBY_VER  define to version of Ruby being used (16)
24   #   DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (yes)
25   # MZSCHEME    define to path to MzScheme dir to get MZSCHEME support (not defined)
26   #   MZSCHEME_VER      define to version of MzScheme being used (209_000)
27 --- 21,31 ----
28   #   TCL_VER   define to version of TCL being used (83)
29   #   DYNAMIC_TCL no or yes: use yes to load the TCL DLL dynamically (yes)
30   # RUBY                define to path to Ruby dir to get Ruby support (not defined)
31 ! #   RUBY_VER          define to version of Ruby being used (16)
32 ! #   RUBY_VER_LONG     same, but in format with dot. (1.6)
33 ! #         You must set RUBY_VER_LONG when changing RUBY_VER.
34 ! #         You must set RUBY_API_VER version to RUBY_VER_LONG.
35 ! #         Don't set ruby API version to RUBY_VER like 191.
36   #   DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (yes)
37   # MZSCHEME    define to path to MzScheme dir to get MZSCHEME support (not defined)
38   #   MZSCHEME_VER      define to version of MzScheme being used (209_000)
39 ***************
40 *** 217,224 ****
41 --- 221,235 ----
42   endif
43   endif
44   
45 + ifeq (19, $(word 1,$(sort 19 $(RUBY_VER))))
46 + RUBY_19_OR_LATER = 1
47 + endif
48
49   DEFINES += -DFEAT_RUBY
50   INCLUDES += -I$(RUBY)/lib/ruby/$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
51 + ifdef RUBY_19_OR_LATER
52 + INCLUDES += -I$(RUBY)/include/ruby-$(RUBY_VER_LONG) -I$(RUBY)/include/ruby-$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
53 + endif
54   EXTRA_OBJS += $(OUTDIR)/if_ruby.o
55   
56   ifeq (yes, $(DYNAMIC_RUBY))
57 *** ../vim-7.3.734/src/Make_ming.mak    2012-09-05 17:57:34.000000000 +0200
58 --- src/Make_ming.mak   2012-11-28 16:14:16.000000000 +0100
59 ***************
60 *** 301,307 ****
61   endif
62   endif
63   
64 ! 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)
65   ifeq (no, $(DYNAMIC_RUBY))
66   RUBYLIB = -L$(RUBY)/lib -l$(RUBY_INSTALL_NAME)
67   endif
68 --- 301,314 ----
69   endif
70   endif
71   
72 ! ifeq (19, $(word 1,$(sort 19 $(RUBY_VER))))
73 ! RUBY_19_OR_LATER = 1
74 ! endif
75
76 ! RUBYINC = -I $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
77 ! ifdef RUBY_19_OR_LATER
78 ! RUBYINC += -I $(RUBY)/include/ruby-$(RUBY_VER_LONG) -I $(RUBY)/include/ruby-$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
79 ! endif
80   ifeq (no, $(DYNAMIC_RUBY))
81   RUBYLIB = -L$(RUBY)/lib -l$(RUBY_INSTALL_NAME)
82   endif
83 *** ../vim-7.3.734/src/version.c        2012-11-28 16:06:13.000000000 +0100
84 --- src/version.c       2012-11-28 16:16:28.000000000 +0100
85 ***************
86 *** 727,728 ****
87 --- 727,730 ----
88   {   /* Add new patch number below this line */
89 + /**/
90 +     735,
91   /**/
92
93 -- 
94 From "know your smileys":
95  :----}  You lie like Pinocchio
96
97  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
98 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
99 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
100  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.206191 seconds and 3 git commands to generate.