Karsten Hopp 525b14
To: vim-dev@vim.org
Karsten Hopp 525b14
Subject: Patch 7.2.108
Karsten Hopp 525b14
Fcc: outbox
Karsten Hopp 525b14
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 525b14
Mime-Version: 1.0
Karsten Hopp 525b14
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 525b14
Content-Transfer-Encoding: 8bit
Karsten Hopp 525b14
------------
Karsten Hopp 525b14
Karsten Hopp 525b14
Patch 7.2.108 (after 7.2.105)
Karsten Hopp 525b14
Problem:    Can't build without the diff feature.
Karsten Hopp 525b14
Solution:   Add #ifdef.
Karsten Hopp 525b14
Files:	    src/option.c
Karsten Hopp 525b14
Karsten Hopp 525b14
Karsten Hopp 525b14
*** ../vim-7.2.107/src/option.c	Wed Feb 11 16:45:56 2009
Karsten Hopp 525b14
--- src/option.c	Wed Feb 11 22:21:16 2009
Karsten Hopp 525b14
***************
Karsten Hopp 525b14
*** 4127,4132 ****
Karsten Hopp 525b14
--- 4127,4133 ----
Karsten Hopp 525b14
  		    errmsg = (char_u *)_("E520: Not allowed in a modeline");
Karsten Hopp 525b14
  		    goto skip;
Karsten Hopp 525b14
  		}
Karsten Hopp 525b14
+ #ifdef FEAT_DIFF
Karsten Hopp 525b14
  		/* In diff mode some options are overruled.  This avoids that
Karsten Hopp 525b14
  		 * 'foldmethod' becomes "marker" instead of "diff" and that
Karsten Hopp 525b14
  		 * "wrap" gets set. */
Karsten Hopp 525b14
***************
Karsten Hopp 525b14
*** 4134,4139 ****
Karsten Hopp 525b14
--- 4135,4141 ----
Karsten Hopp 525b14
  			&& (options[opt_idx].indir == PV_FDM
Karsten Hopp 525b14
  			    || options[opt_idx].indir == PV_WRAP))
Karsten Hopp 525b14
  		    goto skip;
Karsten Hopp 525b14
+ #endif
Karsten Hopp 525b14
  	    }
Karsten Hopp 525b14
  
Karsten Hopp 525b14
  #ifdef HAVE_SANDBOX
Karsten Hopp 525b14
*** ../vim-7.2.107/src/version.c	Wed Feb 11 18:46:48 2009
Karsten Hopp 525b14
--- src/version.c	Wed Feb 11 22:46:40 2009
Karsten Hopp 525b14
***************
Karsten Hopp 525b14
*** 678,679 ****
Karsten Hopp 525b14
--- 678,681 ----
Karsten Hopp 525b14
  {   /* Add new patch number below this line */
Karsten Hopp 525b14
+ /**/
Karsten Hopp 525b14
+     108,
Karsten Hopp 525b14
  /**/
Karsten Hopp 525b14
Karsten Hopp 525b14
-- 
Karsten Hopp 525b14
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 525b14
80. At parties, you introduce your spouse as your "service provider."
Karsten Hopp 525b14
Karsten Hopp 525b14
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 525b14
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 525b14
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 525b14
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///