Skip to content

Commit

Permalink
Harmonic: patches to fix finding python (#2563)
Browse files Browse the repository at this point in the history
* gz-transport13: patch to fix finding python
* sdformat14: patch to fix finding python

Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters authored Feb 13, 2024
1 parent 8757ed9 commit 3a8bc00
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/gz-transport13.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ class GzTransport13 < Formula
depends_on "tinyxml2"
depends_on "zeromq"

patch do
# Fix for finding python
url "https://github.com/gazebosim/gz-transport/commit/502f5196063a88526f5c3e79d0d042e90cad81e2.patch?full_index=1"
sha256 "e710c2892bfd9ee67b2721ec2c2f3d25e6fd1a66a45f432d7fc4a50760432b4a"
end

def python_cmake_arg
"-DPython3_EXECUTABLE=#{which("python3")}"
end
Expand Down
6 changes: 6 additions & 0 deletions Formula/sdformat14.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ class Sdformat14 < Formula
depends_on "tinyxml2"
depends_on "urdfdom"

patch do
# Fix for finding python
url "https://github.com/gazebosim/sdformat/commit/d374404cdeb5fd181b0a2ab5dd9d6400087634a1.patch?full_index=1"
sha256 "1f2eef54e5d2b3801b244b8d82e1bfc9357c1836e8230a6e2594ac8eb01eb988"
end

def python_cmake_arg
"-DPython3_EXECUTABLE=#{which("python3")}"
end
Expand Down

0 comments on commit 3a8bc00

Please sign in to comment.