diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xtrans/Makefile | 5 | ||||
-rw-r--r-- | x11/xtrans/distinfo | 10 | ||||
-rw-r--r-- | x11/xtrans/patches/patch-aa | 33 |
3 files changed, 10 insertions, 38 deletions
diff --git a/x11/xtrans/Makefile b/x11/xtrans/Makefile index 2658bcb4e54..d473c1fbf76 100644 --- a/x11/xtrans/Makefile +++ b/x11/xtrans/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2008/04/25 18:15:55 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2008/05/09 09:04:06 wiz Exp $ # -DISTNAME= xtrans-1.1 -PKGREVISION= 1 +DISTNAME= xtrans-1.2 CATEGORIES= x11 net MASTER_SITES= http://xorg.freedesktop.org/releases/individual/lib/ EXTRACT_SUFX= .tar.bz2 diff --git a/x11/xtrans/distinfo b/x11/xtrans/distinfo index 0493b0b673f..925e80ff9f8 100644 --- a/x11/xtrans/distinfo +++ b/x11/xtrans/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.9 2008/04/25 18:15:55 joerg Exp $ +$NetBSD: distinfo,v 1.10 2008/05/09 09:04:06 wiz Exp $ -SHA1 (xtrans-1.1.tar.bz2) = a6cba8cd1c63c8fb4a284e89376cb398cf1a2582 -RMD160 (xtrans-1.1.tar.bz2) = 67a90c612d2a7c65f8dc9f916bff7b341d6ccd42 -Size (xtrans-1.1.tar.bz2) = 106059 bytes -SHA1 (patch-aa) = 6b3e08165eae0da362c4732e7422c58157c4029a +SHA1 (xtrans-1.2.tar.bz2) = b93c9614cd434ca227ae413a071c25de49ce7307 +RMD160 (xtrans-1.2.tar.bz2) = 675d8e5675e201d24da30cd74415a539a683dd4c +Size (xtrans-1.2.tar.bz2) = 107362 bytes +SHA1 (patch-aa) = 5ac7c89fe3502618ac76234b89cf07733dd5efbf SHA1 (patch-ab) = d2a7af633ab880ec71975b70f521c0e32cd07a5e 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; |