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

MacPorts noreply at macports.org
Mon Nov 26 08:21:01 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 jeremyhu):

 __DARWIN_C_LEVEL gets setup by sys/cdefs.h.  Older systems predate that.
 I think I added it in Lion, and the POSIX2008 support may have been later
 (Mountain Lion?).  If you want to use the POSIX 2008 namespace guards,
 you'll also need to update sys/cdefs.h in your overlay.

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


More information about the macports-tickets mailing list