From 9460a6f58d7d13f826b1a0cd06af0d3d949f98d9782d224e75f86f5c3a4852e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= <ismail@i10z.com>
Date: Fri, 2 Nov 2012 16:17:25 +0000
Subject: [PATCH] - Update to patchlevel 712, fixes the following problems   *
 Can't build Ruby interface with Ruby 1.9.3.   * End of color scheme name not
 clear in E185. (Aaron Lewis)   * Buffer overflow in unescaping text. (Raymond
 Ko)   * MSVC 11 is not supported.   * Unused variables in Perl interface.   *
 Building with Perl loaded dynamically  still uses static library.   * When
 building with Cygwin loading Python dynamically fails.   * Python: memory
 leaks when there are exceptions.   * More Python code can be shared between
 Python 2 and 3.   * Not possible to lock/unlock lists in Python interface.  
 * Using "gN" while 'selection' is "exclusive" misses one character.   * Using
 uninitialized memory with very long file name.   * buf_spname() is used
 inconsistently.   * Ruby .so name may not be correct.   * Ruby detection uses
 Config, newer Ruby versions use RbConfig.   * Some files missing in the list
 of distributed files.   * List of distributed files picks up backup files.  
 * Compiler complains about incompatible types.   * ":python" may crash when
 vimbindeval() returns None.   * "make test" does not delete lua.vim.   *
 Using CTRL-\ e mappings is useful also when entering an   * Test 16 fails
 when $DISPLAY is not set.   * Python 3.3 is not supported.   * MzScheme and
 Lua may use a NULL string.   * When the current directory name is exactly the
 maximum path length   * State specific to the Python thread is discarded.   *
 Can't build GTK version with GTK 2.0.   * Can't make 'softtabstop' follow
 'shiftwidth'.   * Now that 'shiftwidth' may use the value of 'tabstop' it is
 not so

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=113
---
 vim-7.3-patches.tar.bz2              |  4 +--
 vim-7.3-ruby_ldflags_configure.patch | 12 -------
 vim.changes                          | 48 ++++++++++++++++++++++++++++
 vim.spec                             |  6 ++--
 4 files changed, 52 insertions(+), 18 deletions(-)
 delete mode 100644 vim-7.3-ruby_ldflags_configure.patch

