bulk_extractor: Fix BEViewer script; fails with clang
Closes Homebrew/homebrew#16187. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>master
parent
994e1059e2
commit
e6a035aabb
|
@ -4,6 +4,7 @@ class BulkExtractor < Formula
|
|||
homepage 'https://github.com/simsong/bulk_extractor/wiki'
|
||||
url 'https://github.com/downloads/simsong/bulk_extractor/bulk_extractor-1.3.tar.gz'
|
||||
sha1 '847559ef179a123b3855637396f47348d3318751'
|
||||
head 'https://github.com/simsong/bulk_extractor.git'
|
||||
|
||||
depends_on :autoconf
|
||||
depends_on :automake
|
||||
|
@ -12,10 +13,25 @@ class BulkExtractor < Formula
|
|||
depends_on 'exiv2' => :optional
|
||||
depends_on 'libewf' => :optional
|
||||
|
||||
fails_with :clang do
|
||||
build 421
|
||||
cause <<-EOS.undent
|
||||
bulk_extractor.cpp:719:5: error: no matching function for call to
|
||||
'load_scanners'
|
||||
load_scanners(scanners_builtin,histograms);
|
||||
^~~~~~~~~~~~~
|
||||
./bulk_extractor_i.h:225:6: note: candidate function not viable: no known
|
||||
conversion from 'scanner_t *[23]' to 'const scanner_t **' (aka 'void
|
||||
(const **)(const class scanner_params &, const class
|
||||
recursion_control_block &)') for 1st argument;
|
||||
EOS
|
||||
end
|
||||
|
||||
|
||||
def patches
|
||||
# Error in exec install hooks; installing java GUI manually. Reported in
|
||||
# https://groups.google.com/group/bulk_extractor-users/browse_thread/thread/ff7cc11e8e6d8e8d
|
||||
"https://gist.github.com/raw/3785687/20a2354930242db502169e1ea78499b40ec97239/gistfile1.txt"
|
||||
"https://gist.github.com/raw/3785687/3a61d57539c2b9ecde44121b370db85ff9d4f86e/makefile.in.patch"
|
||||
end
|
||||
|
||||
def install
|
||||
|
|
Loading…
Reference in New Issue