[MacPorts] #61145: libvterm @0.1.2:error: implicit declaration of function 'strdup' is invalid in C99
MacPorts
noreply at macports.org
Tue Sep 8 15:54:58 UTC 2020
#61145: libvterm @0.1.2:error: implicit declaration of function 'strdup' is invalid
in C99
------------------------+----------------------
Reporter: keke-cute | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.99
Resolution: | Keywords:
Port: libvterm |
------------------------+----------------------
Comment (by jmroot):
It's defining _XOPEN_SOURCE to 500 which is too low to make strdup
visible. The upstream fix is
https://bazaar.launchpad.net/~libvterm/libvterm/trunk/revision/769 and
https://bazaar.launchpad.net/~libvterm/libvterm/trunk/revision/770 which
effectively just change it to 600.
--
Ticket URL: <https://trac.macports.org/ticket/61145#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list