aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark A. Matienzo2012-06-07 22:00:08 -0400
committerMisty De Meo2012-06-07 20:40:19 -0700
commit6c6650c77a0b19c772139e77b87d2ba4c7a1ac78 (patch)
treef4b23e80ddb904d4f56fb1cb757f292475e68fc3
parentbfc49feb66b078895491b674d2ed1f57b395bd10 (diff)
downloadhomebrew-6c6650c77a0b19c772139e77b87d2ba4c7a1ac78.tar.bz2
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 #12628. Closes #12660. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
-rw-r--r--Library/Formula/sleuthkit.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/sleuthkit.rb b/Library/Formula/sleuthkit.rb
index 30dd5c0c9..1baaa2ffe 100644
--- a/Library/Formula/sleuthkit.rb
+++ b/Library/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"