[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:19:36 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):

 Alternately, if you want to guard against the port's behavior possibly
 changing if #61691 gets implemented, instead of checking if
 `CLOCK_UPTIME_RAW` is defined, you could check if
 `MAC_OS_X_VERSION_MAX_ALLOWED >= 101200` as in 0001-sys.cpp-fix-for-macOS-
 use-numerical-constant-instead.patch.

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


More information about the macports-tickets mailing list