Hello community, here is the log from the commit of package libcaca for openSUSE:Factory checked in at 2019-08-07 13:56:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcaca (Old) and /work/SRC/openSUSE:Factory/.libcaca.new.9556 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcaca" Wed Aug 7 13:56:32 2019 rev:42 rq:720193 version:0.99.beta19.git20171003 Changes: -------- --- /work/SRC/openSUSE:Factory/libcaca/libcaca.changes 2019-02-04 21:23:04.823629923 +0100 +++ /work/SRC/openSUSE:Factory/.libcaca.new.9556/libcaca.changes 2019-08-07 13:56:34.016856065 +0200 @@ -1,0 +2,6 @@ +Thu Aug 1 09:46:57 UTC 2019 - Michel Normand <[email protected]> + +- Add Bug1143286_libcaca_configure_ac_chg_for_lto.patch + bypass boo#1143286 + +------------------------------------------------------------------- New: ---- Bug1143286_libcaca_configure_ac_chg_for_lto.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcaca.spec ++++++ --- /var/tmp/diff_new_pack.xVTXjO/_old 2019-08-07 13:56:35.020856054 +0200 +++ /var/tmp/diff_new_pack.xVTXjO/_new 2019-08-07 13:56:35.020856054 +0200 @@ -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/ # @@ -37,6 +37,7 @@ Patch10: libcaca-ncurses6.patch Patch11: libcaca-variable-type.patch Patch12: Bug1120502-add_cast_to_prevent_overflow.patch +Patch13: Bug1143286_libcaca_configure_ac_chg_for_lto.patch BuildRequires: doxygen BuildRequires: fdupes BuildRequires: freeglut-devel @@ -140,6 +141,7 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 RUBY="ruby-`echo %{rb_ver} | sed 's|\.[^\.]*$||'`" find . -type f -exec sed -i "s|ruby-1.9|$RUBY|" \{\} \; pushd python ++++++ Bug1143286_libcaca_configure_ac_chg_for_lto.patch ++++++ From: Michel Normand <[email protected]> Subject: Bug1143286 libcaca configure ac chg for lto Date: Thu, 01 Aug 2019 11:43:35 +0200 Bug1143286 libcaca configure ac chg for lto bypass to avoid PowerPC/ARM build failures now that LTO is default build option for openSUSE. Signed-off-by: Michel Normand <[email protected]> --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: libcaca-da28e9684ef445ac8d42745644336b8a75c01855/configure.ac =================================================================== --- libcaca-da28e9684ef445ac8d42745644336b8a75c01855.orig/configure.ac +++ libcaca-da28e9684ef445ac8d42745644336b8a75c01855/configure.ac @@ -145,13 +145,13 @@ AC_TRY_COMPILE([#include <windows.h>],[S [AC_MSG_RESULT(no)]) AC_MSG_CHECKING(for fsin/fcos) -AC_TRY_COMPILE([],[double x; asm volatile("fsin; fcos":"=t"(x):);], +AC_TRY_LINK([],[double x; asm volatile("fsin; fcos":"=t"(x):);], [AC_MSG_RESULT(yes) AC_DEFINE(HAVE_FSIN_FCOS, 1, [Define to 1 if you have the ‘fsin’ and ‘fcos’ instructions.])], [AC_MSG_RESULT(no)]) AC_MSG_CHECKING(for fldln2/fxch/fyl2x) -AC_TRY_COMPILE([],[double x; asm volatile("fldln2; fldln2; fxch; fyl2x":"=t"(x):);], +AC_TRY_LINK([],[double x; asm volatile("fldln2; fldln2; fxch; fyl2x":"=t"(x):);], [AC_MSG_RESULT(yes) AC_DEFINE(HAVE_FLDLN2, 1, [Define to 1 if you have the ‘fldln2’ and other floating point instructions.])], [AC_MSG_RESULT(no)])
