summaryrefslogtreecommitdiff
path: root/openembedded/packages/busybox/files
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/packages/busybox/files')
-rw-r--r--openembedded/packages/busybox/files/glibc2.4-icmp6.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/openembedded/packages/busybox/files/glibc2.4-icmp6.patch b/openembedded/packages/busybox/files/glibc2.4-icmp6.patch
new file mode 100644
index 000000000..3cec1dd31
--- /dev/null
+++ b/openembedded/packages/busybox/files/glibc2.4-icmp6.patch
@@ -0,0 +1,15 @@
+--- busybox-1.01/networking/ping6.c.orig 2006-03-15 15:43:21.000000000 +0100
++++ busybox-1.01/networking/ping6.c 2006-03-15 15:49:29.000000000 +0100
+@@ -56,6 +56,12 @@
+ #include <stddef.h> /* offsetof */
+ #include "busybox.h"
+
++#ifndef ICMP6_MEMBERSHIP_QUERY /* glibc >= 2.4 */
++#define ICMP6_MEMBERSHIP_QUERY MLD_LISTENER_QUERY
++#define ICMP6_MEMBERSHIP_REPORT MLD_LISTENER_REPORT
++#define ICMP6_MEMBERSHIP_REDUCTION MLD_LISTENER_REDUCTION
++#endif
++
+ static const int DEFDATALEN = 56;
+ static const int MAXIPLEN = 60;
+ static const int MAXICMPLEN = 76;