[MacPorts] #54638: mesa @17.1.6_0: error: implicit declaration of function 'fstatat' is invalid in C99

MacPorts noreply at macports.org
Thu Nov 22 03:36:53 UTC 2018


#54638: mesa @17.1.6_0: error: implicit declaration of function 'fstatat' is
invalid in C99
-------------------------+-------------------------------------------------
  Reporter:  tehcog      |      Owner:  jeremyhu
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.1
Resolution:              |   Keywords:  tiger leopard snowleopard lion
      Port:  mesa        |  mountainlion mavericks
-------------------------+-------------------------------------------------

Comment (by kencu):

 ok, it's done. If you install
 {{{
 sudo port -v install legacy-support-devel +universal
 }}}
 you should then be able to work with ports that need `fstatat` and pretty
 much all the other *at functions.

 You'll need to add
 {{{
 PortGroup           legacysupport 1.0
 }}}
 to the Portfile you want to work with, if it isn't there already.

 Please help me fix up any errors you may come across.

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


More information about the macports-tickets mailing list