1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/strace/4.5.15/strace-undef-PACKET_MEMBERSHIP.patch Sat Jul 14 17:02:05 2007 +0000
1.3 @@ -0,0 +1,15 @@
1.4 +--- strace-4.5.14/net.c.oorig 2005-07-05 01:33:38.000000000 +0200
1.5 ++++ strace-4.5.14/net.c 2006-10-09 16:35:02.000000000 +0200
1.6 +@@ -800,8 +800,12 @@
1.7 +
1.8 + #ifdef SOL_PACKET
1.9 + static const struct xlat sockpacketoptions[] = {
1.10 ++#if defined(PACKET_ADD_MEMBERSHIP)
1.11 + { PACKET_ADD_MEMBERSHIP, "PACKET_ADD_MEMBERSHIP" },
1.12 ++#endif
1.13 ++#if defined(PACKET_DROP_MEMBERSHIP)
1.14 + { PACKET_DROP_MEMBERSHIP, "PACKET_DROP_MEMBERSHIP"},
1.15 ++#endif
1.16 + #if defined(PACKET_RECV_OUTPUT)
1.17 + { PACKET_RECV_OUTPUT, "PACKET_RECV_OUTPUT" },
1.18 + #endif