pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xtrans Disable HAVE_ABSTRACT_SOCKETS as a workarou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7ee7ee378f4
branches:  trunk
changeset: 542254:b7ee7ee378f4
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Fri May 09 22:53:21 2008 +0000

description:
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.

diffstat:

 x11/xtrans/Makefile         |   3 ++-
 x11/xtrans/distinfo         |   4 ++--
 x11/xtrans/patches/patch-aa |  21 +++++++++++++++++----
 3 files changed, 21 insertions(+), 7 deletions(-)

diffs (55 lines):

diff -r 13389307a9e2 -r b7ee7ee378f4 x11/xtrans/Makefile
--- a/x11/xtrans/Makefile       Fri May 09 22:31:09 2008 +0000
+++ b/x11/xtrans/Makefile       Fri May 09 22:53:21 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2008/05/09 09:04:06 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2008/05/09 22:53:21 dsainty Exp $
 #
 
 DISTNAME=              xtrans-1.2
+PKGREVISION=           1
 CATEGORIES=            x11 net
 MASTER_SITES=          http://xorg.freedesktop.org/releases/individual/lib/
 EXTRACT_SUFX=          .tar.bz2
diff -r 13389307a9e2 -r b7ee7ee378f4 x11/xtrans/distinfo
--- a/x11/xtrans/distinfo       Fri May 09 22:31:09 2008 +0000
+++ b/x11/xtrans/distinfo       Fri May 09 22:53:21 2008 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2008/05/09 09:04:06 wiz Exp $
+$NetBSD: distinfo,v 1.11 2008/05/09 22:53:21 dsainty Exp $
 
 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-aa) = 8efb33c59ea37504273c226584d4c3ad5871524e
 SHA1 (patch-ab) = d2a7af633ab880ec71975b70f521c0e32cd07a5e
diff -r 13389307a9e2 -r b7ee7ee378f4 x11/xtrans/patches/patch-aa
--- a/x11/xtrans/patches/patch-aa       Fri May 09 22:31:09 2008 +0000
+++ b/x11/xtrans/patches/patch-aa       Fri May 09 22:53:21 2008 +0000
@@ -1,8 +1,21 @@
-$NetBSD: patch-aa,v 1.5 2008/05/09 09:04:06 wiz Exp $
+$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
 
---- Xtranssock.c.orig  2008-05-08 14:23:07.000000000 +0000
-+++ Xtranssock.c
-@@ -294,11 +295,6 @@ static int TRANS(SocketINETClose) (Xtran
+--- 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.
   */
  #if defined(IPv6) && defined(AF_INET6)



Home | Main Index | Thread Index | Old Index