diff options
author | dsainty <dsainty> | 2008-09-09 13:59:13 +0000 |
---|---|---|
committer | dsainty <dsainty> | 2008-09-09 13:59:13 +0000 |
commit | e0f9e71f953c9802b0be28ff0f3b6115518bf59c (patch) | |
tree | add7dcd7a9758b159a2b5f5a03285e2018450892 /x11/xtrans | |
parent | 0d546e114dc255231dd7b719d682267044d33a86 (diff) | |
download | pkgsrc-e0f9e71f953c9802b0be28ff0f3b6115518bf59c.tar.gz |
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.
Diffstat (limited to 'x11/xtrans')
-rw-r--r-- | x11/xtrans/Makefile | 3 | ||||
-rw-r--r-- | x11/xtrans/distinfo | 4 | ||||
-rw-r--r-- | x11/xtrans/patches/patch-aa | 15 |
3 files changed, 5 insertions, 17 deletions
diff --git a/x11/xtrans/Makefile b/x11/xtrans/Makefile index 0a8d153f933..c21e86e2ab8 100644 --- a/x11/xtrans/Makefile +++ b/x11/xtrans/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.11 2008/09/07 14:15:02 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2008/09/09 13:59:13 dsainty Exp $ # DISTNAME= xtrans-1.2.1 +PKGREVISION= 1 CATEGORIES= x11 net MASTER_SITES= ${MASTER_SITE_XORG:=lib/} EXTRACT_SUFX= .tar.bz2 diff --git a/x11/xtrans/distinfo b/x11/xtrans/distinfo index 56ba94531a2..183d2138a25 100644 --- a/x11/xtrans/distinfo +++ b/x11/xtrans/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.12 2008/09/07 14:15:02 wiz Exp $ +$NetBSD: distinfo,v 1.13 2008/09/09 13:59:13 dsainty Exp $ SHA1 (xtrans-1.2.1.tar.bz2) = 66d7916e5386d2e0485af04a3b2314fbccc2d23a RMD160 (xtrans-1.2.1.tar.bz2) = 1998ba12f64cfc9563dcb20f9337e448a9e6a882 Size (xtrans-1.2.1.tar.bz2) = 107174 bytes -SHA1 (patch-aa) = 8efb33c59ea37504273c226584d4c3ad5871524e +SHA1 (patch-aa) = f4faf481fdbd0f7fe1d984a3a4632dba46eb7eb0 SHA1 (patch-ab) = d2a7af633ab880ec71975b70f521c0e32cd07a5e diff --git a/x11/xtrans/patches/patch-aa b/x11/xtrans/patches/patch-aa index c8dc51b9c81..0f9dfa4d510 100644 --- a/x11/xtrans/patches/patch-aa +++ b/x11/xtrans/patches/patch-aa @@ -1,20 +1,7 @@ -$NetBSD: patch-aa,v 1.6 2008/05/09 22:53:21 dsainty 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 +$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 -@@ -159,7 +159,7 @@ - #endif - - #ifdef linux --#define HAVE_ABSTRACT_SOCKETS -+/*#define HAVE_ABSTRACT_SOCKETS*/ - #endif - - #define MIN_BACKLOG 128 @@ -294,11 +294,6 @@ * that don't have IPv6 support. */ |