diff -r c6b0e6c7f67d -r a5345734c62c libpcap/libpcap.patch --- a/libpcap/libpcap.patch Thu Aug 09 18:55:01 2012 +0200 +++ b/libpcap/libpcap.patch Thu Aug 09 18:57:21 2012 +0200 @@ -47,7 +47,7 @@ +/* Yes Solaris 11 defines AF_PACKET but it does so in sys/socket.h */ +/* rather than netpacket/packet.h as claimed here. Not ready for */ +/* prime time time so circumvent until corrected upstream. */ -+#ifdef AF_PACKET_KAPUTTIBUG ++#ifdef __linux || AF_PACKET_KAPUTTIBUG # ifdef HAVE_NETPACKET_PACKET_H /* Solaris 11 and later, Linux distributions with newer glibc */ # include