summaryrefslogtreecommitdiffstats
path: root/package/strace/strace-undef-PACKET_MEMBERSHIP.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 11:52:58 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 11:52:58 +0000
commit671ddcd2a3bc41f02451b27fbe350d912d75baec (patch)
tree035f2c6849de6101b6e3bbb8e457cec58c103378 /package/strace/strace-undef-PACKET_MEMBERSHIP.patch
parent56fadb2259e6ac69f6592be544bcc91c1b91c29b (diff)
downloadbuildroot-novena-671ddcd2a3bc41f02451b27fbe350d912d75baec.tar.gz
buildroot-novena-671ddcd2a3bc41f02451b27fbe350d912d75baec.zip
- that version didn't build for me.
Update version and make it compile..
Diffstat (limited to 'package/strace/strace-undef-PACKET_MEMBERSHIP.patch')
-rw-r--r--package/strace/strace-undef-PACKET_MEMBERSHIP.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/strace/strace-undef-PACKET_MEMBERSHIP.patch b/package/strace/strace-undef-PACKET_MEMBERSHIP.patch
new file mode 100644
index 000000000..cdc9e640b
--- /dev/null
+++ b/package/strace/strace-undef-PACKET_MEMBERSHIP.patch
@@ -0,0 +1,15 @@
+--- strace-4.5.14/net.c.oorig 2005-07-05 01:33:38.000000000 +0200
++++ strace-4.5.14/net.c 2006-10-09 16:35:02.000000000 +0200
+@@ -800,8 +800,12 @@
+
+ #ifdef SOL_PACKET
+ static const struct xlat sockpacketoptions[] = {
++#if defined(PACKET_ADD_MEMBERSHIP)
+ { PACKET_ADD_MEMBERSHIP, "PACKET_ADD_MEMBERSHIP" },
++#endif
++#if defined(PACKET_DROP_MEMBERSHIP)
+ { PACKET_DROP_MEMBERSHIP, "PACKET_DROP_MEMBERSHIP"},
++#endif
+ #if defined(PACKET_RECV_OUTPUT)
+ { PACKET_RECV_OUTPUT, "PACKET_RECV_OUTPUT" },
+ #endif