From ca721c14a447a62d378f726ef7cbd27830e30d96 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sat, 11 Jan 2025 13:56:53 +0000 Subject: [PATCH 1/2] dssim 3.3.4 dssim: revert `cc` crate to 1.2.7 Signed-off-by: Rui Chen --- Formula/d/dssim.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Formula/d/dssim.rb b/Formula/d/dssim.rb index 58af86ef78181..1c5f67e61c843 100644 --- a/Formula/d/dssim.rb +++ b/Formula/d/dssim.rb @@ -1,8 +1,8 @@ class Dssim < Formula desc "RGBA Structural Similarity Rust implementation" homepage "https://github.com/kornelski/dssim" - url "https://github.com/kornelski/dssim/archive/refs/tags/3.3.1.tar.gz" - sha256 "2bb8204f87eea2966e7d1455d174e5b7e3f47514aee13ad73045d4399d0f3edc" + url "https://github.com/kornelski/dssim/archive/refs/tags/3.3.4.tar.gz" + sha256 "d95c1bbcf32220d6b3d348643345eab9295acb5ef44d8cbac5e3c9c1a2d40f96" license "AGPL-3.0-or-later" bottle do @@ -19,6 +19,12 @@ class Dssim < Formula depends_on "nasm" => :build depends_on "rust" => :build + # revert `cc` crate to 1.2.7, upstream pr ref, https://github.com/kornelski/dssim/pull/172 + patch do + url "https://github.com/kornelski/dssim/commit/2f1ce12942a3f54e3822f961f5a9687c17b6cf10.patch?full_index=1" + sha256 "12386c9fb2859c6ea3713e30303e3ddcea63ee6a591aadd53deebd33163354bc" + end + def install system "cargo", "install", *std_cargo_args end From 1a34e5d1552042123bc1bd3b6b4781bf07bcad07 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sat, 11 Jan 2025 19:10:27 +0000 Subject: [PATCH 2/2] dssim: update 3.3.4 bottle. --- Formula/d/dssim.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Formula/d/dssim.rb b/Formula/d/dssim.rb index 1c5f67e61c843..dd0048de9fe1f 100644 --- a/Formula/d/dssim.rb +++ b/Formula/d/dssim.rb @@ -6,14 +6,12 @@ class Dssim < Formula license "AGPL-3.0-or-later" bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "f6db8dac4f58b2a2ca49883851816c647e73be760cb139941241c46ddd78a70e" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "0dfd2b5a1c056ff3884f49982d7ac8d6960a7bf0e908cf0d5d926a84dd99eec4" - sha256 cellar: :any_skip_relocation, arm64_ventura: "2cd17c98c89c6d8e62ae6c95f4c642c99c57ffa52744347bfd15e75cae9abfb9" - sha256 cellar: :any_skip_relocation, arm64_monterey: "20c10ef5485635eab7e246dad306a17147d46e27939ea1780eed38b328497f01" - sha256 cellar: :any_skip_relocation, sonoma: "62bb524a94bf5c90463d244690a32591a7c3166bdddf8aa1a97f2fd0cd779e2f" - sha256 cellar: :any_skip_relocation, ventura: "7222cc33dad5c0f39a9496b1df83adfe2b83c8fa8eb112e6c7fd38f26e774893" - sha256 cellar: :any_skip_relocation, monterey: "8501f2023519307e078531d1d8bacd9cea878ef4b32e8a572536a3af54efc57d" - sha256 cellar: :any_skip_relocation, x86_64_linux: "e1fca55387957980c34d82360e44f11d9f8e413bb40e7387f6d19fff1246de63" + sha256 cellar: :any_skip_relocation, arm64_sequoia: "a46f2b567b23c5da9c65895547ac70f95f9d2b7c406b7612ee27aad45e76fbd0" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "8b7783cd8aa1bcb8798ef766048b9c755bbf84c08a3aca822506efa306e6f04e" + sha256 cellar: :any_skip_relocation, arm64_ventura: "0f5d200bb8db0c159934005fa05f62ae6bfc442bb801ed2d554ddb8b41937c45" + sha256 cellar: :any_skip_relocation, sonoma: "64448958181fe26a8b5a604ec1eda5cd13b0ba2fcec727b0be07018f51abc915" + sha256 cellar: :any_skip_relocation, ventura: "d8d9f90e34142e97ae274f9924ba33d3861c734496136db3eb36a576c1ce8118" + sha256 cellar: :any_skip_relocation, x86_64_linux: "8546192c766b226b6ef5fd4a8ddcdaba0e07d3094d3b3146256ec37aaccf2220" end depends_on "nasm" => :build