Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gz-msgs5: rebuild after protobuf bump #1960

Merged
merged 3 commits into from
Jul 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion Formula/ignition-msgs5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ class IgnitionMsgs5 < Formula
url "https://osrf-distributions.s3.amazonaws.com/ign-msgs/releases/ignition-msgs5-5.9.0.tar.bz2"
sha256 "42f7cb0afa62130f0e1a45a0bf8be7b633594152257fc8dfa72d6d5dd13770f4"
license "Apache-2.0"
revision 2
revision 3

bottle do
root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation"
sha256 cellar: :any, big_sur: "6b04187365040646837a4dc4dea2d1bfd5f5c8507f520dcb2f01b1c42205c4be"
sha256 cellar: :any, catalina: "8b3dcd6b05832b747fb15ef583fbc9a694f88f3aac137c0d78f324b9ee3456b8"
end

depends_on "protobuf-c" => :build

Expand All @@ -17,6 +23,14 @@ class IgnitionMsgs5 < Formula
depends_on "protobuf"
depends_on "tinyxml2"

patch do
# Fix compilation: add missing std namespace
# https://github.com/gazebosim/gz-msgs/pull/242
# TODO: remove with next major release
url "https://github.com/gazebosim/gz-msgs/commit/914e7a3b5988d64824805a36877baad87474a81a.patch?full_index=1"
sha256 "077c5bb2eb678817a933b9a8b14b89881f61c8a84969fd3534eb1e4e090183ad"
end

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