Accepting request 1101996 from home:dimstar:Factory
- Add 2827.patch: Added missing square bracket to fix the level_to_string_view. OBS-URL: https://build.opensuse.org/request/show/1101996 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=85
This commit is contained in:
parent
f00378c117
commit
02947f91dd
23
2827.patch
Normal file
23
2827.patch
Normal file
@ -0,0 +1,23 @@
|
||||
From 6a508d3d7e9af6e8b60eb00f77c2721ddf0e7ea1 Mon Sep 17 00:00:00 2001
|
||||
From: Vitaly Zaitsev <vitaly@easycoding.org>
|
||||
Date: Sun, 23 Jul 2023 10:11:37 +0200
|
||||
Subject: [PATCH] Added missing square bracket to fix the level_to_string_view
|
||||
test.
|
||||
|
||||
---
|
||||
tests/test_misc.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/test_misc.cpp b/tests/test_misc.cpp
|
||||
index 9f3cb1744..6199641ff 100644
|
||||
--- a/tests/test_misc.cpp
|
||||
+++ b/tests/test_misc.cpp
|
||||
@@ -43,7 +43,7 @@ TEST_CASE("log_levels", "[log_levels]")
|
||||
REQUIRE(log_info("Hello", spdlog::level::trace) == "Hello");
|
||||
}
|
||||
|
||||
-TEST_CASE("level_to_string_view", "[convert_to_string_view")
|
||||
+TEST_CASE("level_to_string_view", "[convert_to_string_view]")
|
||||
{
|
||||
REQUIRE(spdlog::level::to_string_view(spdlog::level::trace) == "trace");
|
||||
REQUIRE(spdlog::level::to_string_view(spdlog::level::debug) == "debug");
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 2 12:48:47 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Add 2827.patch: Added missing square bracket to fix the
|
||||
level_to_string_view.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 9 12:02:44 UTC 2023 - Bernd Ritter <comrad@posteo.de>
|
||||
|
||||
|
@ -26,6 +26,8 @@ License: MIT
|
||||
URL: https://github.com/gabime/spdlog
|
||||
Source0: https://github.com/gabime/%{name}/archive/refs/tags/v%{version}.tar.gz
|
||||
Source99: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM 2827.patch -- Added missing square bracket to fix the level_to_string_view
|
||||
Patch0: https://patch-diff.githubusercontent.com/raw/gabime/spdlog/pull/2827.patch
|
||||
BuildRequires: cmake >= 3.10
|
||||
%if 0%{?suse_version} > 1500
|
||||
BuildRequires: gcc-c++ >= 8
|
||||
|
Loading…
x
Reference in New Issue
Block a user