[med-svn] [hinge] 01/03: d/p/libspdlog: Update to new interface, Closes: #884211

Gert Wollny gewo at moszumanska.debian.org
Wed Dec 13 11:24:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

gewo pushed a commit to branch master
in repository hinge.

commit 9b2833558113c3d2a6a3c068a3b49ac1452fcbd0
Author: Gert Wollny <gewo at debian.org>
Date:   Wed Dec 13 12:11:39 2017 +0100

    d/p/libspdlog: Update to new interface, Closes: #884211
---
 debian/patches/libspdlog-14.0.patch | 11 +++++++++++
 debian/patches/series               |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/libspdlog-14.0.patch b/debian/patches/libspdlog-14.0.patch
new file mode 100644
index 0000000..5fe58e6
--- /dev/null
+++ b/debian/patches/libspdlog-14.0.patch
@@ -0,0 +1,11 @@
+--- a/src/filter/filter.cpp
++++ b/src/filter/filter.cpp
+@@ -198,7 +198,7 @@
+ 
+     std::vector<spdlog::sink_ptr> sinks;
+     sinks.push_back(std::make_shared<spdlog::sinks::stdout_sink_st>());
+-    sinks.push_back(std::make_shared<spdlog::sinks::daily_file_sink_st>(cmdp.get<std::string>("log") + "/log", "txt", 23, 59));
++    sinks.push_back(std::make_shared<spdlog::sinks::daily_file_sink_st>(cmdp.get<std::string>("log") + "/log.txt", 23, 59));
+     auto console = std::make_shared<spdlog::logger>("log", begin(sinks), end(sinks));
+     spdlog::register_logger(console);
+     //auto console = std::make_shared<spdlog::logger>("name", begin(sinks), end(sinks));
diff --git a/debian/patches/series b/debian/patches/series
index 4fef5c9..5366313 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 external-spdlog.patch
+libspdlog-14.0.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/hinge.git



More information about the debian-med-commit mailing list