[MacPorts] #72547: cctools: build vtool too
MacPorts
noreply at macports.org
Thu May 29 13:53:10 UTC 2025
#72547: cctools: build vtool too
-------------------------+---------------------
Reporter: RJVB | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: cctools
-------------------------+---------------------
Using a (hotpatched) current rust toolchain on OS X < 10.12 gives binaries
that have `LC_VERSION_MIN_MACOSX` set to 10.12 even if you add `-mmacosx-
min-version 10.x` to C(XX)FLAGS.
This can be corrected with vtool, but that utility isn't available on the
systems concerned.
The attached patch enables building the tool, and backports a few required
fixes from cctools 1010 (plus addresses the oversight that an unsigned
buffer length variable cannot become negative but will go huge instead,
leading to a crash).
--
Ticket URL: <https://trac.macports.org/ticket/72547>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list