diff --git a/srcpkgs/xbps/patches/7e762cc3573df496752c3698ce9949300e61d9c6.patch b/srcpkgs/xbps/patches/7e762cc3573df496752c3698ce9949300e61d9c6.patch new file mode 100644 index 00000000000..72d62f5d13c --- /dev/null +++ b/srcpkgs/xbps/patches/7e762cc3573df496752c3698ce9949300e61d9c6.patch @@ -0,0 +1,21 @@ +commit 7e762cc3573df496752c3698ce9949300e61d9c6 +Author: Duncaen +Date: Fri Jun 21 20:23:55 2019 +0200 + + lib/fetch.c: ignore EADDRNOTAVAIL and try next ip + +diff --git lib/fetch/common.c lib/fetch/common.c +index 6bd8f510..df7f33dd 100644 +--- lib/fetch/common.c ++++ lib/fetch/common.c +@@ -580,6 +580,10 @@ happy_eyeballs_connect(struct addrinfo *res0, int verbose) + unreach |= UNREACH_IPV6; + } + continue; ++ } else if (errno == EADDRNOTAVAIL) { ++ err = errno; ++ close(sd); ++ continue; + } else { + err = errno; + rv = -1; diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index aaaa11d2db4..c1aab76d02f 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,7 +1,7 @@ # Template file for 'xbps' pkgname=xbps version=0.55 -revision=3 +revision=4 bootstrap=yes build_style=configure short_desc="XBPS package system utilities"