commit:     9df3466524c7e920d10ebb6e955723ac30651de7
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 13 16:53:57 2019 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Sat Apr 13 16:53:57 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9df34665

sys-apps/edac-utils: remove -Werror with USE=debug

Closes: https://bugs.gentoo.org/637696
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Tiziano Müller <dev-zero <AT> gentoo.org>

 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 5bf6da23f31..84151a32ea1 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 \

Reply via email to