diff --git a/vim-7.1-nowarnings.patch b/vim-7.1-nowarnings.patch deleted file mode 100644 index fe16c81..0000000 --- a/vim-7.1-nowarnings.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- vim71/src/ex_docmd.c.nowarnings 2007-06-04 14:43:26.000000000 +0200 -+++ vim71/src/ex_docmd.c 2007-06-04 14:43:43.000000000 +0200 -@@ -3993,6 +3993,7 @@ get_flags(eap) - ex_ni(eap) - exarg_T *eap; - { -+ return; - if (!eap->skip) - eap->errmsg = (char_u *)N_("E319: Sorry, the command is not available in this version"); - } diff --git a/vim-7.4-nowarnings.patch b/vim-7.4-nowarnings.patch new file mode 100644 index 0000000..c77f9fc --- /dev/null +++ b/vim-7.4-nowarnings.patch @@ -0,0 +1,11 @@ +diff -up vim74/src/ex_docmd.c.e319 vim74/src/ex_docmd.c +--- vim74/src/ex_docmd.c.e319 2016-02-17 14:48:23.033995923 +0100 ++++ vim74/src/ex_docmd.c 2016-02-17 14:48:03.712890575 +0100 +@@ -4630,6 +4630,7 @@ get_flags(exarg_T *eap) + void + ex_ni(exarg_T *eap) + { ++ return; + if (!eap->skip) + eap->errmsg = (char_u *)N_("E319: Sorry, the command is not available in this version"); + } diff --git a/vim.spec b/vim.spec index f76e154..a45cc28 100644 --- a/vim.spec +++ b/vim.spec @@ -48,7 +48,7 @@ BuildRequires: hunspell-devel %endif Patch3000: vim-7.4-syntax.patch -Patch3002: vim-7.1-nowarnings.patch +Patch3002: vim-7.4-nowarnings.patch Patch3004: vim-7.0-rclocation.patch Patch3006: vim-7.4-checkhl.patch Patch3007: vim-7.4-fstabsyntax.patch