[MacPorts] #57267: MacVim: error: cannot find protocol declaration for 'NSTouchBarDelegate'
MacPorts
noreply at macports.org
Sat Oct 6 16:04:35 UTC 2018
#57267: MacVim: error: cannot find protocol declaration for 'NSTouchBarDelegate'
------------------------+----------------------
Reporter: ryandesign | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: MacVim
------------------------+----------------------
[https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/68041/steps
/install-port/logs/stdio MacVim fails to build on 10.9], and presumably
any other macOS version using an SDK before 10.12.2, due to use of
touchbar code:
{{{
In file included from
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMTextView.m:26:
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.h:22:7:
error: cannot find protocol declaration for 'NSTouchBarDelegate'; did you
mean 'NSToolbarDelegate'?
, NSTouchBarDelegate
^~~~~~~~~~~~~~~~~~
NSToolbarDelegate
}}}
Touchbar code should be wrapped in availability macros to hide it from
macOS 10.12.1 and earlier SDKs.
--
Ticket URL: <https://trac.macports.org/ticket/57267>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list