diff options
author | David Naylor <dbn@FreeBSD.org> | 2014-01-05 07:36:37 +0000 |
---|---|---|
committer | David Naylor <dbn@FreeBSD.org> | 2014-01-05 07:36:37 +0000 |
commit | 75af857b3ffb90cdf614b17eeb69fffe5a91590d (patch) | |
tree | 386fdac37672916493e5518586e5d14ff7648515 /emulators | |
parent | 8d23f98270d8cca4909c4c2cfbfb35e8fac49416 (diff) | |
download | ports-75af857b3ffb90cdf614b17eeb69fffe5a91590d.tar.gz ports-75af857b3ffb90cdf614b17eeb69fffe5a91590d.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/wine-devel/files/patch-dlls_ws2_32_socket.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/wine-devel/files/patch-dlls_ws2_32_socket.c b/emulators/wine-devel/files/patch-dlls_ws2_32_socket.c new file mode 100644 index 000000000000..e31c4bb5649a --- /dev/null +++ b/emulators/wine-devel/files/patch-dlls_ws2_32_socket.c @@ -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: |