Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/qbittorrent/
Date: Thu, 05 May 2016 00:39:52
Message-Id: 1462408775.a9cf6a5478c727f8afa516282cbccf3b62353c22.pesa@gentoo
1 commit: a9cf6a5478c727f8afa516282cbccf3b62353c22
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 5 00:39:12 2016 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Thu May 5 00:39:35 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9cf6a54
7
8 net-p2p/qbittorrent: restore workaround for build failure with older boost
9
10 Gentoo-Bug: 582100
11
12 Package-Manager: portage-2.2.28
13
14 net-p2p/qbittorrent/qbittorrent-3.3.4-r1.ebuild | 8 +++++++-
15 1 file changed, 7 insertions(+), 1 deletion(-)
16
17 diff --git a/net-p2p/qbittorrent/qbittorrent-3.3.4-r1.ebuild b/net-p2p/qbittorrent/qbittorrent-3.3.4-r1.ebuild
18 index c98d0ca..70a4b96 100644
19 --- a/net-p2p/qbittorrent/qbittorrent-3.3.4-r1.ebuild
20 +++ b/net-p2p/qbittorrent/qbittorrent-3.3.4-r1.ebuild
21 @@ -4,7 +4,7 @@
22
23 EAPI=6
24
25 -inherit qmake-utils
26 +inherit flag-o-matic qmake-utils
27
28 DESCRIPTION="BitTorrent client in C++ and Qt"
29 HOMEPAGE="http://www.qbittorrent.org/"
30 @@ -58,6 +58,12 @@ DEPEND="${RDEPEND}
31 DOCS=(AUTHORS Changelog CONTRIBUTING.md README.md TODO)
32
33 src_configure() {
34 + # workaround build issue with older boost
35 + # https://github.com/qbittorrent/qBittorrent/issues/4112
36 + if has_version '<dev-libs/boost-1.58'; then
37 + append-cppflags -DBOOST_NO_CXX11_REF_QUALIFIERS
38 + fi
39 +
40 econf \
41 --with-qjson=system \
42 --with-qtsingleapplication=system \