osquery: apply patch to fix illegal instruction.

Closes Homebrew/homebrew#35343.

Closes Homebrew/homebrew#35405.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mike McQuaid 2014-12-31 19:49:42 +00:00
parent 6590fb9279
commit 79862c0230

View file

@ -35,6 +35,12 @@ class Osquery < Formula
end
def install
# Apply upstream commit to fix illegal hardware instruction:
# https://github.com/facebook/osquery/commit/20259a
# https://github.com/facebook/osquery/issues/563
# https://github.com/Homebrew/homebrew/issues/35343
inreplace "CMakeLists.txt", "-Wl,-all_load", "-Wl,-force_load"
ENV.prepend_create_path "PYTHONPATH", buildpath+"third-party/python/lib/python2.7/site-packages"
resources.each do |r|