[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
Wed Oct 18 23:49:36 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:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:  fixed     |   Keywords:  sonoma
      Port:  premake5  |
-----------------------+--------------------

Comment (by amake):

 The upstream patches only work if you're building
 [https://github.com/premake/premake-
 core/blob/2f6617c334fafa7f4cb2dbf74124375724ceef69/BUILD.txt#L27 from the
 repository], while we are building [https://github.com/premake/premake-
 core/blob/2f6617c334fafa7f4cb2dbf74124375724ceef69/BUILD.txt#L14 from a
 source package].

 I manually added the needed import statements.

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


More information about the macports-tickets mailing list