patches/strace/4.5.15/180-undef-PACKET_MEMBERSHIP.patch
changeset 747 d3e603e7c17c
parent 746 b150d6f590fc
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/strace/4.5.15/180-undef-PACKET_MEMBERSHIP.patch	Mon Jul 28 21:32:33 2008 +0000
     1.3 @@ -0,0 +1,16 @@
     1.4 +diff -dur strace-4.5.15.orig/net.c strace-4.5.15/net.c
     1.5 +--- strace-4.5.15.orig/net.c	2006-12-13 20:57:23.000000000 +0100
     1.6 ++++ strace-4.5.15/net.c	2007-07-14 19:29:36.000000000 +0200
     1.7 +@@ -800,8 +800,12 @@
     1.8 + 
     1.9 + #ifdef SOL_PACKET
    1.10 + static const struct xlat sockpacketoptions[] = {
    1.11 ++#if defined(PACKET_ADD_MEMBERSHIP)
    1.12 + 	{ PACKET_ADD_MEMBERSHIP,	"PACKET_ADD_MEMBERSHIP"	},
    1.13 ++#endif
    1.14 ++#if defined(PACKET_DROP_MEMBERSHIP)
    1.15 + 	{ PACKET_DROP_MEMBERSHIP,	"PACKET_DROP_MEMBERSHIP"},
    1.16 ++#endif
    1.17 + #if defined(PACKET_RECV_OUTPUT)
    1.18 + 	{ PACKET_RECV_OUTPUT,		"PACKET_RECV_OUTPUT"	},
    1.19 + #endif