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@7dcf7863b4

Fixes Homebrew/homebrew#12628.
Closes Homebrew/homebrew#12660.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
Mark A. Matienzo 2012-06-07 22:00:08 -04:00 committed by Misty De Meo
parent 551595f147
commit 94a03eedd4

View file

@ -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"