diff --git a/vim-blinkoff-loop.patch b/vim-blinkoff-loop.patch new file mode 100644 index 0000000..624646d --- /dev/null +++ b/vim-blinkoff-loop.patch @@ -0,0 +1,13 @@ +diff -up vim80/src/gui.c.blinkoff-loop vim80/src/gui.c +--- vim80/src/gui.c.blinkoff-loop 2018-01-19 12:08:46.503427723 +0100 ++++ vim80/src/gui.c 2018-01-19 12:09:24.542072239 +0100 +@@ -1121,9 +1121,6 @@ gui_update_cursor( + gui_mch_set_blinking(shape->blinkwait, + shape->blinkon, + shape->blinkoff); +- if (shape->blinkwait == 0 || shape->blinkon == 0 +- || shape->blinkoff == 0) +- gui_mch_stop_blink(); + #ifdef FEAT_TERMINAL + if (shape_bg != INVALCOLOR) + { diff --git a/vim.spec b/vim.spec index e8cf20b..e76a719 100644 --- a/vim.spec +++ b/vim.spec @@ -24,7 +24,7 @@ Summary: The VIM editor URL: http://www.vim.org/ Name: vim Version: %{baseversion}.%{patchlevel} -Release: 2%{?dist} +Release: 3%{?dist} License: Vim Group: Applications/Editors Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2 @@ -66,6 +66,7 @@ Patch3012: vim-7.4-licensemacro-1151450.patch Patch3013: vim-7.4-globalsyntax.patch Patch3014: vim-7.4-releasestring-1318991.patch Patch3016: vim-8.0-copy-paste.patch +Patch3017: vim-blinkoff-loop.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python2-devel python3-devel ncurses-devel gettext perl-devel @@ -224,6 +225,7 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk %patch3013 -p1 %patch3014 -p1 %patch3016 -p1 +%patch3017 -p1 %build cd src @@ -752,6 +754,9 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags %{_datadir}/icons/locolor/*/apps/* %changelog +* Fri Jan 19 2018 Zdenek Dohnal - 8.0.1428-3 +- 1525506 - gvim goes into infinite loop when blink_state is OFF + * Fri Jan 12 2018 Zdenek Dohnal - 8.0.1428-2 - removing old icon cache update