From bf010b4596a9f0cac029f862e16b201d35a268da Mon Sep 17 00:00:00 2001 From: Michael Day Date: Sun, 27 Nov 2022 22:04:48 -0500 Subject: [PATCH 1/2] Update SDL_mixer to v2.6.2 --- pkgdef/SDL2_mixer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgdef/SDL2_mixer.sh b/pkgdef/SDL2_mixer.sh index ef1f263..b09a7ce 100644 --- a/pkgdef/SDL2_mixer.sh +++ b/pkgdef/SDL2_mixer.sh @@ -3,10 +3,10 @@ dependencies SDL2 check_pkgconfig SDL2_mixer variant stable fetch_download \ - https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.tar.gz \ - b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419 + https://github.com/libsdl-org/SDL_mixer/releases/download/release-2.6.2/SDL2_mixer-2.6.2.tar.gz \ + 8cdea810366decba3c33d32b8071bccd1c309b2499a54946d92b48e6922aa371 GIT_URL=https://github.com/libsdl-org/SDL_mixer.git -variant stable_git fetch_git $GIT_URL release-2.0.4 +variant stable_git fetch_git $GIT_URL release-2.6.2 variant latest fetch_git $GIT_URL main # Disable dependencies on external libraries for sound file formats: From 7c5411a5739808ab66e94c4912bcb6dc39a8f215 Mon Sep 17 00:00:00 2001 From: Michael Day Date: Tue, 29 Nov 2022 21:49:07 -0500 Subject: [PATCH 2/2] Allow curl to follow redirects Enables downloads from GitHub. --- chocpkg/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chocpkg/functions.sh b/chocpkg/functions.sh index c2ed2e7..c945204 100644 --- a/chocpkg/functions.sh +++ b/chocpkg/functions.sh @@ -60,7 +60,7 @@ chocpkg::curl() { url=$1 if chocpkg::have_tool curl; then - curl "$url" + curl -L "$url" return fi