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
This commit is contained in:
Ismail Dönmez 2012-06-05 06:24:09 +00:00 committed by Git OBS Bridge
parent 72e78541d8
commit bafff23e96
2 changed files with 10 additions and 0 deletions

View File

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

View File

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