From 9df3466524c7e920d10ebb6e955723ac30651de7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tiziano=20M=C3=BCller?= Date: Sat, 13 Apr 2019 18:53:57 +0200 Subject: [PATCH] sys-apps/edac-utils: remove -Werror with USE=debug MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/637696 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Tiziano Müller --- sys-apps/edac-utils/edac-utils-0.18.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys-apps/edac-utils/edac-utils-0.18.ebuild b/sys-apps/edac-utils/edac-utils-0.18.ebuild index 5bf6da23f318..84151a32ea16 100644 --- a/sys-apps/edac-utils/edac-utils-0.18.ebuild +++ b/sys-apps/edac-utils/edac-utils-0.18.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -17,6 +17,12 @@ DEPEND="sys-fs/sysfsutils" RDEPEND="${DEPEND} sys-apps/dmidecode" +src_prepare() { + sed -i \ + -e 's|-Werror||' \ + configure || die +} + src_configure() { econf \ --disable-static \ -- 2.26.2