summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/busybox/files/1.1.0/glibc.patch')
-rw-r--r--sys-apps/busybox/files/1.1.0/glibc.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-apps/busybox/files/1.1.0/glibc.patch b/sys-apps/busybox/files/1.1.0/glibc.patch
new file mode 100644
index 000000000000..9025265a65d2
--- /dev/null
+++ b/sys-apps/busybox/files/1.1.0/glibc.patch
@@ -0,0 +1,21 @@
+Index: networking/ping6.c
+===================================================================
+--- networking/ping6.c (revision 14514)
++++ networking/ping6.c (working copy)
+@@ -236,6 +236,16 @@
+ }
+ }
+
++/* libc defines have changed around on us, whee ! */
++#ifndef ICMP6_MEMBERSHIP_QUERY
++# define ICMP6_MEMBERSHIP_QUERY MLD_LISTENER_QUERY
++#endif
++#ifndef ICMP6_MEMBERSHIP_REPORT
++# define ICMP6_MEMBERSHIP_REPORT MLD_LISTENER_REPORT
++#endif
++#ifndef ICMP6_MEMBERSHIP_REDUCTION
++# define ICMP6_MEMBERSHIP_REDUCTION MLD_LISTENER_REDUCTION
++#endif
+ static char *icmp6_type_name (int id)
+ {
+ switch (id) {