From 419700ccf999ecb318d92e7b7d7b7ffe8ff02936 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 31 Dec 2014 19:49:42 +0000 Subject: osquery: apply patch to fix illegal instruction. Closes #35343. Closes #35405. Signed-off-by: Mike McQuaid --- Library/Formula/osquery.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/osquery.rb b/Library/Formula/osquery.rb index 1f0512120..7bc0c02f5 100644 --- a/Library/Formula/osquery.rb +++ b/Library/Formula/osquery.rb @@ -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| -- cgit v1.2.3