From d0af643bdf4e72abf627aa89ef784382cb3d8b011fb37202fbeb8a3754a98a0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 1 Sep 2015 09:14:52 +0000 Subject: [PATCH] =?UTF-8?q?-=20Updated=20to=20revision=20843,=20fixes=20th?= =?UTF-8?q?e=20following=20problems=20=20=20*=20Xxd=20doesn't=20have=20a?= =?UTF-8?q?=20license=20notice.=20=20=20*=20The=20ruler=20shows=20"Bot"=20?= =?UTF-8?q?even=20when=20there=20are=20only=20filler=20lines=20missing.=20?= =?UTF-8?q?(Gary=20Johnson)=20=20=20*=20CTRL-A=20in=20Visual=20mode=20does?= =?UTF-8?q?n't=20work=20properly=20with=20"alpha"=20in=20'nrformat'.=20=20?= =?UTF-8?q?=20*=20After=20CTRL-V=20CTRL-A=20mode=20isn't=20updated.=20(Hir?= =?UTF-8?q?ohito=20Higashi)=20=20=20*=20With=20a=20sequence=20of=20command?= =?UTF-8?q?s=20using=20buffers=20in=20diff=20mode=20E749=20is=20given.=20(?= =?UTF-8?q?itchyny)=20=20=20*=20Invalid=20memory=20access=20when=20using?= =?UTF-8?q?=20"exe=20'sc'".=20=20=20*=20Gcc=20sanitizer=20complains=20abou?= =?UTF-8?q?t=20using=20a=20NULL=20pointer=20to=20memmove().=20=20=20*=20It?= =?UTF-8?q?=20is=20not=20possible=20to=20save=20and=20restore=20character?= =?UTF-8?q?=20search=20state.=20=20=20*=20Illegal=20memory=20access=20with?= =?UTF-8?q?=20"sy=20match=20a=20fold".=20=20=20*=20Invalid=20memory=20acce?= =?UTF-8?q?ss=20when=20doing=20":call=20g:".=20=20=20*=20Invalid=20memory?= =?UTF-8?q?=20access=20when=20doing=20":fun=20X(".=20=20=20*=20Invalid=20m?= =?UTF-8?q?emory=20access=20in=20file=5Fpat=5Fto=5Freg=5Fpat().=20=20=20*?= =?UTF-8?q?=20'linebreak'=20breaks=20c%=20if=20the=20last=20Visual=20selec?= =?UTF-8?q?tion=20was=20block.=20(Chris=20Morganiser,=20Issue=20389)=20=20?= =?UTF-8?q?=20*=20Invalid=20memory=20access=20in=20file=5Fpat=5Fto=5Freg?= =?UTF-8?q?=5Fpat.=20=20=20*=20Cursor=20moves=20after=20CTRL-A=20on=20alph?= =?UTF-8?q?abetic=20character.=20=20=20*=20Invalid=20memory=20access=20for?= =?UTF-8?q?=20":syn=20keyword=20x=20a[".=20=20=20*=20Crash=20when=20using?= =?UTF-8?q?=20"syn=20keyword=20x=20c".=20(Dominique=20Pelle)=20=20=20*=20C?= =?UTF-8?q?rash=20when=20clicking=20in=20beval=20balloon.=20(Travis=20Lebs?= =?UTF-8?q?ock)=20=20=20*=20Resetting=20'encoding'=20when=20doing=20":set?= =?UTF-8?q?=20all&"=20causes=20problems.=20(Bjorn=20Linse)=20Display=20is?= =?UTF-8?q?=20not=20updated.=20=20=20*=20When=20expanding=20`=3Dexpr`=20on?= =?UTF-8?q?=20the=20command=20line=20and=20encountering=20an=20error,=20th?= =?UTF-8?q?e=20command=20is=20executed=20anyway.=20=20=20*=20$HOME=20in=20?= =?UTF-8?q?`=3D$HOME=20.=20'/.vimrc'`=20is=20expanded=20too=20early.=20=20?= =?UTF-8?q?=20*=20More=20side=20effects=20of=20":set=20all&"=20are=20missi?= =?UTF-8?q?ng.=20(Bj=C3=B6rn=20Linse)=20=20=20*=20gettabvar()=20doesn't=20?= =?UTF-8?q?work=20after=20Vim=20start.=20(Szymon=20Wrozynski)=20=20=20*=20?= =?UTF-8?q?Comparing=20utf-8=20sequences=20does=20not=20handle=20different?= =?UTF-8?q?=20byte=20sizes=20correctly.=20=20=20*=20Can't=20compile=20with?= =?UTF-8?q?out=20the=20crypt=20feature.=20(John=20Marriott)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=282 --- v7-4-803.tar.gz | 3 --- v7.4.843.tar.gz | 3 +++ vim-7.3-diff_check.patch | 21 +++++++++++---------- vim.changes | 31 +++++++++++++++++++++++++++++++ vim.spec | 7 +++---- 5 files changed, 48 insertions(+), 17 deletions(-) delete mode 100644 v7-4-803.tar.gz create mode 100644 v7.4.843.tar.gz diff --git a/v7-4-803.tar.gz b/v7-4-803.tar.gz deleted file mode 100644 index f7daf58..0000000 --- a/v7-4-803.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4e7e1c5f1b79960efffabe91476a2ebaf842032349c115525d80b2a333d837a4 -size 12202826 diff --git a/v7.4.843.tar.gz b/v7.4.843.tar.gz new file mode 100644 index 0000000..de1d285 --- /dev/null +++ b/v7.4.843.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee6e6552d42d084d45b85b3202c7e88fdfd5692c6fc495f16ed179fcc7b0a71e +size 12205091 diff --git a/vim-7.3-diff_check.patch b/vim-7.3-diff_check.patch index 11e0109..667ab2e 100644 --- a/vim-7.3-diff_check.patch +++ b/vim-7.3-diff_check.patch @@ -1,6 +1,7 @@ -diff -rup vim73.orig/src/diff.c vim73/src/diff.c ---- vim73.orig/src/diff.c 2010-07-31 15:35:21.000000000 +0200 -+++ vim73/src/diff.c 2010-11-21 06:17:00.897968023 +0100 +Index: vim-7.4.843/src/diff.c +=================================================================== +--- vim-7.4.843.orig/src/diff.c ++++ vim-7.4.843/src/diff.c @@ -42,7 +42,7 @@ static void diff_check_unchanged __ARGS( static int diff_check_sanity __ARGS((tabpage_T *tp, diff_T *dp)); static void diff_redraw __ARGS((int dofold)); @@ -10,7 +11,7 @@ diff -rup vim73.orig/src/diff.c vim73/src/diff.c static int diff_equal_entry __ARGS((diff_T *dp, int idx1, int idx2)); static int diff_cmp __ARGS((char_u *s1, char_u *s2)); #ifdef FEAT_FOLDING -@@ -664,6 +664,7 @@ ex_diffupdate(eap) +@@ -667,6 +667,7 @@ ex_diffupdate(eap) char_u *tmp_diff; FILE *fd; int ok; @@ -18,7 +19,7 @@ diff -rup vim73.orig/src/diff.c vim73/src/diff.c int io_error = FALSE; /* Delete all diffblocks. */ -@@ -716,7 +717,7 @@ ex_diffupdate(eap) +@@ -719,7 +720,7 @@ ex_diffupdate(eap) if (fwrite("line2\n", (size_t)6, (size_t)1, fd) != 1) io_error = TRUE; fclose(fd); @@ -27,7 +28,7 @@ diff -rup vim73.orig/src/diff.c vim73/src/diff.c fd = mch_fopen((char *)tmp_diff, "r"); if (fd == NULL) io_error = TRUE; -@@ -762,6 +763,12 @@ ex_diffupdate(eap) +@@ -765,6 +766,12 @@ ex_diffupdate(eap) } #endif @@ -40,8 +41,8 @@ diff -rup vim73.orig/src/diff.c vim73/src/diff.c /* If we checked if "-a" works already, break here. */ if (diff_a_works != MAYBE) break; -@@ -796,10 +803,13 @@ ex_diffupdate(eap) - continue; +@@ -808,10 +815,13 @@ ex_diffupdate(eap) + continue; /* skip buffer that isn't loaded */ if (diff_write(buf, tmp_new) == FAIL) continue; - diff_file(tmp_orig, tmp_new, tmp_diff); @@ -58,7 +59,7 @@ diff -rup vim73.orig/src/diff.c vim73/src/diff.c mch_remove(tmp_diff); mch_remove(tmp_new); } -@@ -819,13 +829,14 @@ theend: +@@ -831,13 +841,14 @@ theend: /* * Make a diff between files "tmp_orig" and "tmp_new", results in "tmp_diff". */ @@ -74,7 +75,7 @@ diff -rup vim73.orig/src/diff.c vim73/src/diff.c size_t len; #ifdef FEAT_EVAL -@@ -861,13 +872,14 @@ diff_file(tmp_orig, tmp_new, tmp_diff) +@@ -873,13 +884,14 @@ diff_file(tmp_orig, tmp_new, tmp_diff) #ifdef FEAT_AUTOCMD block_autocmds(); /* Avoid ShellCmdPost stuff */ #endif diff --git a/vim.changes b/vim.changes index 9b7bbe3..e1ed6b2 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Tue Sep 1 09:06:38 UTC 2015 - idonmez@suse.com + +- Updated to revision 843, fixes the following problems + * Xxd doesn't have a license notice. + * The ruler shows "Bot" even when there are only filler lines missing. (Gary Johnson) + * CTRL-A in Visual mode doesn't work properly with "alpha" in 'nrformat'. + * After CTRL-V CTRL-A mode isn't updated. (Hirohito Higashi) + * With a sequence of commands using buffers in diff mode E749 is given. (itchyny) + * Invalid memory access when using "exe 'sc'". + * Gcc sanitizer complains about using a NULL pointer to memmove(). + * It is not possible to save and restore character search state. + * Illegal memory access with "sy match a fold". + * Invalid memory access when doing ":call g:". + * Invalid memory access when doing ":fun X(". + * Invalid memory access in file_pat_to_reg_pat(). + * 'linebreak' breaks c% if the last Visual selection was block. (Chris Morganiser, Issue 389) + * Invalid memory access in file_pat_to_reg_pat. + * Cursor moves after CTRL-A on alphabetic character. + * Invalid memory access for ":syn keyword x a[". + * Crash when using "syn keyword x c". (Dominique Pelle) + * Crash when clicking in beval balloon. (Travis Lebsock) + * Resetting 'encoding' when doing ":set all&" causes problems. (Bjorn Linse) Display is not updated. + * When expanding `=expr` on the command line and encountering an error, the command is executed anyway. + * $HOME in `=$HOME . '/.vimrc'` is expanded too early. + * More side effects of ":set all&" are missing. (Björn Linse) + * gettabvar() doesn't work after Vim start. (Szymon Wrozynski) + * Comparing utf-8 sequences does not handle different byte sizes correctly. + * Can't compile without the crypt feature. (John Marriott) +- Refresh vim-7.3-diff_check.patch + ------------------------------------------------------------------- Wed Jul 29 08:55:32 UTC 2015 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 61841ba..e6cbe5f 100644 --- a/vim.spec +++ b/vim.spec @@ -17,8 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 803 -%define _rversion 7-4-%patchlevel +%define patchlevel 843 %define VIM_SUBDIR vim74 %define site_runtimepath /usr/share/vim/site %define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?_smp_mflags} @@ -63,7 +62,7 @@ Summary: Vi IMproved License: Vim Group: Productivity/Editors/Vi Url: http://www.vim.org/ -Source: https://github.com/vim/vim/archive/v%{_rversion}.tar.gz +Source: https://github.com/vim/vim/archive/v%{version}.tar.gz Source3: suse.vimrc Source4: vimrc_example1 Source5: vimrc_example2 @@ -151,7 +150,7 @@ You need package vim for the help and other documentation too. If you want less features, you might want to install vim instead. %prep -%setup -q -n %{name}-%{_rversion} +%setup -q -n %{name}-%{version} %patch3 -p1 %patch4 -p1