summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-10-24 20:49:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-10-24 20:49:21 +0200
commitb3c368981eebf62a1880a549380fdadeb82fe4ca (patch)
tree871a62de188c089f734ad425585b2fe861e45cda /net-libs
parentprofiles: Mask kde-misc/systemd-kcm for removal (diff)
downloadgentoo-b3c368981eebf62a1880a549380fdadeb82fe4ca.tar.gz
gentoo-b3c368981eebf62a1880a549380fdadeb82fe4ca.tar.bz2
gentoo-b3c368981eebf62a1880a549380fdadeb82fe4ca.zip
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@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/signon-oauth2/signon-oauth2-0.24.ebuild8
1 files 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 28d8ae826baa..ff53dc277ac8 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
}