diff --git a/vim-7.3-patches.tar.bz2 b/vim-7.3-patches.tar.bz2
index 6e737d4..af57d44 100644
--- a/vim-7.3-patches.tar.bz2
+++ b/vim-7.3-patches.tar.bz2
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:ce463691ddaa699b5d237b7d394038c07ff0685ba68008885219b592966f79ad
-size 758462
+oid sha256:2ccdce79c7e6a8fd85bec609ee65886fdd3a4e96b8490477cd9cb14188b95d1e
+size 794601
diff --git a/vim-7.3-ruby_ldflags_configure.patch b/vim-7.3-ruby_ldflags_configure.patch
deleted file mode 100644
index 7f7f4da..0000000
--- a/vim-7.3-ruby_ldflags_configure.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -rup vim73.orig/src/auto/configure vim73/src/auto/configure
---- vim73.orig/src/auto/configure	2010-08-13 16:17:15.000000000 +0200
-+++ vim73/src/auto/configure	2010-11-21 05:34:08.471088555 +0100
-@@ -6197,7 +6197,7 @@ $as_echo "$rubyhdrdir" >&6; }
- 	if test "X$librubyarg" != "X"; then
- 	  RUBY_LIBS="$librubyarg $RUBY_LIBS"
- 	fi
--	rubyldflags=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LDFLAGS"]'`
-+	rubyldflags=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LDFLAGS"]' | sed 's/\\\\,/,/g'`
- 	if test "X$rubyldflags" != "X"; then
- 	  	  	  	  rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
- 	  if test "X$rubyldflags" != "X"; then
diff --git a/vim.changes b/vim.changes
index d762fd4..c9fb507 100644
--- a/vim.changes
+++ b/vim.changes
@@ -1,3 +1,51 @@
+-------------------------------------------------------------------
+Fri Nov  2 16:06:58 UTC 2012 - idonmez@suse.com
+
+- Update to patchlevel 712, fixes the following problems
+  * Can't build Ruby interface with Ruby 1.9.3.
+  * End of color scheme name not clear in E185. (Aaron Lewis)
+  * Buffer overflow in unescaping text. (Raymond Ko)
+  * MSVC 11 is not supported.
+  * Unused variables in Perl interface.
+  * Building with Perl loaded dynamically  still uses static library.
+  * When building with Cygwin loading Python dynamically fails.
+  * Python: memory leaks when there are exceptions.
+  * More Python code can be shared between Python 2 and 3.
+  * Not possible to lock/unlock lists in Python interface.
+  * Using "gN" while 'selection' is "exclusive" misses one character.
+  * Using uninitialized memory with very long file name.
+  * buf_spname() is used inconsistently.
+  * Ruby .so name may not be correct.
+  * Ruby detection uses Config, newer Ruby versions use RbConfig.
+  * Some files missing in the list of distributed files.
+  * List of distributed files picks up backup files.
+  * Compiler complains about incompatible types.
+  * ":python" may crash when vimbindeval() returns None.
+  * "make test" does not delete lua.vim.
+  * Using CTRL-\ e mappings is useful also when entering an
+  * Test 16 fails when $DISPLAY is not set.
+  * Python 3.3 is not supported.
+  * MzScheme and Lua may use a NULL string.
+  * When the current directory name is exactly the maximum path length
+  * State specific to the Python thread is discarded.
+  * Can't build GTK version with GTK 2.0.
+  * Can't make 'softtabstop' follow 'shiftwidth'.
+  * Now that 'shiftwidth' may use the value of 'tabstop' it is not so
+  * Balloon cannot show multi-byte text.
+  * Message about added spell language can be wrong.
+  * Leaking resources when setting GUI font.
+  * Python 3 does not preserve state beween commands.
+  * When 'ttymouse' is set to "sgr" manually, it is overruled by
+  * Cannot detect URXVT and SGR mouse support.
+  * When 'undofile' is reset the hash is computed unnecessarily.
+  * Repeating "cgn" does not always work correctly.
+  * Mouse features are not sorted properly. (Tony Mechelynck)
+  * Problems loading a library for a file name with non-latin
+  * Filler lines above the first line may be hidden when opening Vim.
+  * Compiler warning for unused argument.
+  * vim.current.buffer is not available. (lilydjwg)
+- Drop vim-7.3-ruby_ldflags_configure.patch, unneeded now
+
 -------------------------------------------------------------------
 Tue Oct  2 12:54:03 UTC 2012 - idonmez@suse.com
 
diff --git a/vim.spec b/vim.spec
index 768456c..d63b480 100644
--- a/vim.spec
+++ b/vim.spec
@@ -17,7 +17,7 @@
 
 
 %define pkg_version 7.3
-%define official_ptchlvl 661
+%define official_ptchlvl 712
 %define VIM_SUBDIR vim73
 %define site_runtimepath /usr/share/vim/site
 
@@ -103,7 +103,6 @@ Patch8:         %{name}-7.3-help_tags.patch
 Patch9:         %{name}-7.3-use_awk.patch
 Patch10:        %{name}-7.3-name_vimrc.patch
 Patch11:        %{name}-7.3-mktemp_tutor.patch
-Patch12:        %{name}-7.3-ruby_ldflags_configure.patch
 Patch14:        %{name}-7.3-grub.patch
 Patch15:        %{name}-7.3-filetype_apparmor.patch
 Patch18:        %{name}-7.3-filetype_spec.patch
@@ -279,7 +278,6 @@ unset p
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
-%patch12 -p1
 %patch14 -p1
 %patch15 -p1
 cp %{SOURCE23} runtime/syntax/apparmor.vim
@@ -483,7 +481,7 @@ mkdir -p %{buildroot}/var/run/vi.recover
 
 %check
 # Look for "TEST FAILURE" in the build log
-# Currently test16 (needs X) & test83 fails
+# Currently test83 fails
 make test || true
 
 %post