summaryrefslogtreecommitdiffstats
path: root/main/dhcpcd/fix-caddr_t.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-01 12:30:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-01 12:31:44 +0000
commitcc4b739209ab8e847b89b894290f8cbee981f06c (patch)
treeae33eeddc94c4eea6f2eabade092a1dc1bc4248f /main/dhcpcd/fix-caddr_t.patch
parent22723aec92a6d7a7b7a3036f42521071533e1884 (diff)
downloadaports-cc4b739209ab8e847b89b894290f8cbee981f06c.tar.bz2
aports-cc4b739209ab8e847b89b894290f8cbee981f06c.tar.xz
main/dhcpcd: upgrade to 6.4.0
Diffstat (limited to 'main/dhcpcd/fix-caddr_t.patch')
-rw-r--r--main/dhcpcd/fix-caddr_t.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/dhcpcd/fix-caddr_t.patch b/main/dhcpcd/fix-caddr_t.patch
new file mode 100644
index 000000000..2fa00a9bd
--- /dev/null
+++ b/main/dhcpcd/fix-caddr_t.patch
@@ -0,0 +1,13 @@
+--- ./dhcp6.c.orig
++++ ./dhcp6.c
+@@ -835,8 +835,8 @@
+
+ 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 */