Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 07:36:38 +0000 (UTC)
From:      David Naylor <dbn@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338749 - head/emulators/wine-devel/files
Message-ID:  <201401050736.s057acVh048182@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401050736.s057acVh048182>