aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-08-21 01:59:46 +0800
committerarved <arved@FreeBSD.org>2004-08-21 01:59:46 +0800
commit2aa510fa4975185bdccfc9f3bc246cde1e807535 (patch)
tree4b3416359b6e0bb2b0a991b71c7ce93ab4a862ff /net
parentd876aef41dc327b88624e2e527c0ba76071ba920 (diff)
downloadfreebsd-ports-gnome-2aa510fa4975185bdccfc9f3bc246cde1e807535.tar.gz
freebsd-ports-gnome-2aa510fa4975185bdccfc9f3bc246cde1e807535.tar.zst
freebsd-ports-gnome-2aa510fa4975185bdccfc9f3bc246cde1e807535.zip
Fix build on 5.x: struct sockaddr_in6 has no member sinaddr
Diffstat (limited to 'net')
-rw-r--r--net/gsk/files/patch-gsksocketaddress.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/gsk/files/patch-gsksocketaddress.c b/net/gsk/files/patch-gsksocketaddress.c
new file mode 100644
index 000000000000..ab8cf8b49939
--- /dev/null
+++ b/net/gsk/files/patch-gsksocketaddress.c
@@ -0,0 +1,11 @@
+--- src/gsksocketaddress.c.orig Fri Aug 20 19:39:20 2004
++++ src/gsksocketaddress.c Fri Aug 20 19:46:29 2004
+@@ -184,7 +184,7 @@
+ {
+ GskSocketAddressIpv6 *ipv6 = GSK_SOCKET_ADDRESS_IPV6 (address);
+ struct sockaddr_in6 *addr = output;
+- MAYBE_SET_LENGTH_MEMBER (addr->sinaddr->sin6_len, struct sockaddr_in6);
++ MAYBE_SET_LENGTH_MEMBER (addr->sin6_len, struct sockaddr_in6);
+ addr->sin6_family = AF_INET6;
+ addr->sin6_port = GUINT16_TO_BE (ipv6->port);
+ addr->sin6_flowinfo = GUINT32_TO_BE (ipv6->flow_info);