Skip to content

Commit 80da9d1

Browse files
carlocabBrewTestBot
authored andcommitted
fmt: apply patch for Watchman build
See fmtlib/fmt#2717. Closes #92869. Signed-off-by: Carlo Cabrera <[email protected]> Signed-off-by: BrewTestBot <[email protected]>
1 parent 892db46 commit 80da9d1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Formula/fmt.rb

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ class Fmt < Formula
44
url "https://github.com/fmtlib/fmt/archive/8.1.1.tar.gz"
55
sha256 "3d794d3cf67633b34b2771eb9f073bde87e846e0d395d254df7b211ef1ec7346"
66
license "MIT"
7+
revision 1
8+
head "https://github.com/fmtlib/fmt.git", branch: "master"
79

810
bottle do
911
sha256 cellar: :any, arm64_monterey: "6cbc489146c6c0dce9a3f9726d3a3fe4e81c5df58cfd506609244d5c22382dec"
@@ -16,6 +18,13 @@ class Fmt < Formula
1618

1719
depends_on "cmake" => :build
1820

21+
# Fix Watchman build.
22+
# https://github.com/fmtlib/fmt/issues/2717
23+
patch do
24+
url "https://github.com/fmtlib/fmt/commit/8f8a1a02d5c5cb967d240feee3ffac00d66f22a2.patch?full_index=1"
25+
sha256 "ac5d7a8f9eabd40e34f21b1e0034fbc4147008f13b7bf2314131239fb3a7bdab"
26+
end
27+
1928
def install
2029
system "cmake", ".", "-DBUILD_SHARED_LIBS=TRUE", *std_cmake_args
2130
system "make", "install"

0 commit comments

Comments
 (0)