Skip to content

Commit 11ddec4

Browse files
BrewTestBotchenrui333
authored andcommitted
infat 2.4.0
infat: add build patch Signed-off-by: Rui Chen <[email protected]>
1 parent e14e4f5 commit 11ddec4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Formula/i/infat.rb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Infat < Formula
22
desc "Tool to set default openers for file formats and url schemes on MacOS"
33
homepage "https://github.com/philocalyst/infat"
4-
url "https://github.com/philocalyst/infat/archive/refs/tags/v2.3.4.tar.gz"
5-
sha256 "5dd263952f49617ce688d3ec6c043e3dce8c5766fab9a4aef31f99c010c1ccd5"
4+
url "https://github.com/philocalyst/infat/archive/refs/tags/v2.4.0.tar.gz"
5+
sha256 "b0c0cad9dd995aff389fce829d62a61629fe8e07e7dd4a412ae010124c4cdb0d"
66
license "MIT"
77

88
bottle do
@@ -16,6 +16,12 @@ class Infat < Formula
1616
depends_on :macos
1717
uses_from_macos "swift" => :build
1818

19+
# fix swift syntax error, upstream pr ref, https://github.com/philocalyst/infat/pull/25
20+
patch do
21+
url "https://github.com/philocalyst/infat/commit/dd050ef6f3891fe683a4f2f430c415cf0460fa2c.patch?full_index=1"
22+
sha256 "4efa99053e2455a39e9aa89221172a5c687f34511a4ebadeab2e136d974d3afa"
23+
end
24+
1925
def install
2026
system "swift", "build", "--disable-sandbox", "-c", "release", "--static-swift-stdlib"
2127
bin.install ".build/release/infat"

0 commit comments

Comments
 (0)