fix patch for new ruby-2.6
This commit is contained in:
parent
c738ae2b3d
commit
9c25513f81
@ -6,7 +6,7 @@ index 9c91f31..e53e0ef 100644
|
|||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# ifdef RUBY19_OR_LATER
|
# ifdef RUBY19_OR_LATER
|
||||||
+# ifdef DYNAMIC_RUBY_VER >= 26
|
+# if DYNAMIC_RUBY_VER >= 26
|
||||||
+static VALUE (*dll_rb_int2big)(intptr_t);
|
+static VALUE (*dll_rb_int2big)(intptr_t);
|
||||||
+# else
|
+# else
|
||||||
static VALUE (*dll_rb_int2big)(SIGNED_VALUE);
|
static VALUE (*dll_rb_int2big)(SIGNED_VALUE);
|
||||||
@ -18,7 +18,7 @@ index 9c91f31..e53e0ef 100644
|
|||||||
{
|
{
|
||||||
return dll_rb_num2long(x);
|
return dll_rb_num2long(x);
|
||||||
}
|
}
|
||||||
+# ifdef DYNAMIC_RUBY_VER >= 26
|
+# if DYNAMIC_RUBY_VER >= 26
|
||||||
+VALUE rb_int2big_stub(intptr_t x)
|
+VALUE rb_int2big_stub(intptr_t x)
|
||||||
+# else
|
+# else
|
||||||
VALUE rb_int2big_stub(SIGNED_VALUE x)
|
VALUE rb_int2big_stub(SIGNED_VALUE x)
|
||||||
|
5
vim.spec
5
vim.spec
@ -24,7 +24,7 @@ Summary: The VIM editor
|
|||||||
URL: http://www.vim.org/
|
URL: http://www.vim.org/
|
||||||
Name: vim
|
Name: vim
|
||||||
Version: %{baseversion}.%{patchlevel}
|
Version: %{baseversion}.%{patchlevel}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: Vim and MIT
|
License: Vim and MIT
|
||||||
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2
|
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2
|
||||||
Source1: vim.sh
|
Source1: vim.sh
|
||||||
@ -812,6 +812,9 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags
|
|||||||
%{_datadir}/icons/locolor/*/apps/*
|
%{_datadir}/icons/locolor/*/apps/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jan 30 2019 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.1.847-1
|
||||||
- patchlevel 847
|
- patchlevel 847
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user