Opened 14 years ago
Closed 14 years ago
#27560 closed defect (fixed)
libnet11 1.1.5 needs to include <sys/types.h> on Tiger
Reported by: | yaseppochi (Stephen J. Turnbull) | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | tiger | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | libnet11 |
Description
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)
Attachments (1)
Change History (6)
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | tiger added |
---|---|
Owner: | changed from macports-tickets@… to snc@… |
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
Replying to 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
comment:3 Changed 14 years ago by nerdling (Jeremy Lavergne)
Status: | new → assigned |
---|
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | libnet11-tiger.diff added |
---|
proposed patch
comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Here's a patch that I can confirm fixes the build on Tiger, and does not break the build on Snow Leopard.
comment:5 Changed 14 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed in r74096.
Note: See
TracTickets for help on using
tickets.
Thanks for the tip!