[MacPorts] #62164: qemu @5.2.0: build failure with +cocoa
MacPorts
noreply at macports.org
Tue Nov 30 18:19:20 UTC 2021
#62164: qemu @5.2.0: build failure with +cocoa
---------------------+-----------------------
Reporter: Ionic | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: legacy-os
Port: qemu |
---------------------+-----------------------
Comment (by jasonliu--):
Replying to [comment:4 Ionic]:
> Oh, and that file actually does the opposite, if I understand it
correctly. It defines deprecated versions which probably were removed in
newer OS versions. We'd need the other way around, providing the new stuff
mapped to the old, deprecated one.
The file that Ken point to, which was written by me, {{{#define}}}s the
old names to the new names. This is because my file intervenes and patches
the ''system-wide'' AppKit framework, and makes it look like a "newer"
(i.e. post-10.12) AppKit framework. The project's source code is left
unchanged, because from the perspective of the source code, it is
{{{#include}}}-ing an AppKit that has all of the new entities.
The technique that you are describing, where the new names get mapped to
the old names, is the technique that is used if you are patching the
entities in the project's source code, but leaving the system-wide AppKit
framework untouched.
I hope the reasoning behind each technique is clear.
--
Ticket URL: <https://trac.macports.org/ticket/62164#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list