diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-25 01:29:34 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-25 01:31:18 +0200 |
commit | cf89431cc54bfa4b48732133bd29ef9999368c36 (patch) | |
tree | 98cb4ad50799d09e8ea6844aa39e573b5e192a55 /package/busybox/patches/012-msghdr.patch | |
parent | 01af213ee5720c929973534da555f89abaf301f5 (diff) |
busybox: update to 1.25.0
Diffstat (limited to 'package/busybox/patches/012-msghdr.patch')
-rw-r--r-- | package/busybox/patches/012-msghdr.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/package/busybox/patches/012-msghdr.patch b/package/busybox/patches/012-msghdr.patch deleted file mode 100644 index c34a4d4fc..000000000 --- a/package/busybox/patches/012-msghdr.patch +++ /dev/null @@ -1,50 +0,0 @@ -Patch from nsz via #musl -Fixes mips64 big endian n64 issue with ip - ---- busybox-1.24.2.orig/networking/libiproute/libnetlink.c -+++ busybox-1.24.2/networking/libiproute/libnetlink.c -@@ -72,10 +72,10 @@ - struct sockaddr_nl nladdr; - struct iovec iov[2] = { { &nlh, sizeof(nlh) }, { req, len } }; - struct msghdr msg = { -- (void*)&nladdr, sizeof(nladdr), -- iov, 2, -- NULL, 0, -- 0 -+ .msg_name = (void*)&nladdr, .msg_namelen = sizeof(nladdr), -+ .msg_iov = iov, .msg_iovlen = 2, -+ .msg_control = NULL, .msg_controllen = 0, -+ .msg_flags = 0 - }; - - memset(&nladdr, 0, sizeof(nladdr)); -@@ -106,10 +106,10 @@ - struct nlmsghdr *h; - - struct msghdr msg = { -- (void*)&nladdr, sizeof(nladdr), -- &iov, 1, -- NULL, 0, -- 0 -+ .msg_name = (void*)&nladdr, .msg_namelen = sizeof(nladdr), -+ .msg_iov = &iov, .msg_iovlen = 1, -+ .msg_control = NULL, .msg_controllen = 0, -+ .msg_flags = 0 - }; - - status = recvmsg(rth->fd, &msg, 0); -@@ -212,10 +212,10 @@ - struct iovec iov = { (void*)n, n->nlmsg_len }; - char *buf = xmalloc(8*1024); /* avoid big stack buffer */ - struct msghdr msg = { -- (void*)&nladdr, sizeof(nladdr), -- &iov, 1, -- NULL, 0, -- 0 -+ .msg_name = (void*)&nladdr, .msg_namelen = sizeof(nladdr), -+ .msg_iov = &iov, .msg_iovlen = 1, -+ .msg_control = NULL, .msg_controllen = 0, -+ .msg_flags = 0 - }; - - memset(&nladdr, 0, sizeof(nladdr)); |