Skip to content

Commit 9f3273b

Browse files
committed
snappy: fix to build using cmake 4
1 parent 39c8c75 commit 9f3273b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Formula/s/snappy.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ class Snappy < Formula
3535
# `folly` issue ref: https://github.com/facebook/folly/issues/1583
3636
patch :DATA
3737

38+
# Fix to cmake 4 compatibility
39+
# PR ref: https://github.com/google/snappy/pull/200
40+
patch do
41+
url "https://github.com/google/snappy/commit/a688be4b77b954c403db805c8351ff62770f1044.patch?full_index=1"
42+
sha256 "d7ce00be23a95bc438ec00a287de1c52a2b7d9c261a365a4a2b458e29b486fd8"
43+
end
44+
3845
def install
3946
ENV.llvm_clang if OS.mac? && (DevelopmentTools.clang_build_version <= 1100)
4047

0 commit comments

Comments
 (0)