pkgsrc-Bugs archive

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

Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and wireshark on Solaris)



On 21.06.13 14:33, Jonathan Perkin wrote:
Ok, in addition to removing the dlpisubs.c removal from configure, can you
also add:

   CONFIGURE_ENV+=      ac_cv_func_getifaddrs=no

to Makefile and try that?  This is enough to get it working again on
SmartOS.

The problem is that dlpisubs.c is only activated if getifaddrs() is
missing, which is not the case on newer Solaris.  This is a bit of a hack,
but a proper fix for the configure script would be a lot more work.

libpcap.so still includes the necessary functions:

$ nm ./work.pkgsrc-i86/libpcap-1.4.0/.libs/libpcap.so | grep pcap_conf_bufmod
[309]   |    105276|     401|FUNC |GLOB |0    |12     |pcap_conf_bufmod

and net/tcpdump does compile. Looks good to me.

--
 Jörn Clausen                             
joern.clausen%uni-bielefeld.de@localhost
 Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
 Universität Bielefeld


Home | Main Index | Thread Index | Old Index