[packages/vim] - rel 2; disable undofile by default (introduced in 7.4.165, so back to pre 7.4.165 settings)

arekm arekm at pld-linux.org
Wed Feb 19 09:42:04 CET 2014


commit 81d30c0883ddbf746c106521e3b9862231d1dcf2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Feb 19 09:42:01 2014 +0100

    - rel 2; disable undofile by default (introduced in 7.4.165, so back to pre 7.4.165 settings)

 vim-revert-7.4.165-noundo.patch | 10 ++++++++++
 vim.spec                        |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/vim.spec b/vim.spec
index 6e2c3f6..928997a 100644
--- a/vim.spec
+++ b/vim.spec
@@ -28,7 +28,7 @@
 
 %define		ver		7.4
 %define		patchlevel	182
-%define		rel		1
+%define		rel		2
 Summary:	Vi IMproved - a Vi clone
 Summary(de.UTF-8):	VIsual editor iMproved
 Summary(es.UTF-8):	Editor visual incrementado
@@ -111,6 +111,7 @@ Patch35:	%{name}-ft-mib.patch
 Patch36:	%{name}-ft-lib-udevrules.patch
 Patch37:	%{name}-ft-mysql.patch
 Patch38:	%{name}-ft-gyp.patch
+Patch39:	%{name}-revert-7.4.165-noundo.patch
 URL:		http://www.vim.org/
 BuildRequires:	acl-devel
 BuildRequires:	autoconf
@@ -765,6 +766,7 @@ jak również GUI GTK+2.
 %patch36 -p1
 %patch37 -p1
 %patch38 -p1
+%patch39 -p1
 
 cp -p %{SOURCE20} runtime/syntax
 cp -p %{SOURCE22} runtime/syntax
diff --git a/vim-revert-7.4.165-noundo.patch b/vim-revert-7.4.165-noundo.patch
new file mode 100644
index 0000000..f1f20aa
--- /dev/null
+++ b/vim-revert-7.4.165-noundo.patch
@@ -0,0 +1,10 @@
+--- vim74/runtime/vimrc_example.vim~	2014-02-19 09:38:17.000000000 +0100
++++ vim74/runtime/vimrc_example.vim	2014-02-19 09:38:56.196879355 +0100
+@@ -25,7 +25,6 @@
+   set nobackup		" do not keep a backup file, use versions instead
+ else
+   set backup		" keep a backup file (restore to previous version)
+-  set undofile		" keep an undo file (undo changes after closing)
+ endif
+ set history=50		" keep 50 lines of command line history
+ set ruler		" show the cursor position all the time
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vim.git/commitdiff/81d30c0883ddbf746c106521e3b9862231d1dcf2



More information about the pld-cvs-commit mailing list