commit:     b4b41b884fdea4d3a2357436dbdfdc9f6c6a20dc
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Wed May  6 00:51:09 2020 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Wed May  6 00:51:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4b41b88

app-forensics/sleuthkit: remove '-Werror' from Makefiles

Closes: https://bugs.gentoo.org/713666
Package-Manager: Portage-2.3.69, Repoman-2.3.14
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>

 app-forensics/sleuthkit/sleuthkit-4.9.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app-forensics/sleuthkit/sleuthkit-4.9.0.ebuild 
b/app-forensics/sleuthkit/sleuthkit-4.9.0.ebuild
index fcc3132067e..d3358145520 100644
--- a/app-forensics/sleuthkit/sleuthkit-4.9.0.ebuild
+++ b/app-forensics/sleuthkit/sleuthkit-4.9.0.ebuild
@@ -123,6 +123,11 @@ tsk_prepare_libewf() {
 src_prepare() {
        use ewf && tsk_prepare_libewf
 
+       # Do not pass '-Werror'. This is overkill for user builds.
+       sed -e '/AM_CXXFLAGS/ s/-Werror//g' \
+               -i tsk/util/Makefile.am \
+               -i tsk/pool/Makefile.am || die
+
        if use java; then
                pushd "${S}"/bindings/java &>/dev/null || die
 

Reply via email to