From 9c25513f81d05a1f3ca95caf330e7109e32a8e13 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Jan 30 2019 11:30:46 +0000 Subject: fix patch for new ruby-2.6 --- diff --git a/vim-ruby26.patch b/vim-ruby26.patch index da8d2e8..30630a2 100644 --- a/vim-ruby26.patch +++ b/vim-ruby26.patch @@ -6,7 +6,7 @@ index 9c91f31..e53e0ef 100644 # endif # endif # ifdef RUBY19_OR_LATER -+# ifdef DYNAMIC_RUBY_VER >= 26 ++# if DYNAMIC_RUBY_VER >= 26 +static VALUE (*dll_rb_int2big)(intptr_t); +# else static VALUE (*dll_rb_int2big)(SIGNED_VALUE); @@ -18,7 +18,7 @@ index 9c91f31..e53e0ef 100644 { return dll_rb_num2long(x); } -+# ifdef DYNAMIC_RUBY_VER >= 26 ++# if DYNAMIC_RUBY_VER >= 26 +VALUE rb_int2big_stub(intptr_t x) +# else VALUE rb_int2big_stub(SIGNED_VALUE x) diff --git a/vim.spec b/vim.spec index 7efed4f..b147296 100644 --- a/vim.spec +++ b/vim.spec @@ -24,7 +24,7 @@ Summary: The VIM editor URL: http://www.vim.org/ Name: vim Version: %{baseversion}.%{patchlevel} -Release: 1%{?dist} +Release: 2%{?dist} License: Vim and MIT Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2 Source1: vim.sh @@ -812,6 +812,9 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags %{_datadir}/icons/locolor/*/apps/* %changelog +* Wed Jan 30 2019 Zdenek Dohnal - 2:8.1.847-2 +- fix patch for new ruby-2.6 + * Wed Jan 30 2019 Zdenek Dohnal - 2:8.1.847-1 - patchlevel 847