From 6d91415f440872933a88db8162b0728771f4f4b4 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Fri, 22 Dec 2017 22:46:51 +1100 Subject: [PATCH] net-p2p/qbittorrent: avoid Werror Closes: https://bugs.gentoo.org/641382 Package-Manager: Portage-2.3.14, Repoman-2.3.6 --- net-p2p/qbittorrent/qbittorrent-4.0.3.ebuild | 7 +++++++ net-p2p/qbittorrent/qbittorrent-9999.ebuild | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/net-p2p/qbittorrent/qbittorrent-4.0.3.ebuild b/net-p2p/qbittorrent/qbittorrent-4.0.3.ebuild index 24631e72b86e..7316bdc01781 100644 --- a/net-p2p/qbittorrent/qbittorrent-4.0.3.ebuild +++ b/net-p2p/qbittorrent/qbittorrent-4.0.3.ebuild @@ -43,6 +43,13 @@ DEPEND="${RDEPEND} DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO ) +src_prepare() { + default + + # bug 641382 + sed -i -e "s/-Werror //" cmake/Modules/MacroQbtCompilerSettings.cmake || die +} + src_configure() { local mycmakeargs=( -DSYSTEM_QTSINGLEAPPLICATION=ON diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild b/net-p2p/qbittorrent/qbittorrent-9999.ebuild index 24631e72b86e..26971a131175 100644 --- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild +++ b/net-p2p/qbittorrent/qbittorrent-9999.ebuild @@ -43,6 +43,13 @@ DEPEND="${RDEPEND} DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO ) +src_prepare() { + default + + # bug 641382 + sed -i -e "s/-Werror //" cmake/Modules/MacroQbtCompilerSettings.cmake || die +} + src_configure() { local mycmakeargs=( -DSYSTEM_QTSINGLEAPPLICATION=ON -- 2.26.2