Accepting request 213402 from openSUSE:Factory:Staging:Ruby21
- Fix dynamic loading of Ruby for Ruby 2.1 Add patch vim-7.4-ruby21.patch OBS-URL: https://build.opensuse.org/request/show/213402 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=179
This commit is contained in:
committed by
Git OBS Bridge
parent
dd00c31c92
commit
677f2ec6b0
10
vim.spec
10
vim.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package vim
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -104,6 +104,11 @@ Patch21: %{name}-7.3-filetype_changes.patch
|
||||
Patch22: %{name}-7.4-filetype_mine.patch
|
||||
Patch100: vim-7.1.314-CVE-2009-0316-debian.patch
|
||||
Patch101: vim73-no-static-libpython.patch
|
||||
%if 0%{?suse_version} > 1310
|
||||
# Ruby 2.1 calls rb_gc_writebarrier_unprotect_promoted in RARRAY_PTR,
|
||||
# stub it for dynamic loading, kkaempf@suse.de
|
||||
Patch102: vim-7.4-ruby21.patch
|
||||
%endif
|
||||
%{perl_requires}
|
||||
%{?libperl_requires}
|
||||
|
||||
@@ -192,6 +197,9 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim
|
||||
%patch22 -p1
|
||||
%patch100 -p1
|
||||
%patch101
|
||||
%if 0%{?suse_version} > 1310
|
||||
%patch102 -p1
|
||||
%endif
|
||||
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
|
||||
|
||||
# newer perl? ugly hack to fix build anyway.
|
||||
|
Reference in New Issue
Block a user