diff --git a/libcaca.changes b/libcaca.changes index 7969d7c..5793fa6 100644 --- a/libcaca.changes +++ b/libcaca.changes @@ -3,6 +3,7 @@ Sun Jun 5 00:57:03 UTC 2022 - Dirk Müller - Updated to 0.99.beta20. * Added dependency BuildRequires:autoconf >= 2.71. + * Added %define _lto_cflags -flto=auto -ffat-lto-objects (fix arm). * Removed obsolete patches: * libcaca-variable-type.patch * Bug1120502-add_cast_to_prevent_overflow.patch @@ -12,7 +13,7 @@ Sun Jun 5 00:57:03 UTC 2022 - Dirk Müller * Added IPv6 support in cacaserver. * Fixed a bug from 2004 that caused PDF documentation generation to fail. * Fixed memory allocation functions are now more robust. - * Fixed numerous fixes for memory leaks and invalid memory accesses. + * Fixed numerous fixes for memory leaks and invalid memory accesses. ------------------------------------------------------------------- Mon Mar 14 13:36:16 UTC 2022 - Josef Möllers diff --git a/libcaca.spec b/libcaca.spec index 8b876ec..a6db43e 100644 --- a/libcaca.spec +++ b/libcaca.spec @@ -130,12 +130,12 @@ drawing, triangle filling and sprite blitting. %prep %setup -q +%patch1 %patch2 %patch4 %patch5 %patch7 %patch9 -%patch1 %patch10 -p1 %patch100 -p1 RUBY="ruby-`echo %{rb_ver} | sed 's|\.[^\.]*$||'`" @@ -146,6 +146,7 @@ for i in `grep -rl "/usr/bin/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/pyth popd %build +%define _lto_cflags -flto=auto -ffat-lto-objects autoreconf -fvi export CFLAGS="$CFLAGS %{optflags} -I../caca/" export CXXFLAGS="$CXXFLAGS %{optflags}"