From ea12719ede21c076615b89d8f19405e282eec78a Mon Sep 17 00:00:00 2001 From: Tom de Bruijn Date: Tue, 27 Mar 2018 20:36:07 +0200 Subject: [PATCH] Update NetBSD patch file locations The directory `/pub/pkgsrc/pkgsrc-2016Q4/` doesn't exist anymore on the `ftp.netbsd.org` FTP server. This breaks building the image from scratch. Instead there are two other directories, `/pub/pkgsrc/pkgsrc-2017Q4/` and `/pub/pkgsrc/stable`, where the patch files seem to be located. There's a good chance these URIs will need to be updated again next year if we use the `2017Q4` ones, so instead use the `stable` directory as a source location. --- docker/netbsd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/netbsd.sh b/docker/netbsd.sh index f79cd57ea..f30b1849c 100644 --- a/docker/netbsd.sh +++ b/docker/netbsd.sh @@ -40,8 +40,8 @@ main() { cd gcc ./contrib/download_prerequisites local patches=( - ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2016Q4/pkgsrc/lang/gcc5/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h - ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2016Q4/pkgsrc/lang/gcc5/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc + ftp://ftp.netbsd.org/pub/pkgsrc/stable/pkgsrc/lang/gcc5/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h + ftp://ftp.netbsd.org/pub/pkgsrc/stable/pkgsrc/lang/gcc5/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc ) local patch