patches/strace/4.5.15/strace-undef-PACKET_MEMBERSHIP.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 14 17:02:05 2007 +0000 (2007-07-14)
changeset 256 97c14281a40c
permissions -rw-r--r--
Add patches for strace 4.5.15.
     1 --- strace-4.5.14/net.c.oorig	2005-07-05 01:33:38.000000000 +0200
     2 +++ strace-4.5.14/net.c	2006-10-09 16:35:02.000000000 +0200
     3 @@ -800,8 +800,12 @@
     4  
     5  #ifdef SOL_PACKET
     6  static const struct xlat sockpacketoptions[] = {
     7 +#if defined(PACKET_ADD_MEMBERSHIP)
     8  	{ PACKET_ADD_MEMBERSHIP,	"PACKET_ADD_MEMBERSHIP"	},
     9 +#endif
    10 +#if defined(PACKET_DROP_MEMBERSHIP)
    11  	{ PACKET_DROP_MEMBERSHIP,	"PACKET_DROP_MEMBERSHIP"},
    12 +#endif
    13  #if defined(PACKET_RECV_OUTPUT)
    14  	{ PACKET_RECV_OUTPUT,		"PACKET_RECV_OUTPUT"	},
    15  #endif