[MacPorts] #30561: nmap @5.51 build fails on OSX 10.7 Lion - error: conflicting types for 'getnameinfo'

MacPorts noreply at macports.org
Thu Sep 29 03:06:25 PDT 2011


#30561: nmap @5.51 build fails on OSX 10.7 Lion - error: conflicting types for
'getnameinfo'
----------------------------------+-----------------------------------------
  Reporter:  kevin@…              |       Owner:  dluke@…           
      Type:  defect               |      Status:  reopened          
  Priority:  Normal               |   Milestone:                    
 Component:  ports                |     Version:  2.0.1             
Resolution:                       |    Keywords:                    
      Port:  nmap                 |  
----------------------------------+-----------------------------------------

Comment(by michele.noberasco@…):

 For those who are on a hurry and need a quick n dirty solution, do the
 following:

 - open nbase/getnameinfo.c and wipe out getnameinfo method implementation
 - open nbase/nbase_ipv6.h and wipe out the conditional code for #if
 !HAVE_GETNAMEINFO || !HAVE_GETADDRINFO, then for #if !HAVE_GETNAMEINFO,
 and finally for #if !HAVE_GETADDRINFO

-- 
Ticket URL: <https://trac.macports.org/ticket/30561#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list