[MacPorts] #62219: netperf @2.7.0: error: implicit declaration of function 'read' is invalid in C99

MacPorts noreply at macports.org
Mon Jan 10 21:19:08 UTC 2022


#62219: netperf @2.7.0: error: implicit declaration of function 'read' is invalid
in C99
-------------------------+-----------------------------------------------
  Reporter:  ryandesign  |      Owner:  grimreaper
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.4
Resolution:  fixed       |   Keywords:  catalina bigsur monterey haspatch
      Port:  netperf     |
-------------------------+-----------------------------------------------
Changes (by ryandesign):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"bb5b4fe058e28335bfadcd0ed7e76944aec93369/macports-ports"
 bb5b4fe058e28335bfadcd0ed7e76944aec93369/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="bb5b4fe058e28335bfadcd0ed7e76944aec93369"
 netperf: Fix implicit func decls and wrong code

 Fix implicit declaration of functions which caused build failure with
 Xcode 12 and later.

 Fix invocation of mach_port_deallocate which was called with 1 argument
 but needs 2. I assume this change is correct but I don't know.

 Closes: https://trac.macports.org/ticket/62219
 }}}

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


More information about the macports-tickets mailing list