diff --git a/Formula/s/spr.rb b/Formula/s/spr.rb index 3399768900ceb..fa3e8bac2a93b 100644 --- a/Formula/s/spr.rb +++ b/Formula/s/spr.rb @@ -7,13 +7,14 @@ class Spr < Formula head "https://github.com/spacedentist/spr.git", branch: "master" bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "410664abef3b1b365b94d63b796d963b8b0f95fc7396bc1057172b53ee1ce914" - sha256 cellar: :any_skip_relocation, arm64_ventura: "53a073f763bd23c04670ad82ef854ff0df0d4d9bcbb4210f24bd2e1bbccbc6db" - sha256 cellar: :any_skip_relocation, arm64_monterey: "a1b34ebc1f5dcd278a53d31aae1a2e86706ceaeb0c0e129a03ee9af9016e8f21" - sha256 cellar: :any_skip_relocation, sonoma: "8305e6d5e45e90c71b91647d4bdda118a0890885c100f75d7ef0d4a1b71e9379" - sha256 cellar: :any_skip_relocation, ventura: "27d08142f74458a94301ca05fae06fea6b2273b991195227f472688fa74e839e" - sha256 cellar: :any_skip_relocation, monterey: "709fbfb646bc6dc827d6e2f7c604941009801a4891fdf7d307c97166f3e7782a" - sha256 cellar: :any_skip_relocation, x86_64_linux: "b3749d08a6e871d9a0e68cd0eb667d1e667fe5e64ca967c59a2ee5f72728be93" + rebuild 1 + sha256 cellar: :any_skip_relocation, arm64_sonoma: "b69a549a251230cd5561cb9df78d7dec8393f923ffbe1379e42312f79ba7afac" + sha256 cellar: :any_skip_relocation, arm64_ventura: "c5991317f779e5cc3ac6287f08414a51566d08ad837d87fc0fee579c7bf2eed0" + sha256 cellar: :any_skip_relocation, arm64_monterey: "2cf35baf53290180b7f1b0a7b453e060eefd982008c8750d1cde5f5e4a07fb04" + sha256 cellar: :any_skip_relocation, sonoma: "817a28b41cdab633e17b0ab7ba58be93f1866c15b47a64dc7bd9bff36d1c33b7" + sha256 cellar: :any_skip_relocation, ventura: "a68d4e83af3fa0a54f23a27edf699d27b7b2514e6a4b2a631b772728fe8fb4c1" + sha256 cellar: :any_skip_relocation, monterey: "6f56e9ebcef926ce71fe573640660366d923d1ff407c26c52dab11891786dd40" + sha256 cellar: :any_skip_relocation, x86_64_linux: "86d1aa332e5b30c08f8d1eaa2aa49a5371ead75d9e5061c6fd822d5a0c70f972" end depends_on "rust" => :build @@ -23,6 +24,12 @@ class Spr < Formula depends_on "pkg-config" => :build end + # rust 1.80 build patch, upstream pr ref, https://github.com/spacedentist/spr/pull/202 + patch do + url "https://github.com/spacedentist/spr/commit/ed450a3ec9c2b79e585ff162f0f3bd2fb2be4b00.patch?full_index=1" + sha256 "e1b7dab848c828a704ceeff2e46511e17a16198f26b184f75afd8bf0f695d22e" + end + def install system "cargo", "install", *std_cargo_args(path: "spr") end