From e9a50b1bee95b01c4396201571d884e259000041 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Thu, 14 Sep 2023 09:03:13 -0700 Subject: [PATCH] gazebo11: rebuild bottle for protobuf (#2399) * patch for graphviz 9 * update bottle. Signed-off-by: Steve Peters Co-authored-by: OSRF Build Bot --- Formula/gazebo11.rb | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Formula/gazebo11.rb b/Formula/gazebo11.rb index faf546577..140b0f5e9 100644 --- a/Formula/gazebo11.rb +++ b/Formula/gazebo11.rb @@ -4,10 +4,17 @@ class Gazebo11 < Formula url "https://osrf-distributions.s3.amazonaws.com/gazebo/releases/gazebo-11.13.0.tar.bz2" sha256 "2f65b98fe652a574e01b7cae6cf12e14a9dd29343fde99e066ac5193a8d03e71" license "Apache-2.0" - revision 9 + revision 10 head "https://github.com/osrf/gazebo.git", branch: "gazebo11" + bottle do + root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation" + sha256 ventura: "0e8dc76027a24af5abe12e7ccff9d5ce54e8b1bfb73b844d9129708ef156a9ba" + sha256 monterey: "919c1c1a409b364ad9e7339f95e4203b83918444adf1e0b4310fccf8ac485a05" + sha256 big_sur: "36b520e1b998fd1801ae0ec9e4812e926bfc54133275a56336c3d49d06d83518" + end + depends_on "cmake" => :build depends_on "pkg-config" => :build @@ -43,6 +50,12 @@ class Gazebo11 < Formula conflicts_with "gazebo9", because: "differing version of the same formula" conflicts_with "gz-tools2", because: "both install bin/gz" + patch do + # Fix for compatibility with graphviz 9.0 + url "https://github.com/gazebosim/gazebo-classic/commit/ba2cbd532a8ba47972cf9f0c3dbc32a5757cab2a.patch?full_index=1" + sha256 "a9cca7d59663fd45bab74e044c817600d24028e80ad2871107a34e8a3bebab2a" + end + patch do # Fix for compatibility with protobuf 23.2 url "https://github.com/gazebosim/gazebo-classic/commit/17e09f574a4f39caff279cd70364cd1a3ea46f70.patch?full_index=1"