pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xtrans Change an #ifdef hpux to #ifdef __hpux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0d4cbcc19b2
branches:  trunk
changeset: 537735:b0d4cbcc19b2
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Jan 15 08:56:52 2008 +0000

description:
Change an #ifdef hpux to #ifdef __hpux.
This makes unix socket transport work.

diffstat:

 x11/xtrans/distinfo         |   4 ++--
 x11/xtrans/patches/patch-aa |  11 ++++++++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (38 lines):

diff -r a8cdcc1301e6 -r b0d4cbcc19b2 x11/xtrans/distinfo
--- a/x11/xtrans/distinfo       Tue Jan 15 06:59:09 2008 +0000
+++ b/x11/xtrans/distinfo       Tue Jan 15 08:56:52 2008 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2007/10/07 12:39:28 joerg Exp $
+$NetBSD: distinfo,v 1.7 2008/01/15 08:56:52 tnn Exp $
 
 SHA1 (xtrans-1.0.4.tar.bz2) = 9e6dd0970b72253f9558be43abd30bb8a802aa66
 RMD160 (xtrans-1.0.4.tar.bz2) = 4cccff870a9297873ae99a6a8c49bb4d545607d9
 Size (xtrans-1.0.4.tar.bz2) = 103761 bytes
-SHA1 (patch-aa) = c3c1ca1262d857d017079d9b37f71cb83c4d9052
+SHA1 (patch-aa) = cd9de436c904fcc9af3e908e4e697ecec458407e
 SHA1 (patch-ab) = d2a7af633ab880ec71975b70f521c0e32cd07a5e
diff -r a8cdcc1301e6 -r b0d4cbcc19b2 x11/xtrans/patches/patch-aa
--- a/x11/xtrans/patches/patch-aa       Tue Jan 15 06:59:09 2008 +0000
+++ b/x11/xtrans/patches/patch-aa       Tue Jan 15 08:56:52 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2007/10/07 12:39:29 joerg Exp $
+$NetBSD: patch-aa,v 1.3 2008/01/15 08:56:52 tnn Exp $
 
 --- Xtranssock.c.orig  2006-09-13 23:06:06.000000000 +0200
 +++ Xtranssock.c
@@ -10,6 +10,15 @@
  #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
   * that don't have IPv6 support.
   */



Home | Main Index | Thread Index | Old Index