From daa34e7557b8a5535d58f0947090e8a2bc2bf3ca Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 27 Jul 2023 21:07:23 -0400 Subject: [PATCH] grin-wallet: add build patch for rust 1.71.0 Signed-off-by: Rui Chen --- Formula/grin-wallet.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Formula/grin-wallet.rb b/Formula/grin-wallet.rb index 98de7aec26494..3a726aa257c08 100644 --- a/Formula/grin-wallet.rb +++ b/Formula/grin-wallet.rb @@ -26,6 +26,12 @@ class GrinWallet < Formula depends_on "openssl@3" # Uses Secure Transport on macOS end + # Build patch for rust 1.71.0, remove in next release + patch do + url "https://github.com/mimblewimble/grin-wallet/commit/0b491fea0fd5aa21fd28c171ed775e70f0877661.patch?full_index=1" + sha256 "ec3b485062135c7a09ca4c5cf6bb9a6de29a0bb60850d5e7d4a7264f2945c966" + end + def install ENV["CLANG_PATH"] = Formula["llvm"].opt_bin/"clang" if OS.linux? system "cargo", "install", *std_cargo_args