[MacPorts] #64597: libusb @ 1.0.25: error: use of undeclared identifier 'CLOCK_MONOTONIC'; error: 'TARGET_OS_OSX' is not defined, evaluates to 0; 'clock_gettime' is invalid in C99
MacPorts
noreply at macports.org
Thu Feb 3 15:52:47 UTC 2022
#64597: libusb @ 1.0.25: error: use of undeclared identifier 'CLOCK_MONOTONIC';
error: 'TARGET_OS_OSX' is not defined, evaluates to 0; 'clock_gettime' is
invalid in C99
-----------------------+---------------------------------
Reporter: thetrial | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: elcapitan legacy-os
Port: libusb |
-----------------------+---------------------------------
Comment (by kencu):
already fixed by using legacysupport
https://github.com/macports/macports-
ports/commit/e342fc5e7afbf63654b308cd816ab120a8c018ad#diff-
47d965f36d1e1c48a02a3278ae886781a294774889fd9b328d301c64a745125f
sync your portscand give it another try pls
reopen if needed
--
Ticket URL: <https://trac.macports.org/ticket/64597#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list