From 281956f4eb8ca643d45490daa6a34041b03fd346 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Sun, 6 Apr 2025 02:37:27 -0700 Subject: [PATCH] common/environment/build-style/void-cross.sh: add distfiles fallback Try the distfiles mirror in case the gcc snapshot has expired. --- common/environment/build-style/void-cross.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/environment/build-style/void-cross.sh b/common/environment/build-style/void-cross.sh index 40df98e95e9..26d586a6cb5 100644 --- a/common/environment/build-style/void-cross.sh +++ b/common/environment/build-style/void-cross.sh @@ -1,3 +1,9 @@ +# Snapshot tarballs get removed after over a year, we can archive the ones we need in distfiles. +case "$XBPS_DISTFILES_FALLBACK" in + *"repo-default.voidlinux.org/distfiles"*) ;; + *) XBPS_DISTFILES_FALLBACK+=" https://repo-default.voidlinux.org/distfiles" ;; +esac + lib32disabled=yes nopie=yes