summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-01-15 08:56:52 +0000
committertnn <tnn@pkgsrc.org>2008-01-15 08:56:52 +0000
commit530204bfb5364240a41eacb530431e78b70c8e30 (patch)
tree751bfb653ad76a2c3d8f098d604616c8742e2a16 /x11
parent70634fd0a4401c0a0a327827eed19e6d18289807 (diff)
downloadpkgsrc-530204bfb5364240a41eacb530431e78b70c8e30.tar.gz
Change an #ifdef hpux to #ifdef __hpux.
This makes unix socket transport work.
Diffstat (limited to 'x11')
-rw-r--r--x11/xtrans/distinfo4
-rw-r--r--x11/xtrans/patches/patch-aa11
2 files changed, 12 insertions, 3 deletions
diff --git a/x11/xtrans/distinfo b/x11/xtrans/distinfo
index 800462f7473..f88732aabe7 100644
--- a/x11/xtrans/distinfo
+++ b/x11/xtrans/distinfo
@@ -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 --git a/x11/xtrans/patches/patch-aa b/x11/xtrans/patches/patch-aa
index 0389f655d0a..b9adc97ca76 100644
--- a/x11/xtrans/patches/patch-aa
+++ b/x11/xtrans/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.2 2007/10/07 12:39:29 joerg Exp $
#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.
*/