lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
104c876
To: vim-dev@vim.org
104c876
Subject: patch 7.1.049
104c876
Fcc: outbox
104c876
From: Bram Moolenaar <Bram@moolenaar.net>
104c876
Mime-Version: 1.0
104c876
Content-Type: text/plain; charset=ISO-8859-1
104c876
Content-Transfer-Encoding: 8bit
104c876
------------
104c876
104c876
Patch 7.1.049
104c876
Problem:    Cannot compile GTK2 version with Hangul input feature.
104c876
Solution:   Don't define FEAT_XFONTSET when using GTK2.
104c876
Files:	    src/feature.h
104c876
104c876
104c876
*** ../vim-7.1.048/src/feature.h	Thu May 10 19:43:24 2007
104c876
--- src/feature.h	Fri Aug  3 19:32:56 2007
104c876
***************
104c876
*** 673,679 ****
104c876
  # define ESC_CHG_TO_ENG_MODE		/* if defined, when ESC pressed,
104c876
  					 * turn to english mode
104c876
  					 */
104c876
! # if !defined(FEAT_XFONTSET) && defined(HAVE_X11)
104c876
  #  define FEAT_XFONTSET			/* Hangul input requires xfontset */
104c876
  # endif
104c876
  # if defined(FEAT_XIM) && !defined(LINT)
104c876
--- 673,679 ----
104c876
  # define ESC_CHG_TO_ENG_MODE		/* if defined, when ESC pressed,
104c876
  					 * turn to english mode
104c876
  					 */
104c876
! # if !defined(FEAT_XFONTSET) && defined(HAVE_X11) && !defined(HAVE_GTK2)
104c876
  #  define FEAT_XFONTSET			/* Hangul input requires xfontset */
104c876
  # endif
104c876
  # if defined(FEAT_XIM) && !defined(LINT)
104c876
*** ../vim-7.1.048/src/version.c	Thu Aug  2 23:00:06 2007
104c876
--- src/version.c	Fri Aug  3 21:58:23 2007
104c876
***************
104c876
*** 668,669 ****
104c876
--- 668,671 ----
104c876
  {   /* Add new patch number below this line */
104c876
+ /**/
104c876
+     49,
104c876
  /**/
104c876
104c876
-- 
104c876
From "know your smileys":
104c876
 :-O>-o   Smiley American tourist (note big mouth and camera)
104c876
104c876
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
104c876
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
104c876
\\\        download, build and distribute -- http://www.A-A-P.org        ///
104c876
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///