Skip to content

Commit

Permalink
ignition-msgs1: rebuild after protobuf bump (#1962)
Browse files Browse the repository at this point in the history
* ignition-msgs1: patch to fix compilation
* update  bottle.

Signed-off-by: Steve Peters <[email protected]>
Co-authored-by: OSRF Build Bot <[email protected]>
  • Loading branch information
scpeters and osrfbuild authored Jul 18, 2022
1 parent 8cd63b1 commit 3a0dd66
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Formula/ignition-msgs1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ class IgnitionMsgs1 < Formula
url "https://osrf-distributions.s3.amazonaws.com/ign-msgs/releases/ignition-msgs-1.0.0.tar.bz2"
sha256 "fed54d079a58087fa83cc871f01ba2919866292ba949b6b8f37a0cb3d7186b4b"
license "Apache-2.0"
revision 16
revision 17
version_scheme 1

head "https://github.com/gazebosim/gz-msgs.git", branch: "ign-msgs1"

bottle do
root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation"
sha256 cellar: :any, big_sur: "477b93c40f062c1908c4dce3d486dea4176b3b21e7cfd5cd40628f7a37f55ac5"
sha256 cellar: :any, catalina: "0376b7541f4d714b40edc7c588c97ee00bb9bfaf2c3fa646a34c26baa40f12ae"
end

depends_on "protobuf-c" => :build
depends_on "cmake"
depends_on "ignition-cmake0"
Expand All @@ -17,6 +23,14 @@ class IgnitionMsgs1 < Formula
depends_on "protobuf"
depends_on "ignition-tools" => :recommended

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/88386e4e7a38d0ccb0a96f9774ba5339bc7e5440.patch?full_index=1"
sha256 "2cc0cb1887a1c9f945f80f7fcee5f4f1719d914e1134b44254b5718383ff6263"
end

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

0 comments on commit 3a0dd66

Please sign in to comment.