sys-apps/edac-utils: remove -Werror with USE=debug
authorTiziano Müller <dev-zero@gentoo.org>
Sat, 13 Apr 2019 16:53:57 +0000 (18:53 +0200)
committerTiziano Müller <dev-zero@gentoo.org>
Sat, 13 Apr 2019 16:53:57 +0000 (18:53 +0200)
Closes: https://bugs.gentoo.org/637696
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Tiziano Müller <dev-zero@gentoo.org>
sys-apps/edac-utils/edac-utils-0.18.ebuild

index 5bf6da23f3182ad81c84bd99d5b71a959defd027..84151a32ea1644007e9d46acc1599ca195728011 100644 (file)
@@ -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 \