[med-svn] [rapmap] 01/02: d/p/libspdlog: Correct instanziation of ansicolor sink, Closes: #884218

Gert Wollny gewo at moszumanska.debian.org
Wed Dec 13 10:25:20 UTC 2017


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

gewo pushed a commit to branch master
in repository rapmap.

commit 70eda660dd21b296a14848acd59a17f9adc86580
Author: Gert Wollny <gewo at debian.org>
Date:   Wed Dec 13 11:21:46 2017 +0100

    d/p/libspdlog: Correct instanziation of ansicolor sink, Closes: #884218
---
 debian/patches/libspdlog_14_0.patch | 15 +++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/libspdlog_14_0.patch b/debian/patches/libspdlog_14_0.patch
new file mode 100644
index 0000000..5ea724c
--- /dev/null
+++ b/debian/patches/libspdlog_14_0.patch
@@ -0,0 +1,15 @@
+Author: Gert Wollny <gewo at debian.org>
+Description: Correct instanziation of consoleSink for new spdlog version
+Debian-Bug: https://bugs.debian.org/884218
+
+--- a/src/RapMapSAMapper.cpp
++++ b/src/RapMapSAMapper.cpp
+@@ -576,7 +576,7 @@
+   
+   auto rawConsoleSink = std::make_shared<spdlog::sinks::stderr_sink_mt>();
+   auto consoleSink =
+-      std::make_shared<spdlog::sinks::ansicolor_sink>(rawConsoleSink);
++      std::make_shared<spdlog::sinks::ansicolor_stderr_sink_mt>();
+   auto consoleLog = spdlog::create("stderrLog", {consoleSink});
+   
+   try {
diff --git a/debian/patches/series b/debian/patches/series
index 26f08c6..fcede92 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 use-debian-libs.patch
 use_shared_libs.patch
+libspdlog_14_0.patch

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



More information about the debian-med-commit mailing list