[MacPorts] #68300: premake5 @5.0.0-beta2: error: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations

MacPorts noreply at macports.org
Sat Sep 30 03:08:15 UTC 2023


#68300: premake5 @5.0.0-beta2: error: call to undeclared function 'getpid'; ISO C99
and later do not support implicit function declarations
-----------------------+----------------------
  Reporter:  Iritscen  |      Owner:  amake
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  sonoma
      Port:  premake5  |
-----------------------+----------------------

Comment (by ryandesign):

 Might as well include this in the patch as well which fixes the same
 problem on non-Mac systems, in case anybody is trying to use MacPorts to
 install this port on Linux:

 https://github.com/premake/premake-
 core/commit/da607b872376db17d2e2928dde76f771e48b020e

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


More information about the macports-tickets mailing list