From 9e2c1d652e474e7d11d28ccea4e22028aa5e40b0 Mon Sep 17 00:00:00 2001 From: Oleksandr Kalko Date: Mon, 14 Apr 2025 23:50:37 +0300 Subject: [PATCH] Add alternative download for bzip2 Sourceware URL is too unreliable This downloads source using git from a tag in bzip2 repos --- 3rdParty/bzip2/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/3rdParty/bzip2/CMakeLists.txt b/3rdParty/bzip2/CMakeLists.txt index 8fc611de5..80621d46d 100644 --- a/3rdParty/bzip2/CMakeLists.txt +++ b/3rdParty/bzip2/CMakeLists.txt @@ -1,9 +1,11 @@ include(functions/FetchContent_ExcludeFromAll_backport) include(FetchContent) + FetchContent_Declare_ExcludeFromAll(bzip2 - URL https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz - URL_HASH MD5=67e051268d0c475ea773822f7500d0e5 + GIT_REPOSITORY https://sourceware.org/git/bzip2 + GIT_REPOSITORY https://gitlab.com/bzip2/bzip2 + GIT_TAG bzip2-1.0.8 ) FetchContent_MakeAvailable_ExcludeFromAll(bzip2)