head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.8 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.6 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.4 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.2 pkgsrc-2011Q2-base:1.8 pkgsrc-2009Q4:1.7.0.14 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.12 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.10 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.8 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.6 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.4 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.2 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.6.0.4 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.2 pkgsrc-2008Q1:1.3.0.2 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.2.0.4 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.2 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.1.0.6 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.4 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.2 pkgsrc-2006Q4-base:1.1; locks; strict; comment @# @; 1.8 date 2010.01.15.18.08.12; author tnn; state dead; branches; next 1.7; 1.7 date 2008.09.09.13.59.13; author dsainty; state Exp; branches; next 1.6; 1.6 date 2008.05.09.22.53.21; author dsainty; state Exp; branches; next 1.5; 1.5 date 2008.05.09.09.04.06; author wiz; state Exp; branches; next 1.4; 1.4 date 2008.04.25.18.15.55; author joerg; state Exp; branches; next 1.3; 1.3 date 2008.01.15.08.56.52; author tnn; state Exp; branches; next 1.2; 1.2 date 2007.10.07.12.39.29; author joerg; state Exp; branches; next 1.1; 1.1 date 2006.12.15.16.43.57; author joerg; state Exp; branches; next ; desc @@ 1.8 log @Update to xtrans-1.2.5. This release moved the xtrans.pc file from lib/pkgconfig to share/pkgconfig. AFAICT pkgsrc deals with this properly. Changes: Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS Move Xtrans interface docs from xorg-docs module xtrans 1.2.5 Xtranssock: assume that we have getaddrinfo if ipv6 is enabled Move xtrans.pc to /usr/share/pkg-config Don't use -lws2_32 on Cygwin Silence root ownership warnings on Cygwin @ text @$NetBSD: patch-aa,v 1.7 2008/09/09 13:59:13 dsainty Exp $ --- Xtranssock.c.orig 2008-05-09 02:23:07.000000000 +1200 +++ Xtranssock.c 2008-05-10 09:41:28.000000000 +1200 @@@@ -294,11 +294,6 @@@@ * that don't have IPv6 support. */ #if defined(IPv6) && defined(AF_INET6) -static const struct in6_addr local_in6addr_any = IN6ADDR_ANY_INIT; -#pragma weak in6addr_any = local_in6addr_any -#ifndef __USLC__ -#pragma weak getaddrinfo -#endif static int haveIPv6 = 1; #endif @ 1.7 log @Re-enable abstract socket support under Linux (remove comment and first hunk of patch-aa). Abstract socket support was previously patched disabled because it was broken ( see http://bugs.freedesktop.org/show_bug.cgi?id=15884 ). The fix is in two parts. The first part is corrected in xtrans 1.2.1: Connection failure for abstract socket is ECONNREFUSED, not ENOENT. The second part is in an upcoming release of libX11, but the upstream changes have been pulled into Pkgsrc as the patches libX11/patches/patch-a[ik]. Tested on the same Linux system that prompted Bug#15884. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2008/05/09 22:53:21 dsainty Exp $ @ 1.6 log @Disable HAVE_ABSTRACT_SOCKETS as a workaround for bugs in the abstract socket implementation, see: http://bugs.freedesktop.org/show_bug.cgi?id=15884 This change only affects Linux as other platforms don't use the abstract sockets code to start with. But anyway, bump PKGREVISION. @ text @d1 1 a1 5 $NetBSD: patch-aa,v 1.5 2008/05/09 09:04:06 wiz Exp $ Disable HAVE_ABSTRACT_SOCKETS as a workaround for bugs in the abstract socket implementation, see: http://bugs.freedesktop.org/show_bug.cgi?id=15884 a4 9 @@@@ -159,7 +159,7 @@@@ #endif #ifdef linux -#define HAVE_ABSTRACT_SOCKETS +/*#define HAVE_ABSTRACT_SOCKETS*/ #endif #define MIN_BACKLOG 128 @ 1.5 log @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. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2008/04/25 18:15:55 joerg Exp $ d3 16 a18 3 --- Xtranssock.c.orig 2008-05-08 14:23:07.000000000 +0000 +++ Xtranssock.c @@@@ -294,11 +295,6 @@@@ static int TRANS(SocketINETClose) (Xtran @ 1.4 log @Fix xtrans-1.1 on NetBSD (testing rocks). @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- Xtranssock.c.orig 2008-03-06 02:48:42.000000000 +0100 d5 1 a5 18 @@@@ -48,6 +48,7 @@@@ from the copyright holders. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include #include #ifdef XTHREADS #include @@@@ -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 a16 10 @@@@ -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; @ 1.3 log @Change an #ifdef hpux to #ifdef __hpux. This makes unix socket transport work. @ text @d3 1 a3 1 --- Xtranssock.c.orig 2006-09-13 23:06:06.000000000 +0200 d5 1 a5 1 @@@@ -53,6 +53,7 @@@@ from the copyright holders. d34 10 @ 1.2 log @Don't define a local weak in6addr_any. Any sane IPv6 setup has and if it doesn't include it, your lost mostly anyway. The weak alias creates a conflict on HP-UX tho. Bump revision. @ text @d13 9 @ 1.1 log @Include sys/stat.h explictly in Xtranssock.c as S_IFMT and friends are used. It is not pulled in indirectly at least on DragonFly. Bump revision. @ text @d3 1 a3 1 --- Xtranssock.c.orig 2006-12-15 16:31:00.000000000 +0000 d13 12 @