From a09421f1be9a4e80baa212c43db168a8e8152536 Mon Sep 17 00:00:00 2001 From: Peter Elliott Date: Sun, 4 Apr 2021 15:59:52 -0600 Subject: [PATCH] Ports: Don't use getaddrinfo for curl serenity's getaddrinfo is a stub, but curl detects it anyway, and uses it instead of gethostbyname. --- Ports/curl/package.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Ports/curl/package.sh b/Ports/curl/package.sh index 7bdc5381b5..ffc5ab90ee 100755 --- a/Ports/curl/package.sh +++ b/Ports/curl/package.sh @@ -10,3 +10,8 @@ depends=zlib auth_type="sig" auth_import_key="27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2" auth_opts="curl-${version}.tar.bz2.asc curl-${version}.tar.bz2" + +pre_configure() { + # serenity's getaddrinfo exists but is a stub + export curl_disallow_getaddrinfo=yes +}