From fd1694125b5f31c80aeda7d90ae93a450a32d63c Mon Sep 17 00:00:00 2001 From: William Yang Date: Fri, 6 Dec 2024 10:53:40 +0100 Subject: [PATCH] feat: bump to msquic 2.3.8 --- Makefile | 2 +- get-msquic.sh | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 99337f50..13007141 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ default: build-nif .PHONY: build-nif build-nif: - ./build.sh 'v2.3.5' + ./build.sh 'v2.3.8' compile: $(REBAR) compile diff --git a/get-msquic.sh b/get-msquic.sh index 910ae6b1..07655509 100755 --- a/get-msquic.sh +++ b/get-msquic.sh @@ -36,6 +36,15 @@ patch_2_3_5() do_patch "$patch_1" } +patch_2_3_8() +{ + local patch_1="https://github.com/microsoft/msquic/commit/12edf3725475d4a99e5598df3289bace47b8f56e.patch" + local patch_2="https://github.com/microsoft/msquic/commit/e0201eb4e007e7524aef007be67f2281f949f102.patch" + mkdir -p "$patch_dir" + echo "Patching Msquic 2.3.8" + do_patch "$patch_1" + do_patch "$patch_2" +} if [ ! -d msquic ]; then git clone https://github.com/microsoft/msquic.git -b "$VERSION" --recursive --depth 1 --shallow-submodules msquic @@ -62,4 +71,7 @@ case $VERSION in v2.3.5) patch_2_3_5 ;; + v2.3.8) + patch_2_3_8 + ;; esac