[MacPorts] #66601: kerberos5 @1.20.1 build failure: error: implicit declaration of function 'explicit_bzero'
MacPorts
noreply at macports.org
Mon Aug 7 20:53:56 UTC 2023
#66601: kerberos5 @1.20.1 build failure: error: implicit declaration of function
'explicit_bzero'
---------------------------------+------------------------
Reporter: fxt44 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: kerberos5 libressl |
---------------------------------+------------------------
Comment (by Zweihorn):
**kerberos5 @1.21.1** can be built **with LibreSSL** again, if we can
provide "explicit_bzero", see my PR 19799 at GitHub (1).
However, this requires the new port 'libbsd' and we would use subport
'libbsd-devel' (2) until a new version from upstream is available.
1. [https://github.com/macports/macports-ports/pull/19799]
2. [https://github.com/macports/macports-ports/pull/19785]
A "port install kerberos5 +libressl" should suffice and was tested as
described in a.m. PR.
Please note the statement in the Portfile implicitly using 'pkgconfig'
output and I would welcome if anybody would know a more elegant solution.
{{{
configure.optflags-append -DLIBBSD_OVERLAY -isystem
${prefix}/include/bsd -L${prefix}/lib -lbsd
}}}
Hope this helps. Feel free.
--
Ticket URL: <https://trac.macports.org/ticket/66601#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list