commit:     399689a049bc66a5dfb9ff5ff2e7b32d5281a280
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 28 10:41:31 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 28 10:41:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399689a0

toolchain.eclass: use HTTPS for snapshots

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index fd03ba176276..dfca9ecee0d0 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -373,7 +373,7 @@ get_gcc_src_uri() {
                # pull gcc tarball from another location. Frequently used by 
gnat-gpl.
                GCC_SRC_URI="${GCC_TARBALL_SRC_URI}"
        elif [[ -n ${SNAPSHOT} ]] ; then
-               
GCC_SRC_URI="ftp://gcc.gnu.org/pub/gcc/snapshots/${SNAPSHOT}/gcc-${SNAPSHOT}.tar.xz";
+               
GCC_SRC_URI="https://gcc.gnu.org/pub/gcc/snapshots/${SNAPSHOT}/gcc-${SNAPSHOT}.tar.xz";
        else
                if tc_version_is_between 5.5 6 || tc_version_is_between 6.4 7 
|| tc_version_is_at_least 7.2 ; then
                        
GCC_SRC_URI="mirror://gnu/gcc/gcc-${GCC_PV}/gcc-${GCC_RELEASE_VER}.tar.xz"

Reply via email to