pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37500: net/tcpdump cannot be compiled on Solaris



>Number:         37500
>Category:       pkg
>Synopsis:       net/tcpdump cannot be compiled on Solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 08 12:10:00 +0000 2007
>Originator:     Naoto Morishima
>Release:        
>Organization:
>Environment:
SunOS XXXX 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V210


>Description:
net/tcpdump cannot be compiled on Solaris 10,  at least with sunpro cc.
>How-To-Repeat:
Try to compile it on Solaris with sunpro cc.
>Fix:
Following patches will fix this problem.

--- print-icmp.c.orig   Sat Dec  8 12:37:16 2007
+++ print-icmp.c        Sat Dec  8 12:37:29 2007
@@ -300,9 +300,6 @@
     u_int8_t icmp_ext_data[1];
 };
 
-struct icmp_mpls_ext_common_header_t {
-};
-
 struct icmp_mpls_ext_object_header_t {
     u_int8_t length[2];
     u_int8_t class_num;
--- addrtoname.c.orig   Wed Sep 20 04:07:55 2006
+++ addrtoname.c        Sat Dec  8 12:46:08 2007
@@ -68,7 +68,7 @@
 #include "extract.h"
 #include "oui.h"
 
-#ifndef ETHER_ADDR_LEN
+#ifndef ETHERMTU
 #include "ether.h"
 #endif





Home | Main Index | Thread Index | Old Index