diff options
author | Steven Barth <steven@midlink.org> | 2015-08-03 13:43:22 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-08-03 13:43:22 +0200 |
commit | 4d23d296ac50654b66c5203e5328432d7557d549 (patch) | |
tree | 1bbca9ad5fbff15a141a376b29cf9df4cff5a4aa | |
parent | f71205a1556a48b5675264c652aeefe64a0e2d13 (diff) | |
parent | b38a8c14572c142532c971471574c8cb2edb3374 (diff) |
Merge pull request #1566 from hauke/dhcpcd
dhcpcd: fix build with musl
-rw-r--r-- | net/dhcpcd/patches/001-fix-musl.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/dhcpcd/patches/001-fix-musl.patch b/net/dhcpcd/patches/001-fix-musl.patch new file mode 100644 index 000000000..5751a4c16 --- /dev/null +++ b/net/dhcpcd/patches/001-fix-musl.patch @@ -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 */ |