leatherman: update to 0.9.3

This commit is contained in:
Juergen Buchmueller 2016-11-11 11:29:27 +01:00
parent 1aca646949
commit 9602728673
2 changed files with 3 additions and 28 deletions

View File

@ -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);

View File

@ -1,7 +1,7 @@
# Template file for 'leatherman'
pkgname=leatherman
version=0.9.2
revision=2
version=0.9.3
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="boost-devel libcurl-devel"
@ -10,4 +10,4 @@ maintainer="Juergen Buchmueller <pullmoll@t-online.de>"
license="Apache-2.0"
homepage="https://github.com/puppetlabs/leatherman"
distfiles="https://github.com/puppetlabs/leatherman/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=21e2e6e26456f6ce4b3d0b998e65413c821ed40307001a5b5e7596e176c7b524
checksum=3ede61039b8f15ca54cfa543e614bd115b6c862d3bf994c16d1783eb72ba0810