Skip to content

Commit

Permalink
gz-gui7, gz-sensors7, gz-sim: patch for protobuf (#2298)
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters authored Jun 16, 2023
1 parent 952247d commit 4397a42
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/gz-gui7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ class GzGui7 < Formula
depends_on "qt@5"
depends_on "tinyxml2"

patch do
# Fix for compatibility with protobuf 23.2
url "https://github.com/gazebosim/gz-gui/commit/0992b7c9899878f49a8d597d791988bf196ede08.patch?full_index=1"
sha256 "45792c649f8a1fe048956f442b03987ea418525223364a12770a913ee2e8b2bf"
end

def install
cmake_args = std_cmake_args
cmake_args << "-DBUILD_TESTING=Off"
Expand Down
6 changes: 6 additions & 0 deletions Formula/gz-sensors7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ class GzSensors7 < Formula
depends_on "gz-transport12"
depends_on "sdformat13"

patch do
# Fix for compatibility with protobuf 23.2
url "https://github.com/gazebosim/gz-sensors/commit/0c00e0462d4babcc8df6f3e464eafb57dcc8a9df.patch?full_index=1"
sha256 "9b763d5791c70affbf110e5cdca7d5da46aaee1250fbb9bdbd2bf05689cd1d62"
end

def install
cmake_args = std_cmake_args
cmake_args << "-DBUILD_TESTING=OFF"
Expand Down
6 changes: 6 additions & 0 deletions Formula/gz-sim7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ class GzSim7 < Formula
depends_on "ruby"
depends_on "sdformat13"

patch do
# Fix for compatibility with protobuf 23.2
url "https://github.com/gazebosim/gz-sim/commit/001dd9b829eb8e8b4465d87c6c70ccf4ee2e6b6a.patch?full_index=1"
sha256 "c3bdd4ceb64cfa6735be87dd6d58e82fdfe9c34499a5d795f1058fe42d6d9360"
end

def install
cmake_args = std_cmake_args
cmake_args << "-DBUILD_TESTING=OFF"
Expand Down

0 comments on commit 4397a42

Please sign in to comment.