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

MacPorts noreply at macports.org
Sun Feb 19 03:30:18 UTC 2023


#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 sambthompson):

 Replying to [comment:11 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/macports-ports/pull/16604

 Thanks, erikbs! Both PRs have been accepted and a recent upgrade to gpac
 2.2.0_0 seems to have gone fine. I think this is fixed now and can be
 closed.

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


More information about the macports-tickets mailing list