[MacPorts] #53075: zmq @4.2.0 does not build on a PPC running OS X 10.5.8
MacPorts
noreply at macports.org
Fri Nov 30 15:06:44 UTC 2018
#53075: zmq @4.2.0 does not build on a PPC running OS X 10.5.8
--------------------------+-----------------------------
Reporter: josephsacco | Owner: merijn
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: leopard powerpc
Port: zmq |
--------------------------+-----------------------------
Comment (by josephsacco):
Ryan,
zmq @4.3.0_0 builds and installs on a PPC running OS X 10.5.8. A change
was made to the guard block in {{{src/clock.cpp}}}
{{{
#if defined ZMQ_HAVE_OSX
\
&& __MAC_OS_X_VERSION_MIN_REQUIRED < 101200 // less than macOS 10.12
alt_clock_gettime (SYSTEM_CLOCK, &ts);
#else
clock_gettime (CLOCK_MONOTONIC, &ts);
#endif
return static_cast<uint64_t> (ts.tv_sec) * nsecs_per_usec *
usecs_per_sec
+ ts.tv_nsec;
#endif
}}}
The call to {{{alt_clock_gettime()}}} now uses SYSTEM_CLOCK rather than
CLOCK_MONOTONIC.
-Joseph
--
Ticket URL: <https://trac.macports.org/ticket/53075#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list