From 404911b8bf8435ebcc0de56e7f7b808045faf9e6 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Tue, 13 Feb 2024 14:01:58 -0800 Subject: [PATCH] sdformat13: patch to fix finding python Signed-off-by: Steve Peters --- Formula/sdformat13.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Formula/sdformat13.rb b/Formula/sdformat13.rb index a828d99b5..ef5a8b99c 100644 --- a/Formula/sdformat13.rb +++ b/Formula/sdformat13.rb @@ -22,6 +22,12 @@ class Sdformat13 < Formula depends_on "tinyxml2" depends_on "urdfdom" + patch do + # Fix for finding python + url "https://github.com/gazebosim/sdformat/commit/9a9e70d5f03859800a6c6acbd58310225a8b63b6.patch?full_index=1" + sha256 "6597f624dc430858e9b772550bc4f0f7b4f71ce8922dc158d89cbf28179a45bd" + end + def python_cmake_arg "-DPython3_EXECUTABLE=#{which("python3")}" end