diff --git a/zsh.changes b/zsh.changes index 6e0e056..ea946b8 100644 --- a/zsh.changes +++ b/zsh.changes @@ -1,7 +1,12 @@ +------------------------------------------------------------------- +Fri Sep 21 09:29:03 UTC 2018 - Ismail Dönmez + +- Unbreak Leap 42.3 compilation + ------------------------------------------------------------------- Sun Sep 16 20:13:34 UTC 2018 - Karol Babioch -- Updateo to version 5.6.2 +- Update to version 5.6.2 * Fix another SIGTTOU case. * Fix SIGWINCH being ignored when zsh is not in the foreground. diff --git a/zsh.spec b/zsh.spec index 97e533a..86b5b98 100644 --- a/zsh.spec +++ b/zsh.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -108,10 +108,15 @@ perl -p -i -e 's|%{_prefix}/local/bin|%{_bindir}|' \ %build +%define _stack_protector "-fstack-protector-strong" +%if 0%{?suse_version} <= 1315 +%define _stack_protector "-fstack-protector" +%endif + %configure \ %if 0%{?suse_version} --with-term-lib="ncursesw" \ - --enable-cflags="%{optflags} -fPIE -fstack-protector-strong %(ncursesw6-config --cflags)" \ + --enable-cflags="%{optflags} -fPIE %{_stack_protector} %(ncursesw6-config --cflags)" \ --enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro" \ %endif --enable-fndir=%{_datadir}/%{name}/${version}/functions \