summaryrefslogtreecommitdiffstats
path: root/debian/patches/patch-8.1.0884-double-check-for-bsd-systems.patch
blob: cde362d98879278535aee8fd64daea72bad38c1b (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
From: Bram Moolenaar <Bram@vim.org>
Date: Fri, 8 Feb 2019 23:09:48 +0100
Subject: patch 8.1.0884: double check for bsd systems

Problem:    Double check for bsd systems.
Solution:   Delete the old line.
---
 src/testdir/test_functions.vim | 1 -
 src/version.c                  | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

--- a/src/testdir/test_functions.vim
+++ b/src/testdir/test_functions.vim
@@ -1237,7 +1237,6 @@ func Test_platform_name()
   if has('unix') && executable('uname')
     let uname = system('uname')
     call assert_equal(uname =~? 'BeOS', has('beos'))
-    call assert_equal(uname =~? 'BSD\|DragonFly', has('bsd'))
     " GNU userland on BSD kernels (e.g., GNU/kFreeBSD) don't have BSD defined
     call assert_equal(uname =~? '\%(GNU/k\w\+\)\@<!BSD\|DragonFly', has('bsd'))
     call assert_equal(uname =~? 'HP-UX', has('hpux'))
--- a/src/version.c
+++ b/src/version.c
@@ -792,6 +792,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    884,
+/**/
     878,
 /**/
     875,