svn commit: r338749 - head/emulators/wine-devel/files

David Naylor dbn at FreeBSD.org
Sun Jan 5 07:36:38 UTC 2014


Author: dbn
Date: Sun Jan  5 07:36:37 2014
New Revision: 338749
URL: http://svnweb.freebsd.org/changeset/ports/338749

Log:
  Add missing patch for emulators/wine-devel.
  
  Without this patch the port fails to build.

Added:
  head/emulators/wine-devel/files/patch-dlls_ws2_32_socket.c   (contents, props changed)

Added: head/emulators/wine-devel/files/patch-dlls_ws2_32_socket.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/wine-devel/files/patch-dlls_ws2_32_socket.c	Sun Jan  5 07:36:37 2014	(r338749)
@@ -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:


More information about the svn-ports-all mailing list