From 76470a373e1abd0b7f27b4c3f2f84fb8adeebf99 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 23 Jan 2025 23:09:02 +0000 Subject: [PATCH] simdutf 6.1.0 simdutf: add git patch Signed-off-by: Rui Chen --- Formula/s/simdutf.rb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Formula/s/simdutf.rb b/Formula/s/simdutf.rb index 6348a45022aa9..83ff5ce8fe4bd 100644 --- a/Formula/s/simdutf.rb +++ b/Formula/s/simdutf.rb @@ -1,8 +1,8 @@ class Simdutf < Formula desc "Unicode conversion routines, fast" homepage "https://github.com/simdutf/simdutf" - url "https://github.com/simdutf/simdutf/archive/refs/tags/v6.0.3.tar.gz" - sha256 "3932bc91246d72a8e79c8aba17fbd4740468d0f42c0bd32bb156e97264a7a3dc" + url "https://github.com/simdutf/simdutf/archive/refs/tags/v6.1.0.tar.gz" + sha256 "ef2903a7f085090c58f3acfa93a62733ae92a3f9b1d50800edec77a6816d7d67" license any_of: ["Apache-2.0", "MIT"] head "https://github.com/simdutf/simdutf.git", branch: "master" @@ -21,7 +21,6 @@ class Simdutf < Formula depends_on "cmake" => :build depends_on "icu4c@76" - depends_on macos: :catalina uses_from_macos "python" => :build @@ -31,6 +30,12 @@ class Simdutf < Formula sha256 "723a0f9f4cf44cf79e97bcc315ec8f85e52eb104c8882942c3f2fba95acc080d" end + # git patch for 6.1.0 release, upstream pr ref, https://github.com/simdutf/simdutf/pull/657 + patch do + url "https://raw.githubusercontent.com/Homebrew/formula-patches/9988a01b6b424b0dc8c146dd2de1a99c58029e33/simdutf/6.1.0-git.patch" + sha256 "38bf789ff3e617c2933953933b4199e30e58c914bc30d663f1c982417a6cc5f2" + end + def install (buildpath/"base64").install resource("base64")