diff options
author | Ismael Luceno | 2022-08-11 12:32:19 +0200 |
---|---|---|
committer | Ismael Luceno | 2022-08-11 12:32:19 +0200 |
commit | 68c618ac1a11f0ca2a543be16a256c9d7ad943fd (patch) | |
tree | 17b484fbf1a8211a18ada404b9219149fce917d9 /net | |
parent | 7bf9ec456e2943f87f00cc3aa6994422cbbb5cea (diff) |
socat: Fix build against musl
Diffstat (limited to 'net')
-rwxr-xr-x | net/socat/DEPENDS | 6 | ||||
-rw-r--r-- | net/socat/HISTORY | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/net/socat/DEPENDS b/net/socat/DEPENDS index ff27285743..35fe85070e 100755 --- a/net/socat/DEPENDS +++ b/net/socat/DEPENDS @@ -1,3 +1,9 @@ +case "$HOST" in + (*-musl) + # as of 1.2.3 musl lacks getprotobynumber_r so pretend we're Solaris + depends musl sc_cv_getprotobynumber_r=2 + ;; +esac && depends autoconf && optional_depends SSL '--enable-openssl' \ diff --git a/net/socat/HISTORY b/net/socat/HISTORY index 678137d335..1f9a66fcc4 100644 --- a/net/socat/HISTORY +++ b/net/socat/HISTORY @@ -1,3 +1,6 @@ +2022-08-11 Ismael Luceno <ismael@iodev.co.uk> + * DEPENDS: fixed build against musl + 2022-02-28 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 1.7.4.3 |