summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2016-05-05 02:39:12 +0200
committerDavide Pesavento <pesa@gentoo.org>2016-05-05 02:39:35 +0200
commita9cf6a5478c727f8afa516282cbccf3b62353c22 (patch)
tree85ecdcb6a318222ff984ce622b55d8095fdc751a /net-p2p/qbittorrent
parentsys-kernel/gentoo-sources: Linux patch 4.4.9 (diff)
downloadgentoo-a9cf6a5478c727f8afa516282cbccf3b62353c22.tar.gz
gentoo-a9cf6a5478c727f8afa516282cbccf3b62353c22.tar.bz2
gentoo-a9cf6a5478c727f8afa516282cbccf3b62353c22.zip
net-p2p/qbittorrent: restore workaround for build failure with older boost
Gentoo-Bug: 582100 Package-Manager: portage-2.2.28
Diffstat (limited to 'net-p2p/qbittorrent')
-rw-r--r--net-p2p/qbittorrent/qbittorrent-3.3.4-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-p2p/qbittorrent/qbittorrent-3.3.4-r1.ebuild b/net-p2p/qbittorrent/qbittorrent-3.3.4-r1.ebuild
index c98d0ca8a65f..70a4b9642c57 100644
--- a/net-p2p/qbittorrent/qbittorrent-3.3.4-r1.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-3.3.4-r1.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 \