Browse Source

Merge pull request #1566 from hauke/dhcpcd

dhcpcd: fix build with musl
lilik-openwrt-22.03
Steven Barth 9 years ago
parent
commit
4d23d296ac
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      net/dhcpcd/patches/001-fix-musl.patch

+ 13
- 0
net/dhcpcd/patches/001-fix-musl.patch View File

@ -0,0 +1,13 @@
--- a/dhcp6.c
+++ b/dhcp6.c
@@ -1047,8 +1047,8 @@ logsend:
ctx = ifp->ctx->ipv6;
dst.sin6_scope_id = ifp->index;
- ctx->sndhdr.msg_name = (caddr_t)&dst;
- ctx->sndhdr.msg_iov[0].iov_base = (caddr_t)state->send;
+ ctx->sndhdr.msg_name = (void *)&dst;
+ ctx->sndhdr.msg_iov[0].iov_base = (void *)state->send;
ctx->sndhdr.msg_iov[0].iov_len = state->send_len;
/* Set the outbound interface */

Loading…
Cancel
Save