mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Add missing patch for emulators/wine-devel.
Without this patch the port fails to build.
This commit is contained in:
parent
8d23f98270
commit
75af857b3f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338749
13
emulators/wine-devel/files/patch-dlls_ws2_32_socket.c
Normal file
13
emulators/wine-devel/files/patch-dlls_ws2_32_socket.c
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
|
||||
index 0391554..6374ba9 100644
|
||||
--- dlls/ws2_32/socket.c
|
||||
+++ dlls/ws2_32/socket.c
|
||||
@@ -1473,7 +1473,7 @@ static BOOL is_sockaddr_bound(const struct sockaddr *uaddr, int uaddrlen)
|
||||
{
|
||||
static const struct sockaddr_ipx emptyAddr;
|
||||
struct sockaddr_ipx *ipx = (struct sockaddr_ipx*) uaddr;
|
||||
- return ipx->sipx_port || ipx->sipx_network || memcmp(&ipx->sipx_node, &emptyAddr.sipx_node, sizeof(emptyAddr.sipx_node));
|
||||
+ return ipx->sipx_port || ((union ipx_net_u)ipx->sipx_network).long_e || memcmp(&ipx->sipx_node, &emptyAddr.sipx_node, sizeof(emptyAddr.sipx_node));
|
||||
}
|
||||
#endif
|
||||
case AF_INET6:
|
Loading…
Reference in New Issue
Block a user