mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
Ports: Don't use getaddrinfo for curl
serenity's getaddrinfo is a stub, but curl detects it anyway, and uses it instead of gethostbyname.
This commit is contained in:
parent
02a0feff1c
commit
a09421f1be
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue