diff options
author | wiz <wiz@pkgsrc.org> | 2008-05-09 09:04:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2008-05-09 09:04:06 +0000 |
commit | 1506030f11c6106cf471deee07c2785891a6fd06 (patch) | |
tree | 6c3b9f02145aee9b048c382d3c514f2cdc5b7eec /x11/xtrans/patches | |
parent | 2ce87ea9fec5631d170ef22ef5f67b488ad9c9da (diff) | |
download | pkgsrc-1506030f11c6106cf471deee07c2785891a6fd06.tar.gz |
Update to 1.2:
Alan Coopersmith (1):
Sun bug #6688467: _X11TransConvertAddress: Unknown family
type on 64-bit SPARC
Alan Hourihane (2):
fix build for MAKEWORD
disable UNIXCONN on MINGW
Colin Harrison (2):
Only call WSAGetLastError() if there has been an
Update to winsock2
James Cloos (1):
Fix length calculation for the path for abstract unix domain sockets
Julien Cristau (2):
BSD44SOCKETS is the wrong check for SOCK_MAXADDRLEN
Bump to 1.2
Loïc Minier (1):
Bug #10489: Don't retry unix socket connect()s on ENOENT.
Diffstat (limited to 'x11/xtrans/patches')
-rw-r--r-- | x11/xtrans/patches/patch-aa | 33 |
1 files changed, 3 insertions, 30 deletions
diff --git a/x11/xtrans/patches/patch-aa b/x11/xtrans/patches/patch-aa index f60e2bfcd0f..59d3de90076 100644 --- a/x11/xtrans/patches/patch-aa +++ b/x11/xtrans/patches/patch-aa @@ -1,25 +1,8 @@ -$NetBSD: patch-aa,v 1.4 2008/04/25 18:15:55 joerg Exp $ +$NetBSD: patch-aa,v 1.5 2008/05/09 09:04:06 wiz Exp $ ---- Xtranssock.c.orig 2008-03-06 02:48:42.000000000 +0100 +--- Xtranssock.c.orig 2008-05-08 14:23:07.000000000 +0000 +++ Xtranssock.c -@@ -48,6 +48,7 @@ from the copyright holders. - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -+#include <sys/stat.h> - #include <ctype.h> - #ifdef XTHREADS - #include <X11/Xthreads.h> -@@ -215,7 +216,7 @@ static int TRANS(SocketINETClose) (Xtran - - #ifdef UNIXCONN - --#ifdef hpux -+#ifdef __hpux - - #if defined(X11_t) - #define UNIX_PATH "/usr/spool/sockets/X11/" -@@ -286,11 +287,6 @@ static int TRANS(SocketINETClose) (Xtran +@@ -294,11 +295,6 @@ static int TRANS(SocketINETClose) (Xtran * that don't have IPv6 support. */ #if defined(IPv6) && defined(AF_INET6) @@ -31,13 +14,3 @@ $NetBSD: patch-aa,v 1.4 2008/04/25 18:15:55 joerg Exp $ static int haveIPv6 = 1; #endif -@@ -541,6 +537,9 @@ TRANS(SocketReopen) (int i, int type, in - - portlen = strlen(port) + 1; // include space for trailing null - #ifdef BSD44SOCKETS -+# ifndef SOCK_MAXADDRLEN -+# define SOCK_MAXADDRLEN 255 -+# endif - if (portlen < 0 || portlen > (SOCK_MAXADDRLEN + 2)) { - PRMSG (1, "SocketReopen: invalid portlen %d\n", portlen, 0, 0); - return NULL; |