summaryrefslogtreecommitdiff
path: root/x11/xtrans
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-11-08 13:10:16 +0000
committerwiz <wiz@pkgsrc.org>2013-11-08 13:10:16 +0000
commit86a8ea1503fc928ffd3f70744fe9510bd9a72bfc (patch)
treeb7e0082dac858a5a5792d2da318247a42a79d851 /x11/xtrans
parent54a0da9db7e984148d07f096f6c194269029bacb (diff)
downloadpkgsrc-86a8ea1503fc928ffd3f70744fe9510bd9a72bfc.tar.gz
Update to 1.3.2:
Another round of fixes for the fd sending API's: improves portability, fixes build failures on BSD & Solaris when building with the new API disabled, and enables the new API for Solaris.
Diffstat (limited to 'x11/xtrans')
-rw-r--r--x11/xtrans/Makefile4
-rw-r--r--x11/xtrans/distinfo12
-rw-r--r--x11/xtrans/patches/patch-Xtransint.h20
-rw-r--r--x11/xtrans/patches/patch-Xtranssock.c59
-rw-r--r--x11/xtrans/patches/patch-ab18
5 files changed, 8 insertions, 105 deletions
diff --git a/x11/xtrans/Makefile b/x11/xtrans/Makefile
index 5a5c07cc7d9..9606b7088a8 100644
--- a/x11/xtrans/Makefile
+++ b/x11/xtrans/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2013/11/07 22:50:50 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2013/11/08 13:10:16 wiz Exp $
-DISTNAME= xtrans-1.3.1
+DISTNAME= xtrans-1.3.2
CATEGORIES= x11 net
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/xtrans/distinfo b/x11/xtrans/distinfo
index eea0e0df616..4e1b67a45bf 100644
--- a/x11/xtrans/distinfo
+++ b/x11/xtrans/distinfo
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.21 2013/11/07 22:50:50 wiz Exp $
+$NetBSD: distinfo,v 1.22 2013/11/08 13:10:16 wiz Exp $
-SHA1 (xtrans-1.3.1.tar.bz2) = 0905e47fe1d185b918a15651632a8ca822be4385
-RMD160 (xtrans-1.3.1.tar.bz2) = 25df07259934c5daf6458faac627e2429f25b6db
-Size (xtrans-1.3.1.tar.bz2) = 178597 bytes
-SHA1 (patch-Xtransint.h) = ad8046c33b02b178af5bb4f88fc7c5c12186bc77
-SHA1 (patch-Xtranssock.c) = 9965e72fbe9da4d6b5db9bb56ef7e0d9f31efdb9
-SHA1 (patch-ab) = 4d87d72f6ef3e06a95a9deaee978802bbb3a985a
+SHA1 (xtrans-1.3.2.tar.bz2) = 720928c80323827c9a88bda6990a298489570474
+RMD160 (xtrans-1.3.2.tar.bz2) = de2a6add9944f7cbc3f22b090cb13eb38f84cdfe
+Size (xtrans-1.3.2.tar.bz2) = 177812 bytes
+SHA1 (patch-ab) = dd2cf693831270fc15ff89eb81cdf43d3916d721
diff --git a/x11/xtrans/patches/patch-Xtransint.h b/x11/xtrans/patches/patch-Xtransint.h
deleted file mode 100644
index 6639fe458a4..00000000000
--- a/x11/xtrans/patches/patch-Xtransint.h
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-Xtransint.h,v 1.1 2013/11/07 22:50:50 wiz Exp $
-
---- Xtransint.h.orig 2013-11-07 06:58:43.000000000 +0000
-+++ Xtransint.h
-@@ -291,6 +291,7 @@ typedef struct _Xtransport {
- int /* size */
- );
-
-+#if XTRANS_SEND_FDS
- int (*SendFd)(
- XtransConnInfo, /* connection */
- int, /* fd */
-@@ -300,6 +301,7 @@ typedef struct _Xtransport {
- int (*RecvFd)(
- XtransConnInfo /* connection */
- );
-+#endif
-
- int (*Disconnect)(
- XtransConnInfo /* connection */
diff --git a/x11/xtrans/patches/patch-Xtranssock.c b/x11/xtrans/patches/patch-Xtranssock.c
deleted file mode 100644
index 61f130e1e51..00000000000
--- a/x11/xtrans/patches/patch-Xtranssock.c
+++ /dev/null
@@ -1,59 +0,0 @@
-$NetBSD: patch-Xtranssock.c,v 1.1 2013/11/07 22:50:50 wiz Exp $
-
---- Xtranssock.c.orig 2013-11-03 02:12:32.000000000 +0000
-+++ Xtranssock.c
-@@ -2506,8 +2506,10 @@ Xtransport TRANS(SocketTCPFuncs) = {
- TRANS(SocketWrite),
- TRANS(SocketReadv),
- TRANS(SocketWritev),
-+#if XTRANS_SEND_FDS
- TRANS(SocketSendFdInvalid),
- TRANS(SocketRecvFdInvalid),
-+#endif
- TRANS(SocketDisconnect),
- TRANS(SocketINETClose),
- TRANS(SocketINETClose),
-@@ -2548,8 +2550,10 @@ Xtransport TRANS(SocketINETFuncs) = {
- TRANS(SocketWrite),
- TRANS(SocketReadv),
- TRANS(SocketWritev),
-+#if XTRANS_SEND_FDS
- TRANS(SocketSendFdInvalid),
- TRANS(SocketRecvFdInvalid),
-+#endif
- TRANS(SocketDisconnect),
- TRANS(SocketINETClose),
- TRANS(SocketINETClose),
-@@ -2591,8 +2595,10 @@ Xtransport TRANS(SocketINET6Funcs) =
- TRANS(SocketWrite),
- TRANS(SocketReadv),
- TRANS(SocketWritev),
-+#if XTRANS_SEND_FDS
- TRANS(SocketSendFdInvalid),
- TRANS(SocketRecvFdInvalid),
-+#endif
- TRANS(SocketDisconnect),
- TRANS(SocketINETClose),
- TRANS(SocketINETClose),
-@@ -2641,8 +2647,10 @@ Xtransport TRANS(SocketLocalFuncs) = {
- TRANS(SocketWrite),
- TRANS(SocketReadv),
- TRANS(SocketWritev),
-+#if XTRANS_SEND_FDS
- TRANS(SocketSendFd),
- TRANS(SocketRecvFd),
-+#endif
- TRANS(SocketDisconnect),
- TRANS(SocketUNIXClose),
- TRANS(SocketUNIXCloseForCloning),
-@@ -2697,8 +2705,10 @@ Xtransport TRANS(SocketUNIXFuncs) = {
- TRANS(SocketWrite),
- TRANS(SocketReadv),
- TRANS(SocketWritev),
-+#if XTRANS_SEND_FDS
- TRANS(SocketSendFd),
- TRANS(SocketRecvFd),
-+#endif
- TRANS(SocketDisconnect),
- TRANS(SocketUNIXClose),
- TRANS(SocketUNIXCloseForCloning),
diff --git a/x11/xtrans/patches/patch-ab b/x11/xtrans/patches/patch-ab
index 3dfe07b92d6..4616cfbe021 100644
--- a/x11/xtrans/patches/patch-ab
+++ b/x11/xtrans/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 2013/11/07 22:50:50 wiz Exp $
+$NetBSD: patch-ab,v 1.3 2013/11/08 13:10:16 wiz Exp $
--- Xtrans.c.orig 2013-11-03 02:10:11.000000000 +0000
+++ Xtrans.c
@@ -13,19 +13,3 @@ $NetBSD: patch-ab,v 1.2 2013/11/07 22:50:50 wiz Exp $
/* Look at all of the configured protocols */
-@@ -879,6 +879,7 @@ TRANS(Writev) (XtransConnInfo ciptr, str
- return ciptr->transptr->Writev (ciptr, buf, size);
- }
-
-+#if XTRANS_SEND_FDS
- int
- TRANS(SendFd) (XtransConnInfo ciptr, int fd, int do_close)
- {
-@@ -890,6 +891,7 @@ TRANS(RecvFd) (XtransConnInfo ciptr)
- {
- return ciptr->transptr->RecvFd(ciptr);
- }
-+#endif
-
- int
- TRANS(Disconnect) (XtransConnInfo ciptr)