commit:     184b841fc8a4cf9921cff268f94f1df4c2e97b73
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Fri Jan  1 20:43:27 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jan  1 20:43:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=184b841f

sys-block/tgt: Remove Werror

Closes: https://github.com/gentoo/gentoo/pull/18901
Closes: https://bugs.gentoo.org/762949
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-block/tgt/tgt-1.0.79.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-block/tgt/tgt-1.0.79.ebuild b/sys-block/tgt/tgt-1.0.79.ebuild
index a014556fa53..961f8dd234c 100644
--- a/sys-block/tgt/tgt-1.0.79.ebuild
+++ b/sys-block/tgt/tgt-1.0.79.ebuild
@@ -41,6 +41,7 @@ src_prepare() {
        sed -i -e 's:\($(CC)\) $^:\1 $(LDFLAGS) $^:' usr/Makefile || die
        # make sure xml docs are generated before trying to install them
        sed -i -e "s@install: @& all @g" doc/Makefile || die
+       sed -i -e 's|-Werror||g' usr/Makefile || die
 }
 
 src_compile() {

Reply via email to