commit:     b3c368981eebf62a1880a549380fdadeb82fe4ca
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 24 18:49:21 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Oct 24 18:49:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c36898

net-libs/signon-oauth2: Disable -Werror

Closes: https://bugs.gentoo.org/698442
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/signon-oauth2/signon-oauth2-0.24.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/net-libs/signon-oauth2/signon-oauth2-0.24.ebuild 
b/net-libs/signon-oauth2/signon-oauth2-0.24.ebuild
index 28d8ae826ba..ff53dc277ac 100644
--- a/net-libs/signon-oauth2/signon-oauth2-0.24.ebuild
+++ b/net-libs/signon-oauth2/signon-oauth2-0.24.ebuild
@@ -8,7 +8,7 @@ MY_PV=VERSION_${PV}
 inherit qmake-utils
 
 DESCRIPTION="OAuth2 plugin for Signon daemon"
-HOMEPAGE="https://01.org/gsso/";
+HOMEPAGE="https://gitlab.com/accounts-sso/signon-plugin-oauth2";
 
SRC_URI="https://gitlab.com/accounts-sso/${MY_PN}/-/archive/${MY_PV}/${MY_PN}-${MY_PV}.tar.gz
 -> ${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
@@ -34,9 +34,11 @@ PATCHES=(
 
 src_prepare() {
        default
-
+       sed -i -e '/QMAKE_CXXFLAGS.*Werror/s/^/#DONT /' 
common-project-config.pri ||
+               die "failed to disable -Werror"
        if ! use test; then
-               sed -i -e '/^SUBDIRS/s/tests//' signon-oauth2.pro || die 
"Failed to disable tests"
+               sed -i -e '/^SUBDIRS/s/tests//' signon-oauth2.pro ||
+                       die "Failed to disable tests"
        fi
 }
 

Reply via email to