[MacPorts] #61691: legacy-support: add clock_gettime_nsec_np and CLOCK_UPTIME_RAW

MacPorts noreply at macports.org
Sat Nov 28 15:04:36 UTC 2020


#61691: legacy-support: add clock_gettime_nsec_np and CLOCK_UPTIME_RAW
-------------------------+----------------------------------------
 Reporter:  ryandesign   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  legacy-support, php-xdebug
-------------------------+----------------------------------------
 php-xdebug 3.0.0 fails to build on OS X 10.11 and earlier, even when
 legacysupport is used:
 {{{
 src/lib/timing.c:111:9: warning: implicit declaration of function
 'clock_gettime_nsec_np' is invalid in C99 [-Wimplicit-function-
 declaration]
         return clock_gettime_nsec_np(CLOCK_UPTIME_RAW);
                ^
 src/lib/timing.c:111:31: error: use of undeclared identifier
 'CLOCK_UPTIME_RAW'
         return clock_gettime_nsec_np(CLOCK_UPTIME_RAW);
                                      ^
 }}}
 Is adding support for `clock_gettime_nsec_np` and `CLOCK_UPTIME_RAW`
 feasible?

-- 
Ticket URL: <https://trac.macports.org/ticket/61691>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list