redo nowarnings patch

This commit is contained in:
Karsten Hopp 2016-02-17 14:50:00 +01:00
parent eb7caf81dc
commit 28031e244a
3 changed files with 12 additions and 11 deletions

View File

@ -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");
}

11
vim-7.4-nowarnings.patch Normal file
View File

@ -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");
}

View File

@ -48,7 +48,7 @@ BuildRequires: hunspell-devel
%endif %endif
Patch3000: vim-7.4-syntax.patch Patch3000: vim-7.4-syntax.patch
Patch3002: vim-7.1-nowarnings.patch Patch3002: vim-7.4-nowarnings.patch
Patch3004: vim-7.0-rclocation.patch Patch3004: vim-7.0-rclocation.patch
Patch3006: vim-7.4-checkhl.patch Patch3006: vim-7.4-checkhl.patch
Patch3007: vim-7.4-fstabsyntax.patch Patch3007: vim-7.4-fstabsyntax.patch