mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:47:46 +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
1 changed files with 5 additions and 0 deletions
|
@ -10,3 +10,8 @@ depends=zlib
|
||||||
auth_type="sig"
|
auth_type="sig"
|
||||||
auth_import_key="27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2"
|
auth_import_key="27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2"
|
||||||
auth_opts="curl-${version}.tar.bz2.asc curl-${version}.tar.bz2"
|
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…
Add table
Add a link
Reference in a new issue