diff options
author | Peter Levine <plevine457@gmail.com> | 2017-05-20 18:08:33 -0400 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-05-26 22:58:32 +0200 |
commit | f635eed0fb02dfd8684afbca47a975913877e117 (patch) | |
tree | 763c0b9596d2c553a652d8329a82f72955e4096f /net-p2p/ppcoind/ppcoind-0.4.0.ebuild | |
parent | 2fa577ac669729cbad4233e54d97185b2705e4d1 (diff) | |
download | gentoo-f635eed0fb02dfd8684afbca47a975913877e117.tar.gz gentoo-f635eed0fb02dfd8684afbca47a975913877e117.tar.xz |
net-p2p/ppcoind: Fix building with GCC-6
Bug: https://bugs.gentoo.org/show_bug.cgi?id=594404
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4691
Diffstat (limited to 'net-p2p/ppcoind/ppcoind-0.4.0.ebuild')
-rw-r--r-- | net-p2p/ppcoind/ppcoind-0.4.0.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net-p2p/ppcoind/ppcoind-0.4.0.ebuild b/net-p2p/ppcoind/ppcoind-0.4.0.ebuild index 96a1e4377fc..f0cc1712c90 100644 --- a/net-p2p/ppcoind/ppcoind-0.4.0.ebuild +++ b/net-p2p/ppcoind/ppcoind-0.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -45,6 +45,8 @@ pkg_setup() { } src_prepare() { + epatch "${FILESDIR}"/${P}-gcc6.patch + if has_version '>=dev-libs/boost-1.52'; then sed -i 's/\(-l db_cxx\)/-l boost_chrono$(BOOST_LIB_SUFFIX) \1/' src/makefile.unix fi |