summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-forensics/sleuthkit/sleuthkit-4.9.0.ebuild')
-rw-r--r--app-forensics/sleuthkit/sleuthkit-4.9.0.ebuild5
1 files changed, 5 insertions, 0 deletions
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