libcaca/Bug1143286_libcaca_configure_ac_chg_for_lto.patch
Илья Индиго cf4a8c5772 Accepting request 1035864 from home:vlefebvre:branches:multimedia:libs
- add patch [libcaca-autoconf-2.69.patch]
  * Don't force autoconf to be at version 2.71

- Upgrade to 0.99.beta20
  * IPv6 support in cacaserver
  * fixed a bug from 2004 that caused PDF documentation generation to fail
  * memory allocation functions are now more robust
  * numerous fixes for memory leaks and invalid memory accesses:
    * CVE-2021-30498
    * CVE-2021-30499
    * CVE-2021-3410
    * CVE-2018-20546
    * CVE-2018-20547
    * CVE-2018-20545
    * CVE-2018-20548
    * CVE-2018-20549
- Dropped upstream fixed patches
  * libcaca-bsc1182731-prevent-overflow.patch
  * libcaca-variable-type.patch
  * Bug1120502-add_cast_to_prevent_overflow.patch

OBS-URL: https://build.opensuse.org/request/show/1035864
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcaca?expand=0&rev=71
2022-11-16 14:17:39 +00:00

37 lines
1.1 KiB
Diff

From: Michel Normand <normand@linux.vnet.ibm.com>
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 <normand@linux.vnet.ibm.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: libcaca-0.99.beta20/configure.ac
===================================================================
--- libcaca-0.99.beta20.orig/configure.ac
+++ libcaca-0.99.beta20/configure.ac
@@ -146,7 +146,7 @@ AC_COMPILE_IFELSE(
[AC_MSG_RESULT(no)])
AC_MSG_CHECKING(for fsin/fcos)
-AC_COMPILE_IFELSE(
+AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[[]],
[[double x; asm volatile("fsin; fcos":"=t"(x):);]])],
@@ -155,7 +155,7 @@ AC_COMPILE_IFELSE(
[AC_MSG_RESULT(no)])
AC_MSG_CHECKING(for fldln2/fxch/fyl2x)
-AC_COMPILE_IFELSE(
+AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[[]],
[[double x; asm volatile("fldln2; fldln2; fxch; fyl2x":"=t"(x):);]])],