From: Göktürk Yüksek Date: Wed, 6 May 2020 00:51:09 +0000 (-0400) Subject: app-forensics/sleuthkit: remove '-Werror' from Makefiles X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b4b41b884fdea4d3a2357436dbdfdc9f6c6a20dc;p=gentoo.git 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 --- diff --git a/app-forensics/sleuthkit/sleuthkit-4.9.0.ebuild b/app-forensics/sleuthkit/sleuthkit-4.9.0.ebuild index fcc3132067ef..d33581455203 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