Accepting request 846063 from devel:libraries:c_c++

- Update to version 7.1.2
  * Fixed floating point formatting with large precision
- Update to version 7.1.1
  * Fixed ABI compatibility with 7.0.x
  * Added the FMT_ARM_ABI_COMPATIBILITY macro to work around
    ABI incompatibility between GCC and Clang on ARM
  * Worked around a SFINAE bug in GCC 8
  * Fixed linkage errors when building with GCC's LTO
  * Fixed a compilation error when building without
    __builtin_clz or equivalent
  * Fixed a sign conversion warning
- Dropped fmt-7.1.0-LTO.patch (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/846063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fmt?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2020-11-06 22:44:13 +00:00 committed by Git OBS Bridge
commit cc93f6e01e
5 changed files with 24 additions and 31 deletions

View File

@ -1,25 +0,0 @@
From cb224ecaa375e22ace3b844358a63ba16b4df061 Mon Sep 17 00:00:00 2001
From: Victor Zverovich <victor.zverovich@gmail.com>
Date: Tue, 27 Oct 2020 07:44:12 -0700
Subject: [PATCH] Instantiate to_decimal to make gcc lto happy (#1955)
---
src/format.cc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/format.cc b/src/format.cc
index 727134166..88565e602 100644
--- a/src/format.cc
+++ b/src/format.cc
@@ -23,6 +23,11 @@ int format_float(char* buf, std::size_t size, const char* format, int precision,
return precision < 0 ? snprintf_ptr(buf, size, format, value)
: snprintf_ptr(buf, size, format, precision, value);
}
+
+template dragonbox::decimal_fp<float> dragonbox::to_decimal(float x)
+ FMT_NOEXCEPT;
+template dragonbox::decimal_fp<double> dragonbox::to_decimal(double x)
+ FMT_NOEXCEPT;
} // namespace detail
template struct FMT_INSTANTIATION_DEF_API detail::basic_data<void>;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a53bce7e3b7ee8c7374723262a43356afff176b1684b86061748409e6f8b56c5
size 768672

3
fmt-7.1.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4119a1c34dff91631e1d0a3707428f764f1ea22fe3cd5e70af5b4ccd5513831c
size 769401

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Wed Nov 4 17:34:46 UTC 2020 - aloisio@gmx.com
- Update to version 7.1.2
* Fixed floating point formatting with large precision
-------------------------------------------------------------------
Mon Nov 2 15:27:46 UTC 2020 - aloisio@gmx.com
- Update to version 7.1.1
* Fixed ABI compatibility with 7.0.x
* Added the FMT_ARM_ABI_COMPATIBILITY macro to work around
ABI incompatibility between GCC and Clang on ARM
* Worked around a SFINAE bug in GCC 8
* Fixed linkage errors when building with GCC's LTO
* Fixed a compilation error when building without
__builtin_clz or equivalent
* Fixed a sign conversion warning
- Dropped fmt-7.1.0-LTO.patch (merged upstream)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 26 14:54:41 UTC 2020 - Luigi Baldoni <aloisio@gmx.com> Mon Oct 26 14:54:41 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -18,15 +18,13 @@
%define sover 7 %define sover 7
Name: fmt Name: fmt
Version: 7.1.0 Version: 7.1.2
Release: 0 Release: 0
Summary: A formatting library for C++ Summary: A formatting library for C++
License: MIT License: MIT
URL: http://fmtlib.net/ URL: http://fmtlib.net/
Source0: https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: baselibs.conf Source1: baselibs.conf
# PATCH-FIX-UPSTREAM fmt-7.1.0-LTO.patch
Patch0: fmt-7.1.0-LTO.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkgconfig BuildRequires: pkgconfig