automatic version update by autodist [release 1.15.0-1mamba;Sun Nov 10 2024]
This commit is contained in:
parent
ad5dba4fc8
commit
010d057e5a
@ -1,24 +0,0 @@
|
|||||||
From 06f92eae2bb37658561e0c87516c29e8e094f0a8 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Yao Zi <ziyao@disroot.org>
|
|
||||||
Date: Mon, 8 Jul 2024 19:37:05 +0000
|
|
||||||
Subject: [PATCH] make example compatible with fmt 11
|
|
||||||
|
|
||||||
Since fmt 11.0.0, formatter::format() is required to be const. Mark
|
|
||||||
format() method in example as const to stay compatible with fmt 11.
|
|
||||||
---
|
|
||||||
example/example.cpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/example/example.cpp b/example/example.cpp
|
|
||||||
index d4cfa1e29..267e42151 100644
|
|
||||||
--- a/example/example.cpp
|
|
||||||
+++ b/example/example.cpp
|
|
||||||
@@ -272,7 +272,7 @@ struct my_type {
|
|
||||||
#ifndef SPDLOG_USE_STD_FORMAT // when using fmtlib
|
|
||||||
template <>
|
|
||||||
struct fmt::formatter<my_type> : fmt::formatter<std::string> {
|
|
||||||
- auto format(my_type my, format_context &ctx) -> decltype(ctx.out()) {
|
|
||||||
+ auto format(my_type my, format_context &ctx) const -> decltype(ctx.out()) {
|
|
||||||
return fmt::format_to(ctx.out(), "[my_type i={}]", my.i);
|
|
||||||
}
|
|
||||||
};
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: spdlog
|
Name: spdlog
|
||||||
Version: 1.14.1
|
Version: 1.15.0
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: Fast C++ logging library
|
Summary: Fast C++ logging library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -8,7 +8,6 @@ Distribution: openmamba
|
|||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/gabime/spdlog
|
URL: https://github.com/gabime/spdlog
|
||||||
Source: https://github.com/gabime/spdlog.git/v%{version}/spdlog-%{version}.tar.bz2
|
Source: https://github.com/gabime/spdlog.git/v%{version}/spdlog-%{version}.tar.bz2
|
||||||
Patch0: spdlog-1.14.1-fmt-11.0.2.patch
|
|
||||||
License: MIT
|
License: MIT
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -45,7 +44,6 @@ This package contains libraries and header files for developing applications tha
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch 0 -p1 -b .fmt-11.0.2
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build \
|
%cmake -d build \
|
||||||
@ -76,6 +74,9 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Nov 10 2024 Automatic Build System <autodist@openmamba.org> 1.15.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Tue Sep 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.1-2mamba
|
* Tue Sep 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.1-2mamba
|
||||||
- rebuilt with libfmt 11.0.2
|
- rebuilt with libfmt 11.0.2
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user