[MacPorts] #59397: openssh @8.1_1: fails to build on 10.6: audit-bsm.c:66:10: fatal error: 'bsm/audit_session.h' file not found
MacPorts
noreply at macports.org
Fri Oct 25 23:08:53 UTC 2019
#59397: openssh @8.1_1: fails to build on 10.6: audit-bsm.c:66:10: fatal error:
'bsm/audit_session.h' file not found
-------------------------+----------------------------------------
Reporter: grumpybozo | Owner: Ionic
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.6.1
Resolution: fixed | Keywords: snowleopard lion legacy-os
Port: openssh |
-------------------------+----------------------------------------
Comment (by grumpybozo):
Replying to [comment:31 Ionic]:
> Can you please try to change the `@YES` parts (for
`kSecReturnAttributes` and `kSecReturnRef` only) to `@(YES)` and see if
that compiles on 10.7? (Maybe it's just syntactic sugar that is missing
here.)
>
Based on an explanation I found on StackExchange (a phrase that makes me
cringe...) indicating that it was just a 'syntactic sugar' change in
objc.h (which I confirmed) I changed all instances of `@YES` to `@(YES)`
in 0002-Apple-keychain-integration-other-changes.patch and got a
successful build on 10.6.
--
Ticket URL: <https://trac.macports.org/ticket/59397#comment:33>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list