diff --git a/disable-unreliable-tests.patch b/disable-unreliable-tests.patch index 4ce7237..49c6c38 100644 --- a/disable-unreliable-tests.patch +++ b/disable-unreliable-tests.patch @@ -1,7 +1,7 @@ -Index: vim-8.1.0527/src/testdir/test_alot.vim +Index: vim-8.1.0685/src/testdir/test_alot.vim =================================================================== ---- vim-8.1.0527.orig/src/testdir/test_alot.vim -+++ vim-8.1.0527/src/testdir/test_alot.vim +--- vim-8.1.0685.orig/src/testdir/test_alot.vim ++++ vim-8.1.0685/src/testdir/test_alot.vim @@ -36,14 +36,12 @@ source test_join.vim source test_jumps.vim source test_lambda.vim @@ -25,10 +25,16 @@ Index: vim-8.1.0527/src/testdir/test_alot.vim source test_true_false.vim source test_unlet.vim source test_virtualedit.vim -Index: vim-8.1.0527/src/testdir/Makefile +Index: vim-8.1.0685/src/testdir/Makefile =================================================================== ---- vim-8.1.0527.orig/src/testdir/Makefile -+++ vim-8.1.0527/src/testdir/Makefile +--- vim-8.1.0685.orig/src/testdir/Makefile ++++ vim-8.1.0685/src/testdir/Makefile +@@ -1,4 +1,4 @@ +-# ++#o + # Makefile to run all tests for Vim + # + @@ -149,8 +149,5 @@ test_gui_init.res: test_gui_init.vim $(RUN_VIMTEST) -u gui_preinit.vim -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $< @rm vimcmd @@ -38,10 +44,10 @@ Index: vim-8.1.0527/src/testdir/Makefile - test_xxd.res: XXD=$(XXDPROG); export XXD; $(RUN_VIMTEST) $(NO_INITS) -S runtest.vim test_xxd.vim -Index: vim-8.1.0527/src/testdir/Make_all.mak +Index: vim-8.1.0685/src/testdir/Make_all.mak =================================================================== ---- vim-8.1.0527.orig/src/testdir/Make_all.mak -+++ vim-8.1.0527/src/testdir/Make_all.mak +--- vim-8.1.0685.orig/src/testdir/Make_all.mak ++++ vim-8.1.0685/src/testdir/Make_all.mak @@ -140,7 +140,6 @@ NEW_TESTS = test_arabic.res \ test_netbeans.res \ test_normal.res \ @@ -50,7 +56,7 @@ Index: vim-8.1.0527/src/testdir/Make_all.mak test_packadd.res \ test_paste.res \ test_perl.res \ -@@ -172,8 +171,6 @@ NEW_TESTS = test_arabic.res \ +@@ -173,11 +172,8 @@ NEW_TESTS = test_arabic.res \ test_system.res \ test_tab.res \ test_tcl.res \ @@ -58,8 +64,11 @@ Index: vim-8.1.0527/src/testdir/Make_all.mak - test_terminal_fail.res \ test_textformat.res \ test_textobjects.res \ +- test_textprop.res \ test_undo.res \ -@@ -198,4 +195,3 @@ NEW_TESTS = test_arabic.res \ + test_user_func.res \ + test_usercommands.res \ +@@ -200,4 +196,3 @@ NEW_TESTS = test_arabic.res \ # Explicit dependencies. test49.out: test49.vim diff --git a/vim-8.1.0565.tar.gz b/vim-8.1.0565.tar.gz deleted file mode 100644 index f215a03..0000000 --- a/vim-8.1.0565.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:070cc307f81e906bead6c2e4d7b820b7a831bf59348049fc4a1bf41f0e03f224 -size 13885015 diff --git a/vim-8.1.0687.tar.gz b/vim-8.1.0687.tar.gz new file mode 100644 index 0000000..77f4399 --- /dev/null +++ b/vim-8.1.0687.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05e94e4e8131ff978a527d60abef0671b7934b1ba4ac54287c6897c02bf27d18 +size 14070311 diff --git a/vim.changes b/vim.changes index 0523971..6c79672 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,120 @@ +------------------------------------------------------------------- +Thu Jan 3 21:26:40 UTC 2019 - Ondřej Súkup + +- Updated to version 8.1.0687 , fixes the following problems + + refreshed disable-unreliable-tests.patch + * Asan complains about reading before allocated block. + * SGR not enabled for mintty because $TERM is "xterm". + * Error for NUL byte in ScreenLines goes unnoticed. + * Error message for NUL byte in ScreenLines breaks Travis CI. + * Execute() always resets display column to zero. (Sha Liu) + * 'commentstring' not used when adding fold marker. (Maxim Kim) + * Non-silent execute() resets display column to zero. + * Stopping a job does not work properly on OpenBSD. + * Cannot redefine user command without ! in same script + * 'commentstring' not used when adding fold marker in C. + * Termdebug: clearing multi-breakpoint does not work. + * Indent script tests pick up installed scripts. + * Tabpage right-click menu never shows "Close tab". + * Cannot disable arabic, rightleft and farsi in configure. + * Cannot attach properties to text. + * Invalid memory access when using text properties. + * Double free without the text properties feature. + * Text properties are not enabled. + * Using illogical name for get_dict_number()/get_dict_string(). + * With search CTRL-L does not pick up composing characters. + * Undo test may fail on MS-Windows. + * :digraph output is not easy to read. + * GvimExt: realloc() failing is not handled properly. + * Cannot define a sign with space in the text. + * Compilation error in gvimext.cpp. + * When a job ends the closed channels are not handled. + * Channel sort test is flaky. + * The libvterm tests are not run as part of Vim tests. + * Illegal memory access in libvterm test. + * Libvterm tests are not run with coverage. + * Not all parts of printf() are tested. + * Cannot run test_libvterm from the top directory. + * Indent tests may use the wrong Vim binary. + * Without the +eval feature the indent tests don't work. + * Channel test is flaky. + * A few compiler warnings. + * DirChanged is also triggered when the directory didn't change + * The :stop command is not tested. + * Running make in the top directory echoes a comment. + * 'cryptmethod' defaults to a very old method. + * Proto files are not in sync with the source code. + * Coverals is not updating. + * Crash when using terminal with long composing characters. + * Cannot use two global runtime dirs with configure. + * When executing an insecure function the secure flag is stuck. + * Placing signs can be complicated. + * Get_tv function names are not consistent. + * term_getjob() does not return v:null as documented. + * :echomsg and :echoerr do not handle List and Dict like :echo does. + * Overuling CONF_ARGS from the environment no longer works. + * Terminal debugger does not handle unexpected debugger exit. + * Adding quickfix items marks items as valid errors. (Daniel Hahler) + * Iterating through window frames is repeated. + * Overuling CONF_ARGS from the environment still does not work. + * Python cannot handle function name of script-local function. + * Compiler warning on MS-Windows. + * "gn" selects the wrong text with a multi-line match. + * "wincmd p" does not work after using an autocmd window. + * Test for :stop fails on Arch. + * Using sign group names is inefficient. + * Crash when out of memory while opening a terminal window. + * Text properties cannot cross line boundaries. + * Coverity complains about null pointer use. + * line2byte() gives wrong values with text properties. + * Text property highlighting is off by one column. + * text properties test fails on MS-Windows + * Get E14 while typing command :tab with 'incsearch' set. + * No check for out-of-memory when converting regexp. + * swapinfo() leaks memory. + * Computing byte offset wrong. + * Finding next sign ID is inefficient. + * Coverity warns for possible use of NULL pointer. + * Cannot build with Ruby 2.6.0. + * Custom operators can't act upon a forced motion. + * setjmp() variables defined globally are used in one file. + * Command line argument -q [errorfile] is not tested. + * :args \"foo works like :args without argument. + * Freeing memory for balloon eval too early. + * Arglist test fails on MS-windows. + * When deleting a line text property flags are not adjusted. + * When appending a line text property flags are not added. + * Trying to reconnect to X server may cause problems. + * Get error for using regexp recursively. + * Deleting signs and completion for :sign is insufficient. + * Build failure without the sign feature. + * sign_unplace() may leak memory. + * Clipboard regexp might be used recursively. + * Needlessly searching for tilde in string. + * Text property display wrong when 'number' is set. + * Configure "fail-if-missing" does not apply to the enable-gui + argument. + * Text property display wrong when 'spell' is set. + * Text property test fails. + * Textprop test leaves file behind. + * No test for overstrike mode in the command line. + * The ex_sign() function is too long. + * Macro for popup menu width is unused. + * Cursor in the wrong column after auto-formatting. + * The Lua interface doesn't know about v:null. + * Functionality for signs is spread out over several files. + * Leaking memory when updating a single line. + * Text property column is screen columns is not practical. + * Textprop screendump test fails. + * Look-behind match may use the wrong line number. (Dominique Pelle) + * Text properties as not adjusted for inserted text. + * Sign functions do not take buffer argument as documented. + * Not easy to see what features are unavailable. + * Text properties as not adjusted for deleted text. + * Text properties are not adjusted when backspacing replaced text. + * Spell highlighting does not always end. + * Warnings from 64-bit compiler. + ------------------------------------------------------------------- Thu Dec 6 11:33:06 UTC 2018 - Ondřej Súkup diff --git a/vim.spec b/vim.spec index 44f081a..398347b 100644 --- a/vim.spec +++ b/vim.spec @@ -1,7 +1,7 @@ # # spec file for package vim # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ %define pkg_version 8.1 -%define patchlevel 0565 +%define patchlevel 0687 %define patchlevel_compact %{patchlevel} %define VIM_SUBDIR vim81 %define site_runtimepath %{_datadir}/vim/site @@ -76,6 +76,7 @@ BuildRequires: gettext-devel BuildRequires: gpm-devel BuildRequires: krb5-mini BuildRequires: libacl-devel +BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: perl BuildRequires: pkgconfig