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:
parent
bacbb87c86
commit
f81e1f7e05
@ -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>;
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a53bce7e3b7ee8c7374723262a43356afff176b1684b86061748409e6f8b56c5
|
|
||||||
size 768672
|
|
3
fmt-7.1.1.tar.gz
Normal file
3
fmt-7.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b3bc4dc01978b9a001fa1bc07900d6bd2a17e552a39a1c2dad9aad3bfdb868e3
|
||||||
|
size 769321
|
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>
|
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
|
%define sover 7
|
||||||
Name: fmt
|
Name: fmt
|
||||||
Version: 7.1.0
|
Version: 7.1.1
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user