diff --git a/Formula/osquery.rb b/Formula/osquery.rb index da82a15349..c67bce2b52 100644 --- a/Formula/osquery.rb +++ b/Formula/osquery.rb @@ -5,7 +5,7 @@ class Osquery < Formula url "https://github.com/facebook/osquery.git", :tag => "1.7.3", :revision => "6901aa644a9bcc0667207008db71471abf756b82" - revision 4 + revision 5 bottle do cellar :any @@ -45,6 +45,16 @@ class Osquery < Formula sha256 "a0e9b96f1946975064724e242ac159f3260db24ffa591c3da0a355361a3a337f" end + # as of gflags 2.2.0 FlagRegisterer no longer needs type specified + # reported 26 Nov 2016 https://github.com/facebook/osquery/issues/2798 + # upstream PR from 26 Nov 2016 https://github.com/facebook/osquery/pull/2800 + # original gflags PR https://github.com/gflags/gflags/pull/158 + # breaking commit https://github.com/gflags/gflags/commit/46ea10f + patch do + url "https://raw.githubusercontent.com/Homebrew/formula-patches/dc800df/osquery/patch-gflags-2.2.0.diff" + sha256 "be111edf7d46b7a0c630e73ce754c00ff2c289b5221b87080b9e7eb57ec1e4b0" + end + def install # Link dynamically against brew-installed libraries. ENV["BUILD_LINK_SHARED"] = "1"