From 331d58ccdadfc73dc963a92353dc8087127bb7c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 7 Mar 2024 11:53:24 +0100
Subject: [PATCH] Windows and macOS packages: bump to SLICOT 5.9

---
 macOS/deps/Makefile      | 2 +-
 macOS/deps/versions.mk   | 2 +-
 windows/deps/Makefile    | 2 +-
 windows/deps/versions.mk | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/macOS/deps/Makefile b/macOS/deps/Makefile
index 709640b030..5b737f4f02 100644
--- a/macOS/deps/Makefile
+++ b/macOS/deps/Makefile
@@ -53,7 +53,7 @@ clean-all: clean-lib clean-src clean-tar
 #
 tarballs/slicot-$(SLICOT_VERSION).tar.gz:
 	mkdir -p tarballs
-	wget $(WGET_OPTIONS) -O $@ https://deb.debian.org/debian/pool/main/s/slicot/slicot_$(SLICOT_VERSION).orig.tar.xz
+	wget $(WGET_OPTIONS) -O $@ https://github.com/SLICOT/SLICOT-Reference/archive/refs/tags/v$(SLICOT_VERSION).tar.gz
 
 $(DEPS_ARCH)/sources64/slicot-$(SLICOT_VERSION): tarballs/slicot-$(SLICOT_VERSION).tar.gz
 	rm -rf $(DEPS_ARCH)/sources64/slicot-*
diff --git a/macOS/deps/versions.mk b/macOS/deps/versions.mk
index 09d2b6887a..66ea809b81 100644
--- a/macOS/deps/versions.mk
+++ b/macOS/deps/versions.mk
@@ -1,2 +1,2 @@
-SLICOT_VERSION = 5.9~20240205.gita037f7e
+SLICOT_VERSION = 5.9
 X13AS_VERSION = 1-1-b60
diff --git a/windows/deps/Makefile b/windows/deps/Makefile
index cfe6b7f220..33287a4fda 100644
--- a/windows/deps/Makefile
+++ b/windows/deps/Makefile
@@ -49,7 +49,7 @@ clean-all: clean-lib clean-src clean-tar
 
 tarballs/slicot-$(SLICOT_VERSION).tar.gz:
 	mkdir -p tarballs
-	wget $(WGET_OPTIONS) -O $@ https://deb.debian.org/debian/pool/main/s/slicot/slicot_$(SLICOT_VERSION).orig.tar.xz
+	wget $(WGET_OPTIONS) -O $@ https://github.com/SLICOT/SLICOT-Reference/archive/refs/tags/v$(SLICOT_VERSION).tar.gz
 
 sources64/slicot-$(SLICOT_VERSION)-with-64bit-integer: tarballs/slicot-$(SLICOT_VERSION).tar.gz
 	rm -rf sources64/slicot-*-with-64bit-integer
diff --git a/windows/deps/versions.mk b/windows/deps/versions.mk
index 8b790a04fb..f665fec746 100644
--- a/windows/deps/versions.mk
+++ b/windows/deps/versions.mk
@@ -1,4 +1,4 @@
-SLICOT_VERSION = 5.9~20240205.gita037f7e
+SLICOT_VERSION = 5.9
 X13AS_VERSION = 1-1-b60
 
 OCTAVE_VERSION = 8.4.0
-- 
GitLab