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}