mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-09 22:32:57 +02:00
leatherman: update to 0.9.3
This commit is contained in:
parent
1aca646949
commit
9602728673
2 changed files with 3 additions and 28 deletions
|
@ -1,25 +0,0 @@
|
||||||
From e8196d55ecac7f2bf3aa5cb0aefef0122e63db21 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Michael Smith <michael.smith@puppet.com>
|
|
||||||
Date: Thu, 13 Oct 2016 14:45:13 -0700
|
|
||||||
Subject: [PATCH] (LTH-115) Fix Boost.Log sink initialization with Boost 1.62
|
|
||||||
|
|
||||||
In Boost 1.62, the way sink argument forwarding appears to have changed
|
|
||||||
in such a way that it failed to identify the implicit creation of a
|
|
||||||
color_writer. Switch to explicitly creating the color_writer sink.
|
|
||||||
---
|
|
||||||
logging/src/logging.cc | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/logging/src/logging.cc b/logging/src/logging.cc
|
|
||||||
index 9c071dc..d7419d5 100644
|
|
||||||
--- logging/src/logging.cc
|
|
||||||
+++ logging/src/logging.cc
|
|
||||||
@@ -82,7 +82,7 @@ namespace leatherman { namespace logging {
|
|
||||||
core->remove_all_sinks();
|
|
||||||
|
|
||||||
using sink_t = sinks::synchronous_sink<color_writer>;
|
|
||||||
- boost::shared_ptr<sink_t> sink(new sink_t(&dst));
|
|
||||||
+ boost::shared_ptr<sink_t> sink = boost::make_shared<sink_t>(boost::make_shared<color_writer>(&dst));
|
|
||||||
core->add_sink(sink);
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'leatherman'
|
# Template file for 'leatherman'
|
||||||
pkgname=leatherman
|
pkgname=leatherman
|
||||||
version=0.9.2
|
version=0.9.3
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="boost-devel libcurl-devel"
|
makedepends="boost-devel libcurl-devel"
|
||||||
|
@ -10,4 +10,4 @@ maintainer="Juergen Buchmueller <pullmoll@t-online.de>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://github.com/puppetlabs/leatherman"
|
homepage="https://github.com/puppetlabs/leatherman"
|
||||||
distfiles="https://github.com/puppetlabs/leatherman/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
distfiles="https://github.com/puppetlabs/leatherman/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||||
checksum=21e2e6e26456f6ce4b3d0b998e65413c821ed40307001a5b5e7596e176c7b524
|
checksum=3ede61039b8f15ca54cfa543e614bd115b6c862d3bf994c16d1783eb72ba0810
|
||||||
|
|
Loading…
Add table
Reference in a new issue