jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone
3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.092
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.092 (after 7.4.088)
3ef2ca
Problem:    Can't build small version.
3ef2ca
Solution:   Add #ifdef where the b_cjk flag is used. (Ken Takata)
3ef2ca
Files:      src/spell.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.091/src/spell.c	2013-11-12 04:43:57.000000000 +0100
3ef2ca
--- src/spell.c	2013-11-14 03:51:24.000000000 +0100
3ef2ca
***************
3ef2ca
*** 4234,4240 ****
3ef2ca
--- 4234,4242 ----
3ef2ca
      if (spl_copy == NULL)
3ef2ca
  	goto theend;
3ef2ca
  
3ef2ca
+ #ifdef FEAT_MBYTE
3ef2ca
      wp->w_s->b_cjk = 0;
3ef2ca
+ #endif
3ef2ca
  
3ef2ca
      /* Loop over comma separated language names. */
3ef2ca
      for (splp = spl_copy; *splp != NUL; )
3ef2ca
***************
3ef2ca
*** 4246,4252 ****
3ef2ca
--- 4248,4256 ----
3ef2ca
  
3ef2ca
  	if (STRCMP(lang, "cjk") == 0)
3ef2ca
  	{
3ef2ca
+ #ifdef FEAT_MBYTE
3ef2ca
  	    wp->w_s->b_cjk = 1;
3ef2ca
+ #endif
3ef2ca
  	    continue;
3ef2ca
  	}
3ef2ca
  
3ef2ca
*** ../vim-7.4.091/src/version.c	2013-11-12 18:09:20.000000000 +0100
3ef2ca
--- src/version.c	2013-11-14 03:52:18.000000000 +0100
3ef2ca
***************
3ef2ca
*** 740,741 ****
3ef2ca
--- 740,743 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     92,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
ARTHUR: Old woman!
3ef2ca
DENNIS: Man!
3ef2ca
ARTHUR: Man.  I'm sorry.  Old man, What knight live in that castle over there?
3ef2ca
DENNIS: I'm thirty-seven.
3ef2ca
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///