automatic version update by autodist [release 1.15.1-1mamba;Tue Feb 04 2025]
This commit is contained in:
parent
2b76e91a37
commit
2086bf1190
@ -1,32 +0,0 @@
|
|||||||
From 276ee5f5c0eb13626bd367b006ace5eae9526d8a Mon Sep 17 00:00:00 2001
|
|
||||||
From: Rui Chen <rui@chenrui.dev>
|
|
||||||
Date: Thu, 26 Dec 2024 02:13:57 -0500
|
|
||||||
Subject: [PATCH] fix: update to_string_view function for fmt 11.1 (#3301)
|
|
||||||
|
|
||||||
Signed-off-by: Rui Chen <rui@chenrui.dev>
|
|
||||||
---
|
|
||||||
include/spdlog/common.h | 7 +++++++
|
|
||||||
1 file changed, 7 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/include/spdlog/common.h b/include/spdlog/common.h
|
|
||||||
index aca483c20..2d73f8300 100644
|
|
||||||
--- a/include/spdlog/common.h
|
|
||||||
+++ b/include/spdlog/common.h
|
|
||||||
@@ -365,10 +365,17 @@ SPDLOG_CONSTEXPR_FUNC spdlog::wstring_view_t to_string_view(spdlog::wstring_view
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef SPDLOG_USE_STD_FORMAT
|
|
||||||
+#if FMT_VERSION >= 110100
|
|
||||||
+template <typename T, typename... Args>
|
|
||||||
+inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_arg<T> fmt) {
|
|
||||||
+ return fmt;
|
|
||||||
+}
|
|
||||||
+#else
|
|
||||||
template <typename T, typename... Args>
|
|
||||||
inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_string<T, Args...> fmt) {
|
|
||||||
return fmt;
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
#elif __cpp_lib_format >= 202207L
|
|
||||||
template <typename T, typename... Args>
|
|
||||||
SPDLOG_CONSTEXPR_FUNC std::basic_string_view<T> to_string_view(
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: spdlog
|
Name: spdlog
|
||||||
Version: 1.15.0
|
Version: 1.15.1
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: Fast C++ logging library
|
Summary: Fast C++ logging library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -9,7 +9,6 @@ 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.15.0-libfmt-11.1.1.patch
|
Patch0: spdlog-1.15.0-libfmt-11.1.1.patch
|
||||||
Patch1: spdlog-1.15.0-libfmt-11.1.1-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 .libfmt-11.1.1
|
%patch 0 -p1 -b .libfmt-11.1.1
|
||||||
%patch 1 -p1 -b .libfmt-11.1.1-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
|
||||||
|
* Tue Feb 04 2025 Automatic Build System <autodist@openmamba.org> 1.15.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sun Dec 29 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.15.0-2mamba
|
* Sun Dec 29 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.15.0-2mamba
|
||||||
- rebuilt with libfmt 1.11.1
|
- rebuilt with libfmt 1.11.1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user