[MacPorts] #54774: mc @4.8.19: error: no member named 'st_atim' in 'struct stat'
MacPorts
noreply at macports.org
Fri Oct 13 15:51:02 UTC 2017
#54774: mc @4.8.19: error: no member named 'st_atim' in 'struct stat'
---------------------+------------------------
Reporter: H3ik0 | Owner: mkae
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: highsierra
Port: mc |
---------------------+------------------------
Comment (by kencu):
It looks like a 10 second fix in the Portfile:
From homebrew:
{{{
# Fix compilation bug on macOS 10.13 by pretending we don't have
utimensat()
# https://github.com/MidnightCommander/mc/pull/130
ENV["ac_cv_func_utimensat"] = "no" if MacOS.version >= :high_sierra
}}}
So just add something like:
configure.env-append ac_cv_func_utimensat=no
to the portfile and you should be in business, while you are waiting for
whatever the final eventual fix for this might someday turn out to be.
--
Ticket URL: <https://trac.macports.org/ticket/54774#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list