From a0d5abedf17308ae49af1b4bad517f50337f7b3e Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 28 Jul 2025 14:48:43 +0530 Subject: [PATCH] Revert hiredis patch --- src/scripts/extensions/relay.sh | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/scripts/extensions/relay.sh b/src/scripts/extensions/relay.sh index 626da6eb..9654a39a 100644 --- a/src/scripts/extensions/relay.sh +++ b/src/scripts/extensions/relay.sh @@ -48,19 +48,6 @@ change_library_paths() { fi } -# Add hiredis library -add_hiredis() { - hiredis_url=https://github.com/redis/hiredis/archive/v1.1.0.tar.gz - hiredis_sha=fe6d21741ec7f3fc9df409d921f47dfc73a4d8ff64f4ac6f1d95f951bf7f53d6 - sed -Ei.bak -e "s#^ url.*# url \"$hiredis_url\"#" -e "s#^ sha256.*# sha256 \"$hiredis_sha\"#" ${core_repo:?}/Formula/h/hiredis.rb - brew install -s hiredis - lib_dir="${brew_prefix:?}"/opt/hiredis/lib - if [ -e "$lib_dir"/libhiredis_ssl.1.1.0.dylib ]; then - sudo ln -sf "$lib_dir"/libhiredis_ssl.1.1.0.dylib "$lib_dir"/libhiredis_ssl.dylib.1.1.0 - fi - mv ${core_repo:?}/Formula/h/hiredis.rb.bak ${core_repo:?}/Formula/h/hiredis.rb -} - # Add relay dependencies add_relay_dependencies() { add_extension json @@ -69,8 +56,7 @@ add_relay_dependencies() { if [ "$os" = "Darwin" ]; then . "${0%/*}"/tools/brew.sh configure_brew - brew install lz4 zstd concurrencykit - add_hiredis + brew install lz4 hiredis zstd concurrencykit fi }