diff --git a/Formula/gazebo9.rb b/Formula/gazebo9.rb index 96500a676..533336e71 100644 --- a/Formula/gazebo9.rb +++ b/Formula/gazebo9.rb @@ -4,12 +4,13 @@ class Gazebo9 < Formula url "https://osrf-distributions.s3.amazonaws.com/gazebo/releases/gazebo-9.15.0.tar.bz2" sha256 "e91eba92341995db2536b23e323a8f10ef8e9c75837df603ca512e3b21646f27" license "Apache-2.0" + revision 1 head "https://github.com/osrf/gazebo", branch: "gazebo9" bottle do root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation" - sha256 "7b3467c278cb17adaca58011ebb3e321db1efd24647a09dd701b4faf3b5bf043" => :mojave + sha256 "ef002ad4bc83ed4a6d49f1c4d19ba1d8a8436c56014edc0a100fb690e3c988e4" => :mojave end depends_on "cmake" => :build @@ -55,6 +56,12 @@ class Gazebo9 < Formula conflicts_with "gazebo10", because: "differing version of the same formula" conflicts_with "gazebo11", because: "differing version of the same formula" + patch do + # Fix for compatibility with boost 1.74 + url "https://github.com/osrf/gazebo/commit/c2fd34c00f4611d149aae5479dc4d98fe639805b.patch?full_index=1" + sha256 "75ccd13714d39a0e1f1ecb882ad6fea1f15025d2e102fee79053fe88ef25bf4e" + end + patch do # Fix build when homebrew python is installed # keep this patch