From 2681b6c35df5cdee3f3cdc173bf1a45408225ae0 Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Sat, 4 Mar 2017 12:19:07 +0100 Subject: dev-libs/locked_sstream: Initial import (required by dev-libs/libcxml). Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- dev-libs/locked_sstream/Manifest | 1 + .../locked_sstream/locked_sstream-0.0.5.ebuild | 27 ++++++++++++++++++++++ dev-libs/locked_sstream/metadata.xml | 11 +++++++++ 3 files changed, 39 insertions(+) create mode 100644 dev-libs/locked_sstream/Manifest create mode 100644 dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild create mode 100644 dev-libs/locked_sstream/metadata.xml (limited to 'dev-libs/locked_sstream') diff --git a/dev-libs/locked_sstream/Manifest b/dev-libs/locked_sstream/Manifest new file mode 100644 index 000000000000..8983679b2536 --- /dev/null +++ b/dev-libs/locked_sstream/Manifest @@ -0,0 +1 @@ +DIST locked_sstream-0.0.5.tar.bz2 98277 SHA256 fb6ff1d1b7ce24bc80432d6a443a8d0843a5384f9a28d7373564739f0bca1aba SHA512 5d136c2e1ac5b1eabd07a8048715f47881662ce7a3bfdc2460428f34ab51b0474327b2f28ce6ba2f4ac9774478abb20082af8f954ebb1c4653ba24ca82991c32 WHIRLPOOL 3678f8f7715a80864cd9c49d9e3148047c8a112908b9951df02fbf326e8bf54fe2b95ba749b224cc8b2490b5ab4e9e0f9ad9ff1d62b377d31ca9069c26c3caed diff --git a/dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild b/dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild new file mode 100644 index 000000000000..15dee56fc200 --- /dev/null +++ b/dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) +PYTHON_REQ_USE="threads(+)" +inherit python-any-r1 waf-utils + +DESCRIPTION="tiny C++ library which wraps std::stringstream in a mutex" +HOMEPAGE="http://carlh.net/locked_sstream" +SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="" +DEPEND="dev-util/waf" + +src_prepare() { + rm -vf ./waf || die + WAF_BINARY=${EROOT}usr/bin/waf + + default +} diff --git a/dev-libs/locked_sstream/metadata.xml b/dev-libs/locked_sstream/metadata.xml new file mode 100644 index 000000000000..437dd2281c43 --- /dev/null +++ b/dev-libs/locked_sstream/metadata.xml @@ -0,0 +1,11 @@ + + + + +xmw@gentoo.org +Michael Weber + + +locked_sstream is a tiny C++ library which wraps std::stringstream in a mutex to attempt to fix crashes on OS X when multiple threads simultaneously use different stringstreams. It remains to be seen whether it fixes the problem completely, but it certainly helps. + + -- cgit v1.2.3-65-gdbad