SHA256
1
0
forked from pool/vim

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:
Ismail Dönmez
2014-01-10 10:07:05 +00:00
committed by Git OBS Bridge
parent dd00c31c92
commit 677f2ec6b0
3 changed files with 72 additions and 1 deletions

View File

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