From a9107016995a46f1ff13031c3dd0d336d81c5ba0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 3 Jan 2024 10:44:43 +0100
Subject: [PATCH] Windows package: use our own mirror for the MSYS2 packages

Packages are removed from msys2.org after 21 months. Since the 6.x branch may
have a longer lifetime, it is safer to have our own mirror for the specific
packages that we need.
---
 windows/deps/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/windows/deps/Makefile b/windows/deps/Makefile
index 8e8f59d74c..bf9a2a9939 100644
--- a/windows/deps/Makefile
+++ b/windows/deps/Makefile
@@ -158,7 +158,7 @@ mingw64: tarballs/mingw-w64-x86_64-gcc-$(MINGW64_GCC_VERSION)-any.pkg.tar.zst ta
 
 tarballs/mingw-w64-x86_64-%-any.pkg.tar.zst:
 	mkdir -p tarballs
-	wget $(WGET_OPTIONS) -O $@ http://repo.msys2.org/mingw/x86_64/$(notdir $@)
+	wget $(WGET_OPTIONS) -O $@ https://www.dynare.org/windows-pkg-build/msys2/6.x/$(notdir $@)
 
 clean-msys2:
 	rm -rf lib64-msys2
-- 
GitLab