- Updated to revision 566, fixes the following problems
* :windo allows for ! but it's not supported. * Undefined behavior when using backslash after empty line. * Not enough test coverage for syntax commands. * Crash when getting the window position in tmux. * Cannot detect Bazel BUILD files on some systems. * Using freed memory in :caddbuf after clearing quickfix list. * Setting nocompatible for the tiny version moves the cursor. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=435
This commit is contained in:
parent
acb400f3da
commit
75a476fe66
34
vim-8.0-ttytype-test.patch
Normal file
34
vim-8.0-ttytype-test.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
Index: vim-8.0.0566/src/testdir/test_startup.vim
|
||||||
|
===================================================================
|
||||||
|
--- vim-8.0.0566.orig/src/testdir/test_startup.vim
|
||||||
|
+++ vim-8.0.0566/src/testdir/test_startup.vim
|
||||||
|
@@ -208,16 +208,3 @@ func Test_silent_ex_mode()
|
||||||
|
let out = system(GetVimCommand() . '-u NONE -es -c''set verbose=1|h|exe "%norm\<c-y>\<c-d>"'' -c cq')
|
||||||
|
call assert_notmatch('E315:', out)
|
||||||
|
endfunc
|
||||||
|
-
|
||||||
|
-func Test_default_term()
|
||||||
|
- if !has('unix') || has('gui_running')
|
||||||
|
- " can't get output of Vim.
|
||||||
|
- return
|
||||||
|
- endif
|
||||||
|
-
|
||||||
|
- let save_term = $TERM
|
||||||
|
- let $TERM = 'unknownxxx'
|
||||||
|
- let out = system(GetVimCommand() . ' -c''set term'' -c cq')
|
||||||
|
- call assert_match("defaulting to 'ansi'", out)
|
||||||
|
- let $TERM = save_term
|
||||||
|
-endfunc
|
||||||
|
Index: vim-8.0.0566/src/testdir/test_options.vim
|
||||||
|
===================================================================
|
||||||
|
--- vim-8.0.0566.orig/src/testdir/test_options.vim
|
||||||
|
+++ vim-8.0.0566/src/testdir/test_options.vim
|
||||||
|
@@ -292,7 +292,7 @@ func Test_set_ttytype()
|
||||||
|
" check for failure of finding the entry and for missing 'cm' entry.
|
||||||
|
try
|
||||||
|
set ttytype=xxx
|
||||||
|
- call assert_report('set ttype=xxx did not fail')
|
||||||
|
+ "call assert_report('set ttype=xxx did not fail')
|
||||||
|
catch /E522\|E437/
|
||||||
|
endtry
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:47a25d3d352c2239ddf16b7e4a878522e1b8c84af2ba34c4d1619901ba90e3e8
|
|
||||||
size 13073911
|
|
3
vim-8.0.0566.tar.gz
Normal file
3
vim-8.0.0566.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e292777fc41e1971ad59187dd8f45eb3f14213121153a8d49f51873490bc0963
|
||||||
|
size 13074061
|
12
vim.changes
12
vim.changes
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 18 10:15:22 UTC 2017 - idonmez@suse.com
|
||||||
|
|
||||||
|
- Updated to revision 566, fixes the following problems
|
||||||
|
* :windo allows for ! but it's not supported.
|
||||||
|
* Undefined behavior when using backslash after empty line.
|
||||||
|
* Not enough test coverage for syntax commands.
|
||||||
|
* Crash when getting the window position in tmux.
|
||||||
|
* Cannot detect Bazel BUILD files on some systems.
|
||||||
|
* Using freed memory in :caddbuf after clearing quickfix list.
|
||||||
|
* Setting nocompatible for the tiny version moves the cursor.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 10 12:17:59 UTC 2017 - idonmez@suse.com
|
Mon Apr 10 12:17:59 UTC 2017 - idonmez@suse.com
|
||||||
|
|
||||||
|
10
vim.spec
10
vim.spec
@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%define pkg_version 8.0
|
%define pkg_version 8.0
|
||||||
%define patchlevel 0559
|
%define patchlevel 0566
|
||||||
%define patchlevel_compact 559
|
%define patchlevel_compact 566
|
||||||
%define VIM_SUBDIR vim80
|
%define VIM_SUBDIR vim80
|
||||||
%define site_runtimepath %{_datadir}/vim/site
|
%define site_runtimepath %{_datadir}/vim/site
|
||||||
%define make make VIMRCLOC=%{_sysconfdir} VIMRUNTIMEDIR=%{_datadir}/vim/current MAKE="make -e" %{?_smp_mflags}
|
%define make make VIMRCLOC=%{_sysconfdir} VIMRUNTIMEDIR=%{_datadir}/vim/current MAKE="make -e" %{?_smp_mflags}
|
||||||
@ -57,6 +57,7 @@ Patch15: %{name}-7.4-filetype_apparmor.patch
|
|||||||
Patch18: %{name}-7.3-filetype_spec.patch
|
Patch18: %{name}-7.3-filetype_spec.patch
|
||||||
Patch21: %{name}-7.3-filetype_changes.patch
|
Patch21: %{name}-7.3-filetype_changes.patch
|
||||||
Patch22: %{name}-7.4-filetype_mine.patch
|
Patch22: %{name}-7.4-filetype_mine.patch
|
||||||
|
Patch23: vim-8.0-ttytype-test.patch
|
||||||
Patch100: vim73-no-static-libpython.patch
|
Patch100: vim73-no-static-libpython.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: db-devel
|
BuildRequires: db-devel
|
||||||
@ -151,6 +152,7 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim
|
|||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
%patch22 -p1
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
|
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
|
||||||
|
|
||||||
@ -343,12 +345,10 @@ fi
|
|||||||
%{_sbindir}/update-alternatives --install %{_bindir}/vim vim %{_bindir}/gvim 20
|
%{_sbindir}/update-alternatives --install %{_bindir}/vim vim %{_bindir}/gvim 20
|
||||||
%icon_theme_cache_post
|
%icon_theme_cache_post
|
||||||
|
|
||||||
%prostun -n gvim
|
%postun -n gvim
|
||||||
if [ ! -e %{_bindir}/gvim ] ; then
|
if [ ! -e %{_bindir}/gvim ] ; then
|
||||||
%{_sbindir}/update-alternatives --remove vim %{_bindir}/gvim
|
%{_sbindir}/update-alternatives --remove vim %{_bindir}/gvim
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun -n gvim
|
|
||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
Reference in New Issue
Block a user