Re: [MacPorts] #31614: radvd @1.6 'IPV6_PKTINFO’ undeclared - build failure

MacPorts noreply at macports.org
Mon Oct 17 04:21:46 PDT 2011


#31614: radvd @1.6 'IPV6_PKTINFO’ undeclared - build failure
----------------------------------+-----------------------------------------
 Reporter:  pburgstaller@…        |       Owner:  lars.rasmusson@…      
     Type:  defect                |      Status:  new                   
 Priority:  Normal                |   Milestone:                        
Component:  ports                 |     Version:  2.0.3                 
 Keywords:                        |        Port:  radvd                 
----------------------------------+-----------------------------------------

Comment(by Lars.Rasmusson@…):

 Looking in the header file {{{netinet6/in6.h}}} which defines
 {{{IPV6_PKTINFO}}} I notice that it has been changed in Lion.
 I don't have Lion so I can't test it myself, but the header file says that
 to get the old definition of IPV6_PKTINFO
 you should define {{{__APPLE_USE_RFC_2292}}}  before the files are
 included.

 Could you try and just add
 {{{#define __APPLE_USE_RFC_2292}}}
 in the beginning (before importing includes.h) of socket.c send.c and
 recv.c

 Here is Lion's in6.h
 [http://www.opensource.apple.com/source/xnu/xnu-1699.24.8/bsd/netinet6/in6.h]

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


More information about the macports-tickets mailing list