[MacPorts] #65464: gpac 2.0.0: error: use of undeclared identifier 'CLOCK_MONOTONIC'

MacPorts noreply at macports.org
Mon Nov 7 00:44:47 UTC 2022

#65464: gpac 2.0.0: error: use of undeclared identifier 'CLOCK_MONOTONIC'
  Reporter:  sambthompson  |      Owner:  mohd-akram
      Type:  defect        |     Status:  reopened
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  elcapitan
      Port:  gpac          |

Comment (by erikbs):

 On Mac/Darwin, unlike other platforms, gpac overwrites the user-specified
 LDFLAGS, so the flags inserted by MacPorts to link legacy-support are
 never actually passed to the linker. On other platforms gpac’s flags are
 appended to LDFLAGS instead. Since there is nothing that suggests that
 this is intentional, I created a pull request on the gpac master repo to
 address this and also a pull request for the gpac Portfile so that we do
 not have to wait for the next version of gpac: https://github.com/macports

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

More information about the macports-tickets mailing list