From: Ben Kohler <bkohler@gentoo.org>
Date: Thu, 6 Jun 2019 23:57:43 +0000 (-0500)
Subject: net-misc/connman-json-client: remove -Werror
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=29196eea9c5b3625cccfbe158f173f9d44dcc738;p=gentoo.git

net-misc/connman-json-client: remove -Werror

Fixes: https://bugs.gentoo.org/687544
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
---

diff --git a/net-misc/connman-json-client/connman-json-client-1.0_p20150721.ebuild b/net-misc/connman-json-client/connman-json-client-1.0_p20150721.ebuild
index 7b6aee326311..72908de1c1d7 100644
--- a/net-misc/connman-json-client/connman-json-client-1.0_p20150721.ebuild
+++ b/net-misc/connman-json-client/connman-json-client-1.0_p20150721.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,6 +21,7 @@ DEPEND="dev-libs/json-c:0=
 RDEPEND="${DEPEND}"
 
 src_prepare() {
+	sed -i -e '/^AM_CFLAGS/ s/ -Werror$//' Makefile.am || die
 	default
 	eautoreconf
 }