Skip to content

Commit

Permalink
Ports: Don't use getaddrinfo for curl
Browse files Browse the repository at this point in the history
serenity's getaddrinfo is a stub, but curl detects it anyway, and uses
it instead of gethostbyname.
  • Loading branch information
petelliott authored and awesomekling committed Apr 12, 2021
1 parent 02a0fef commit a09421f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Ports/curl/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit a09421f

Please sign in to comment.