Accepting request 845481 from home:alois:branches:devel:libraries:c_c++
- 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/845481 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/fmt?expand=0&rev=35
This commit is contained in:
@@ -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>;
|
BIN
fmt-7.1.0.tar.gz
(Stored with Git LFS)
BIN
fmt-7.1.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
fmt-7.1.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
fmt-7.1.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
14
fmt.changes
14
fmt.changes
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
4
fmt.spec
4
fmt.spec
@@ -18,15 +18,13 @@
|
||||
|
||||
%define sover 7
|
||||
Name: fmt
|
||||
Version: 7.1.0
|
||||
Version: 7.1.1
|
||||
Release: 0
|
||||
Summary: A formatting library for C++
|
||||
License: MIT
|
||||
URL: http://fmtlib.net/
|
||||
Source0: https://github.com/fmtlib/fmt/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM fmt-7.1.0-LTO.patch
|
||||
Patch0: fmt-7.1.0-LTO.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
|
Reference in New Issue
Block a user