Skip to content

Commit 4566f20

Browse files
authored
Harmonic: patches for protobuf 30 (#3100)
Patches for gz-msgs10, gz-transport13, gz-gui8. Signed-off-by: Steve Peters <scpeters@openrobotics.org>
1 parent cc8aa36 commit 4566f20

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

Formula/gz-gui8.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class GzGui8 < Formula
44
url "https://osrf-distributions.s3.amazonaws.com/gz-gui/releases/gz-gui-8.4.0.tar.bz2"
55
sha256 "1731b01a134afb11b1b3e049fc65e74fa7b5c50532406d3d68366d54016d5498"
66
license "Apache-2.0"
7-
revision 11
7+
revision 12
88

99
head "https://github.com/gazebosim/gz-gui.git", branch: "gz-gui8"
1010

@@ -24,6 +24,12 @@ class GzGui8 < Formula
2424
depends_on "qt@5"
2525
depends_on "tinyxml2"
2626

27+
patch do
28+
# Fix for compatibility with protobuf 30
29+
url "https://github.com/gazebosim/gz-gui/commit/64031d88132c45c25f66d2bdd8e902c1a2520f0d.patch?full_index=1"
30+
sha256 "b2eb3706209a8c52c3e77fcaecd5008830e209ab3915e446252dc7c7dd33415a"
31+
end
32+
2733
def install
2834
rpaths = [
2935
rpath,

Formula/gz-msgs10.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class GzMsgs10 < Formula
44
url "https://osrf-distributions.s3.amazonaws.com/gz-msgs/releases/gz-msgs-10.3.2.tar.bz2"
55
sha256 "0dd9c19dee7aec7fc0f7bdd03ee2ae44ab1068dac2fc1ae8cc3ecc1b6df8472a"
66
license "Apache-2.0"
7-
revision 7
7+
revision 8
88

99
head "https://github.com/gazebosim/gz-msgs.git", branch: "gz-msgs10"
1010

@@ -30,6 +30,12 @@ def python_cmake_arg(python = Formula["python@3.13"])
3030
"-DPython3_EXECUTABLE=#{python.opt_libexec}/bin/python"
3131
end
3232

33+
patch do
34+
# Fix for compatibility with protobuf 30
35+
url "https://github.com/gazebosim/gz-msgs/commit/ebdd05f6d51c990876085bcc9db9f79df59d375a.patch?full_index=1"
36+
sha256 "050137fb0900b7d7cab36b612cc3bc319c3f093aba9c958d13c66ce44a6199b2"
37+
end
38+
3339
def install
3440
cmake_args = std_cmake_args
3541
cmake_args << "-DBUILD_TESTING=Off"

Formula/gz-transport13.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class GzTransport13 < Formula
44
url "https://osrf-distributions.s3.amazonaws.com/gz-transport/releases/gz-transport-13.4.1.tar.bz2"
55
sha256 "1e7051de16c8e0cadf5b357d32193ffdb3eb33775126d1f89bef29bfd02e11b8"
66
license "Apache-2.0"
7-
revision 7
7+
revision 8
88

99
head "https://github.com/gazebosim/gz-transport.git", branch: "gz-transport13"
1010

@@ -38,6 +38,12 @@ def python_cmake_arg(python = Formula["python@3.13"])
3838
"-DPython3_EXECUTABLE=#{python.opt_libexec}/bin/python"
3939
end
4040

41+
patch do
42+
# Fix for compatibility with protobuf 30
43+
url "https://github.com/gazebosim/gz-transport/commit/eb7a232bb205051af9a29b2277a23503d38a0fbb.patch?full_index=1"
44+
sha256 "8290b87c5d462b55faaa102bfe98f36c5ed17b11155f0d218519348a881317c0"
45+
end
46+
4147
def install
4248
rpaths = [
4349
rpath,

0 commit comments

Comments
 (0)