From f829e63b515c31c513353f741a6285032a8de1e06897bb8c30ab4676ff1f3519 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 15 Jul 2019 12:53:12 +0000 Subject: [PATCH] Accepting request 715464 from home:marxin:branches:devel:libraries:c_c++ - Add floating-point-format-no-lto.patch in order to fix assembler scanning (boo#1141190). OBS-URL: https://build.opensuse.org/request/show/715464 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpfr?expand=0&rev=58 --- floating-point-format-no-lto.patch | 13 +++++++++++++ mpfr.changes | 6 ++++++ mpfr.spec | 6 ++++-- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 floating-point-format-no-lto.patch diff --git a/floating-point-format-no-lto.patch b/floating-point-format-no-lto.patch new file mode 100644 index 0000000..3e39b0b --- /dev/null +++ b/floating-point-format-no-lto.patch @@ -0,0 +1,13 @@ +diff --git a/configure b/configure +index 6581c68..a82593c 100755 +--- a/configure ++++ b/configure +@@ -16158,7 +16158,7 @@ foo_t foo = { + }; + + EOF +- mpfr_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c >&5 2>&1" ++ mpfr_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c -fno-lto >&5 2>&1" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$mpfr_compile\""; } >&5 + (eval $mpfr_compile) 2>&5 + ac_status=$? diff --git a/mpfr.changes b/mpfr.changes index 2439749..c1ff3f9 100644 --- a/mpfr.changes +++ b/mpfr.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 15 11:26:24 UTC 2019 - Martin Liška + +- Add floating-point-format-no-lto.patch in order to fix assembler scanning + (boo#1141190). + ------------------------------------------------------------------- Fri Feb 1 08:32:04 UTC 2019 - rguenther@suse.com diff --git a/mpfr.spec b/mpfr.spec index 0951822..81a4bc8 100644 --- a/mpfr.spec +++ b/mpfr.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/ # @@ -20,13 +20,14 @@ Name: mpfr Version: 4.0.2 Release: 0 Summary: The GNU multiple-precision floating-point library -License: LGPL-3.0+ +License: LGPL-3.0-or-later Group: Development/Libraries/C and C++ Url: http://www.mpfr.org/ Source0: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.bz2 Source1: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.bz2.asc Source2: %{name}.keyring Source3: baselibs.conf +Patch0: floating-point-format-no-lto.patch BuildRequires: gmp-devel BuildRequires: pkgconfig @@ -67,6 +68,7 @@ based on the GMP multiple-precision library. %prep %setup -q +%patch0 -p1 %build %configure \