fix patch for new ruby-2.6

This commit is contained in:
Zdenek Dohnal 2019-01-30 12:30:46 +01:00
parent c738ae2b3d
commit 9c25513f81
2 changed files with 6 additions and 3 deletions

View File

@ -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)

View File

@ -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 <zdohnal@redhat.com> - 2:8.1.847-2
- fix patch for new ruby-2.6
* Wed Jan 30 2019 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.1.847-1
- patchlevel 847