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

MacPorts noreply at macports.org
Sat Nov 2 19:58:51 UTC 2024


#61691: legacy-support: add clock_gettime_nsec_np and CLOCK_UPTIME_RAW
-----------------------------------------+-----------------------
  Reporter:  ryandesign                  |      Owner:  fhgwright
      Type:  enhancement                 |     Status:  assigned
  Priority:  Normal                      |  Milestone:
 Component:  ports                       |    Version:
Resolution:                              |   Keywords:
      Port:  legacy-support, php-xdebug  |
-----------------------------------------+-----------------------

Comment (by fhgwright):

 Replying to [comment:12 mascguy]:
 > Replying to [comment:11 fhgwright]:
 > > Replying to [comment:10 mascguy]:
 > > > Fred, what are your thoughts on this?
 > >
 > > Seems plausible in principle, though I haven't looked at the details
 yet. Feel free to assign it to me, though I don't want to worry about it
 for this release cycle.
 >
 > Support for this would definitely be useful, as we need it for new port
 `mozjs128`:
 >
 > {{{
 > mozjs128/work/mozjs-128.1.0/mozglue/misc/AwakeTimeStamp.cpp:64:25:
 error: use of undeclared identifier 'clock_gettime_nsec_np'
 > }}}

 My intent, after finishing some mostly "cleanup" changes, is to review the
 open tickets (and PR) to see which might be straightforward enough to
 include in this release cycle.  One problem with anything clock-related is
 that it's hard to write an automated test for something that's a moving
 target, and the existing clock test is mainly just a manual test
 masquerading as an automated test, requiring manual scrutiny of the output
 for validity.  At least the rewritten version no longer treats out-and-out
 failures of the functions being tested as a "pass" (exposing one real bug
 in the process). :-)

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


More information about the macports-tickets mailing list