From 57c2c1a549743bac3fa9c4e25170cc4fbe4d14ca Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Sat, 16 Jul 2022 11:17:56 -0700 Subject: [PATCH 1/3] ignition-msgs5: revision bump rebuild after protobuf --- Formula/ignition-msgs5.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/ignition-msgs5.rb b/Formula/ignition-msgs5.rb index 02f42220f..8cc5874f7 100644 --- a/Formula/ignition-msgs5.rb +++ b/Formula/ignition-msgs5.rb @@ -4,7 +4,7 @@ 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 depends_on "protobuf-c" => :build From 8784ccd53d1ae2e716b84fcb2080f37fe76b3079 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Sat, 16 Jul 2022 11:20:22 -0700 Subject: [PATCH 2/3] ignition-msgs5: patch to fix compilation Signed-off-by: Steve Peters --- Formula/ignition-msgs5.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Formula/ignition-msgs5.rb b/Formula/ignition-msgs5.rb index 8cc5874f7..1038fcd52 100644 --- a/Formula/ignition-msgs5.rb +++ b/Formula/ignition-msgs5.rb @@ -17,6 +17,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" From c488322db7d35367e3746e1d4f1a615f4332956a Mon Sep 17 00:00:00 2001 From: OSRF Build Bot Date: Sat, 16 Jul 2022 18:47:17 +0000 Subject: [PATCH 3/3] update bottle. --- Formula/ignition-msgs5.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Formula/ignition-msgs5.rb b/Formula/ignition-msgs5.rb index 1038fcd52..fa05c638c 100644 --- a/Formula/ignition-msgs5.rb +++ b/Formula/ignition-msgs5.rb @@ -6,6 +6,12 @@ class IgnitionMsgs5 < Formula license "Apache-2.0" 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 depends_on "cmake"