summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0202
blob: 67523f7c40cacf849efefdd0efd1b172618bd182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0202
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0202
Problem:    :version always shows +packages. (Takuya Fujiwara)
Solution:   Add #ifdef (closes #3198) Also for has().
Files:      src/version.c, src/evalfunc.c


*** ../vim-8.1.0201/src/version.c	2018-07-22 04:30:16.372005905 +0200
--- src/version.c	2018-07-22 05:03:36.372998336 +0200
***************
*** 493,499 ****
--- 493,503 ----
  	"-ole",
  # endif
  #endif
+ #ifdef FEAT_EVAL
  	"+packages",
+ #else
+ 	"-packages",
+ #endif
  #ifdef FEAT_PATH_EXTRA
  	"+path_extra",
  #else
*** ../vim-8.1.0201/src/evalfunc.c	2018-07-20 20:28:44.851379341 +0200
--- src/evalfunc.c	2018-07-22 05:04:06.032807050 +0200
***************
*** 6302,6308 ****
--- 6302,6310 ----
  #ifdef FEAT_OLE
  	"ole",
  #endif
+ #ifdef FEAT_EVAL
  	"packages",
+ #endif
  #ifdef FEAT_PATH_EXTRA
  	"path_extra",
  #endif
*** ../vim-8.1.0201/src/version.c	2018-07-22 04:30:16.372005905 +0200
--- src/version.c	2018-07-22 05:03:36.372998336 +0200
***************
*** 791,792 ****
--- 795,798 ----
  {   /* Add new patch number below this line */
+ /**/
+     202,
  /**/

-- 
       When danger reared its ugly head,
       He bravely turned his tail and fled
       Yes, Brave Sir Robin turned about
       And gallantly he chickened out
       Bravely taking to his feet
       He beat a very brave retreat
       Bravest of the brave Sir Robin
       Petrified of being dead
       Soiled his pants then brave Sir Robin
       Turned away and fled.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///