[MacPorts] #58549: fragroute @1.2: error: conflicting types for 'pcap_open'

MacPorts noreply at macports.org
Sun Nov 7 23:52:53 UTC 2021


#58549: fragroute @1.2: error: conflicting types for 'pcap_open'
------------------------+--------------------
  Reporter:  floodsec   |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  fragroute  |
------------------------+--------------------

Comment (by ryandesign):

 I can only assume (and other package managers say this as well) that
 fragroute's `pcap_open` is unrelated to and predates libpcap's own
 `pcap_open` and that we should rename fragroute's.

 I am reminded of #62950 in which we had to rename a project's `pcap_init`
 function to avoid a conflict with a `pcap_init` that appeared in a newer
 version of libpcap.

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


More information about the macports-tickets mailing list