1
0
forked from ports/contrib

spdlog: 1.6.1 -> 1.7.0

This commit is contained in:
Tim Biermann 2020-07-09 22:24:32 +00:00
parent 83477d9ffb
commit 1fd8e3c4d2
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 4 additions and 74 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF309WcHef8rxsQZslaBUE8DS5iEAkyZGkMLwzP/7uv71KrBN/DYWjFQa2A1CIx9TwBnshNvzYVGdlgYaabcjAHgU=
SHA256 (Pkgfile) = cdc187884118621426e66b8db97ce215912aa21a3966ba686414b7eab9148014
RWSagIOpLGJF36M3QuvXkw08E31pPx3ovTLG2zRtUCmEXRWLEGq0Tt3WGqzWIndBgYSqYMN7FN9IxViIYYb3RQ1MbWcZUiODKg0=
SHA256 (Pkgfile) = 3f21a39800a3570d65009759eae34521d9b861c6490ff48d6fa0448c2038f819
SHA256 (.footprint) = c883dee52cab380777f5cf039d88462624c68e1bd51b50fc708fd9cfb3341861
SHA256 (spdlog-1.6.1.tar.gz) = 378a040d91f787aec96d269b0c39189f58a6b852e4cbf9150ccfacbe85ebbbfc
SHA256 (spdlog-1.7.0.tar.gz) = f0114a4d3c88be9e696762f37a7c379619443ce9d668546c61b21d41affe5b62

View File

@ -1,48 +0,0 @@
From 1aa9ea92e20142a1ce2f2e1ac40ed1fa781fac19 Mon Sep 17 00:00:00 2001
From: gabime <gmelman1@gmail.com>
Date: Tue, 3 Dec 2019 00:35:28 +0200
Subject: [PATCH] Fix #1340
---
include/spdlog/details/circular_q.h | 1 +
include/spdlog/details/pattern_formatter-inl.h | 2 --
include/spdlog/details/thread_pool-inl.h | 1 +
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/spdlog/details/circular_q.h b/include/spdlog/details/circular_q.h
index 325dbfea..1f2712e7 100644
--- a/include/spdlog/details/circular_q.h
+++ b/include/spdlog/details/circular_q.h
@@ -5,6 +5,7 @@
#pragma once
#include <vector>
+#include <cassert>
namespace spdlog {
namespace details {
diff --git a/include/spdlog/details/pattern_formatter-inl.h b/include/spdlog/details/pattern_formatter-inl.h
index cc2f7eaa..6fdc78a9 100644
--- a/include/spdlog/details/pattern_formatter-inl.h
+++ b/include/spdlog/details/pattern_formatter-inl.h
@@ -75,8 +75,6 @@ class scoped_padder
private:
void pad_it(long count)
{
- // count = std::min(count, spaces_.size());
- // assert(count <= spaces_.size());
fmt_helper::append_string_view(string_view_t(spaces_.data(), static_cast<size_t>(count)), dest_);
}
diff --git a/include/spdlog/details/thread_pool-inl.h b/include/spdlog/details/thread_pool-inl.h
index 29a6363f..43220f43 100644
--- a/include/spdlog/details/thread_pool-inl.h
+++ b/include/spdlog/details/thread_pool-inl.h
@@ -8,6 +8,7 @@
#endif
#include <spdlog/common.h>
+#include <cassert>
namespace spdlog {
namespace details {

View File

@ -4,7 +4,7 @@
# Depends on: cmake fmt ninja
name=spdlog
version=1.6.1
version=1.7.0
release=1
source=(https://github.com/gabime/spdlog/archive/v$version/$name-$version.tar.gz)

View File

@ -1,22 +0,0 @@
diff -Naur spdlog-1.4.2.old/include/spdlog/details/circular_q.h spdlog-1.4.2/include/spdlog/details/circular_q.h
--- spdlog-1.4.2.old/include/spdlog/details/circular_q.h 2019-12-20 21:31:05.407421825 +0100
+++ spdlog-1.4.2/include/spdlog/details/circular_q.h 2019-12-20 21:31:40.882235267 +0100
@@ -5,6 +5,7 @@
#pragma once
#include <vector>
+#include <cassert>
namespace spdlog {
namespace details {
diff -Naur spdlog-1.4.2.old/include/spdlog/details/thread_pool-inl.h spdlog-1.4.2/include/spdlog/details/thread_pool-inl.h
--- spdlog-1.4.2.old/include/spdlog/details/thread_pool-inl.h 2019-12-20 21:31:05.407421825 +0100
+++ spdlog-1.4.2/include/spdlog/details/thread_pool-inl.h 2019-12-20 21:32:15.390516965 +0100
@@ -8,6 +8,7 @@
#endif
#include "spdlog/common.h"
+#include <cassert>
namespace spdlog {
namespace details {