commit:     6d91415f440872933a88db8162b0728771f4f4b4
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 22 11:46:51 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 11:47:03 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d91415f

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 24631e72b86..7316bdc0178 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 24631e72b86..26971a13117 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

Reply via email to