diff --git a/Formula/sleuthkit.rb b/Formula/sleuthkit.rb index 30dd5c0c98..1baaa2ffe2 100644 --- a/Formula/sleuthkit.rb +++ b/Formula/sleuthkit.rb @@ -14,6 +14,12 @@ class Sleuthkit < Formula depends_on "libtool" => :build end + def patches + # required for new-ish libewf releases (API change) + # fixed in the upcoming sleuthkit 4.x + "http://downloads.sourceforge.net/project/libewf/patches%20for%203rd%20party%20software/sleuthkit/tsk3.2.3-libewf.patch" if !ARGV.build_head? + end + def install if ARGV.build_head? system "glibtoolize"