From 94a03eedd47c06bc8d2a7db1b092a48b30ecc830 Mon Sep 17 00:00:00 2001 From: "Mark A. Matienzo" Date: Thu, 7 Jun 2012 22:00:08 -0400 Subject: [PATCH] sleuthkit: patch to build against recent versions of libewf libewf > 20100226 introduced a significant API change that is not backwards compatible. The included patch for sleuthkit was provided by the maintainer of libewf. This patch is not needed to build HEAD in sleuthkit as the issue was fixed in sleuthkit/sleuthkit@7dcf7863b449f6058952489b0367cf0c1fbd0964 Fixes Homebrew/homebrew#12628. Closes Homebrew/homebrew#12660. Signed-off-by: Misty De Meo --- Formula/sleuthkit.rb | 6 ++++++ 1 file changed, 6 insertions(+) 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"