diff --git a/Formula/bazel.rb b/Formula/bazel.rb index 6e74f8678c8..43c96f7e443 100644 --- a/Formula/bazel.rb +++ b/Formula/bazel.rb @@ -1,10 +1,19 @@ class Bazel < Formula desc "Google's own build tool" homepage "https://www.bazel.io/" - url "https://github.com/bazelbuild/bazel/archive/0.3.1.tar.gz" - sha256 "52beafc9d78fc315115226f31425e21df1714d96c7dfcdeeb02306e2fe028dd8" head "https://github.com/bazelbuild/bazel.git" + stable do + url "https://github.com/bazelbuild/bazel/archive/0.3.1.tar.gz" + sha256 "52beafc9d78fc315115226f31425e21df1714d96c7dfcdeeb02306e2fe028dd8" + + # Fix build on macOS 10.12 Sierra + patch do + url "https://github.com/bazelbuild/bazel/commit/fefd2329f4812bcb513294fdf417fc726a86ddfd.diff" + sha256 "73455ede4acb9e40923838cb66750a5baacc6b6f8eaaeed72df02dbca38bbe73" + end + end + bottle do cellar :any_skip_relocation sha256 "fda77dc7aa1722d9586ec0a4148357ba89436d641c278e7a93da2486ba059059" => :el_capitan