From bafff23e96a5519fa026a83d6e9cb77a6ab2db2bc59766196483f3d616138337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 5 Jun 2012 06:24:09 +0000 Subject: [PATCH] Accepting request 123575 from home:seife:branches:editors - specfile hack to fix build with newer perl(?) on Factory, please forward immediately :-) OBS-URL: https://build.opensuse.org/request/show/123575 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=98 --- vim.changes | 5 +++++ vim.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/vim.changes b/vim.changes index 75a9555..cf77b1c 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 4 20:16:11 UTC 2012 - seife+obs@b1-systems.com + +- specfile hack to fix build with newer perl(?) on Factory + ------------------------------------------------------------------- Wed Apr 25 08:53:49 UTC 2012 - saschpe@suse.de diff --git a/vim.spec b/vim.spec index 1be2c77..717298d 100644 --- a/vim.spec +++ b/vim.spec @@ -289,6 +289,11 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim %patch101 cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE8} %{SOURCE10} . +# newer perl? ugly hack to fix build anyway. +%if 0%{?suse_version} > 1210 +sed -i -e 's/^XS(XS_/XS_INTERNAL(XS_/' src/if_perl.xs +%endif + %build export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing" export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1}