commit:     c828950299c1f83f8e60b3c013aa043fcc64c8ed
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Thu May  5 01:07:15 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Thu May  5 01:07:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8289502

net-p2p/qbittorrent: sync live ebuild

Package-Manager: portage-2.2.28

 net-p2p/qbittorrent/qbittorrent-9999.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild 
b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
index c98d0ca..70a4b96 100644
--- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit qmake-utils
+inherit flag-o-matic qmake-utils
 
 DESCRIPTION="BitTorrent client in C++ and Qt"
 HOMEPAGE="http://www.qbittorrent.org/";
@@ -58,6 +58,12 @@ DEPEND="${RDEPEND}
 DOCS=(AUTHORS Changelog CONTRIBUTING.md README.md TODO)
 
 src_configure() {
+       # workaround build issue with older boost
+       # https://github.com/qbittorrent/qBittorrent/issues/4112
+       if has_version '<dev-libs/boost-1.58'; then
+               append-cppflags -DBOOST_NO_CXX11_REF_QUALIFIERS
+       fi
+
        econf \
                --with-qjson=system \
                --with-qtsingleapplication=system \

Reply via email to