pkgsrc/x11/xtrans/patches/patch-aa
dsainty 60e91aeb7a 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.
2008-09-09 13:59:13 +00:00

16 lines
472 B
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