osquery: revision for gflags

apply upstream PR "[Fix #2798] Update gflags on OS X/Linux to 2.2.0" as
a patch
This commit is contained in:
ilovezfs 2016-11-26 04:47:18 -08:00
parent 6163df8a78
commit 23e515b9ad

View file

@ -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"