[MacPorts] #27560: libnet11 1.1.5 needs to include <sys/types.h> on Tiger
#27560: libnet11 1.1.5 needs to include <sys/types.h> on Tiger --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: libnet11 --------------------------------+------------------------------------------- Specifically, in src/libnet_write.c, before including <netinet/udp.h>. Otherwise, that file has a fatal compilation error with "parse error before u_short in line 66 of udp.h" (or something like that, I forgot to preserve the log file and it got deleted because I did port -u). With that change the port builds and installs sucessfully. {{{ Mac OS X 10.4.11 "Tiger" iBook G4 (PPC) port from svn (r68648) libnet 1.1.5 (r74073) }}} -- Ticket URL: <https://trac.macports.org/ticket/27560> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27560: libnet11 1.1.5 needs to include <sys/types.h> on Tiger --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: tiger | Port: libnet11 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * keywords: => tiger * owner: macports-tickets@… => snc@… Comment: Thanks for the tip! -- Ticket URL: <https://trac.macports.org/ticket/27560#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27560: libnet11 1.1.5 needs to include <sys/types.h> on Tiger --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: tiger | Port: libnet11 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [ticket:27560 stephen@…]:
"parse error before u_short in line 66 of udp.h" (or something like that, I forgot to preserve the log file and it got deleted because I did port -u).
{{{ In file included from libnet_write.c:36: /usr/include/netinet/udp.h:66: error: parse error before 'u_short' /usr/include/netinet/udp.h:68: error: parse error before 'uh_ulen' /usr/include/netinet/udp.h:69: error: parse error before 'uh_sum' make[1]: *** [libnet_write.lo] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/27560#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27560: libnet11 1.1.5 needs to include <sys/types.h> on Tiger --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: tiger | Port: libnet11 --------------------------------+------------------------------------------- Changes (by snc@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/27560#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27560: libnet11 1.1.5 needs to include <sys/types.h> on Tiger --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: tiger | Port: libnet11 --------------------------------+------------------------------------------- Comment(by ryandesign@…): Here's a patch that I can confirm fixes the build on Tiger, and does not break the build on Snow Leopard. -- Ticket URL: <https://trac.macports.org/ticket/27560#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27560: libnet11 1.1.5 needs to include <sys/types.h> on Tiger ---------------------------------+------------------------------------------ Reporter: stephen@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: tiger Port: libnet11 | ---------------------------------+------------------------------------------ Changes (by snc@…): * status: assigned => closed * resolution: => fixed Comment: Committed in r74096. -- Ticket URL: <https://trac.macports.org/ticket/27560#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts