From f4b1d7f702050ee37a551221dc9c4c44a34d20bd Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Wed, 6 Nov 2024 11:09:15 -0500 Subject: [PATCH] jose: apply upstream PR to fix build on macOS --- Formula/j/jose.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Formula/j/jose.rb b/Formula/j/jose.rb index 416807aa95e0f..593169ba9614f 100644 --- a/Formula/j/jose.rb +++ b/Formula/j/jose.rb @@ -23,6 +23,13 @@ class Jose < Formula uses_from_macos "zlib" + # Apply upstream PR to fix build on macOS to use `-exported_symbol` + # PR ref: https://github.com/latchset/jose/pull/163 + patch do + url "https://github.com/latchset/jose/commit/228d6782235238ed0d03eb2443caf530b377ffd5.patch?full_index=1" + sha256 "14e147b1541a915badefa46535999c17fe3f04d2ba4754775b928e4d5e97ce1a" + end + def install system "meson", "setup", "build", *std_meson_args system "meson", "compile", "-C", "build", "--verbose"