xbps: add EADDRNOTAVAIL patch

This commit is contained in:
Duncaen 2019-06-21 20:32:55 +02:00
parent ad20ae9b64
commit b4733a2937
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,21 @@
commit 7e762cc3573df496752c3698ce9949300e61d9c6
Author: Duncaen <mail@duncano.de>
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;

View File

@ -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"