deps.sh: fix snappy regression
This commit is contained in:
parent
4e823488d9
commit
2022a03bd2
12
deps.sh
12
deps.sh
|
@ -109,10 +109,20 @@ fetch () {
|
|||
|
||||
checkout_repo zlib https://github.com/madler/zlib "v1.2.13"
|
||||
checkout_repo zstd https://github.com/facebook/zstd "v1.5.4"
|
||||
checkout_repo snappy https://github.com/google/snappy c9f9edf6d75bb065fa47468bf035e051a57bec7c
|
||||
checkout_repo snappy https://github.com/google/snappy "1.1.10"
|
||||
checkout_repo lz4 https://github.com/lz4/lz4 "v1.9.4"
|
||||
checkout_repo rocksdb https://github.com/facebook/rocksdb "v8.1.1"
|
||||
checkout_repo libpcap https://github.com/the-tcpdump-group/libpcap "libpcap-1.10.4"
|
||||
|
||||
# Fix: Tagged snappy release doesn't compile on macOS
|
||||
# https://github.com/google/snappy/commit/00aa9ac61d37194cffb0913d9b7d71611eb05a4b
|
||||
if [[ "$OS" == "Darwin" ]]; then
|
||||
( cd ./opt/git/snappy
|
||||
SNAPPY_COMMIT=c9f9edf6d75bb065fa47468bf035e051a57bec7c
|
||||
echo "[~] FIX: Switching to snappy c9f9edf6d75bb065fa47468bf035e051a57bec7c"
|
||||
git fetch origin $SNAPPY_COMMIT --depth=1
|
||||
git -c advice.detachedHead=false checkout $SNAPPY_COMMIT )
|
||||
fi
|
||||
}
|
||||
|
||||
check_fedora_pkgs () {
|
||||
|
|
Loading…
Reference in New Issue