[MacPorts] #67259: libocca fails to build with Clang on < 10.12: clock_get_time, mach_port_deallocate

MacPorts noreply at macports.org
Mon Apr 17 22:07:10 UTC 2023


#67259: libocca fails to build with Clang on < 10.12: clock_get_time,
mach_port_deallocate
---------------------------+--------------------------
  Reporter:  barracuda156  |      Owner:  barracuda156
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  libocca       |
---------------------------+--------------------------

Comment (by ryandesign):

 Don't really know why this code is checking for `__clang__` at all in
 either of the two places. All we care about is whether the OS has
 `clock_gettime_nsec_np`, which was introduced in macOS 10.12 along with
 `clock_gettime` (although legacysupport doesn't have
 `clock_gettime_nsec_np`; see #61691).

-- 
Ticket URL: <https://trac.macports.org/ticket/67259#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list