summaryrefslogtreecommitdiffstats
path: root/debian/patches/patch-8.1.0884-double-check-for-bsd-systems.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:44:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:44:26 +0000
commit0cde7a370d07f80208bcd29597cf30d5274f38b0 (patch)
treee228a85db87eb0491d2937e213bbbab19826b682 /debian/patches/patch-8.1.0884-double-check-for-bsd-systems.patch
parentAdding upstream version 2:8.1.0875. (diff)
downloadvim-0cde7a370d07f80208bcd29597cf30d5274f38b0.tar.xz
vim-0cde7a370d07f80208bcd29597cf30d5274f38b0.zip
Adding debian version 2:8.1.0875-5+deb10u2.debian/2%8.1.0875-5+deb10u2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/patch-8.1.0884-double-check-for-bsd-systems.patch')
-rw-r--r--debian/patches/patch-8.1.0884-double-check-for-bsd-systems.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/debian/patches/patch-8.1.0884-double-check-for-bsd-systems.patch b/debian/patches/patch-8.1.0884-double-check-for-bsd-systems.patch
new file mode 100644
index 0000000..6888aed
--- /dev/null
+++ b/debian/patches/patch-8.1.0884-double-check-for-bsd-systems.patch
@@ -0,0 +1,36 @@
+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(-)
+
+diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim
+index e75a896..69e6ce0 100644
+--- 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'))
+diff --git a/src/version.c b/src/version.c
+index f5f9439..46f63e7 100644
+--- a/src/version.c
++++ b/src/version.c
+@@ -791,6 +791,8 @@ static char *(features[]) =
+
+ static int included_patches[] =
+ { /* Add new patch number below this line */
++/**/
++ 884,
+ /**/
+ 878,
+ /**/