[MacPorts] #71162: xar @1.8.0.501_0: error: implicit declaration of function 'xar_prop_get_expect_notnull' is invalid in C99 [-Werror, -Wimplicit-function-declaration]
MacPorts
noreply at macports.org
Thu Oct 24 19:59:49 UTC 2024
#71162: xar @1.8.0.501_0: error: implicit declaration of function
'xar_prop_get_expect_notnull' is invalid in C99 [-Werror,-Wimplicit-
function-declaration]
-------------------------+------------------------------
Reporter: ryandesign | Owner: Schamschula
Type: defect | Status: assigned
Priority: High | Milestone:
Component: ports | Version: 2.10.2
Resolution: | Keywords: bigsur, monterey
Port: xar |
-------------------------+------------------------------
Comment (by Schamschula):
I think I mistakenly uploaded a newer version of {{{patch-src-
xar_internal.h.old.diff}}}. I've uploaded the correct version:
https://github.com/macports/macports-
ports/commit/a3d54e33fd4716dcfb060c320750d64b1050f533
Note: for version 501 {{{xar_internal.h}}} has a line
{{{xar_t xar_fdopen_digest_verify(int fd, int32_t flags, void
*expected_toc_digest, size_t expected_toc_digest_len)
API_AVAILABLE(macos(15.0));}}}
Does that not mean that this is only available with the macOS 15 API, i.e.
Xcode 16.x? However, it compiled fine with Xcode 15.4, after I patched the
file.
P.S. Yes, I'm aware that I can run older OS versions in virtual machines.
I've done so in the past. It isn't a hardware issue (I have a collection
of Macs going back to the original item) as much as a time issue: I'm
teaching a double load this semester!
--
Ticket URL: <https://trac.macports.org/ticket/71162#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list