diff options
author | wiz <wiz@pkgsrc.org> | 2013-11-07 22:50:50 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2013-11-07 22:50:50 +0000 |
commit | 564b1db327d33d73e608c6812a2a0658e04528e3 (patch) | |
tree | 2ebd9da71a05ba3387fc2297d671a7621307286f /x11 | |
parent | fc56a4321caae25efec8a5ed7b5b971ff9cfacbf (diff) | |
download | pkgsrc-564b1db327d33d73e608c6812a2a0658e04528e3.tar.gz |
Upgrade to 1.3.1 with upstream patches (will be in 1.3.2).
Same changes as in the previous try except that the patches fix
the breakage :)
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xtrans/Makefile | 4 | ||||
-rw-r--r-- | x11/xtrans/PLIST | 3 | ||||
-rw-r--r-- | x11/xtrans/distinfo | 12 | ||||
-rw-r--r-- | x11/xtrans/patches/patch-Xtransint.h | 20 | ||||
-rw-r--r-- | x11/xtrans/patches/patch-Xtranssock.c | 59 | ||||
-rw-r--r-- | x11/xtrans/patches/patch-ab | 22 |
6 files changed, 108 insertions, 12 deletions
diff --git a/x11/xtrans/Makefile b/x11/xtrans/Makefile index 88490d34bdc..5a5c07cc7d9 100644 --- a/x11/xtrans/Makefile +++ b/x11/xtrans/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.20 2013/11/07 10:48:15 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2013/11/07 22:50:50 wiz Exp $ -DISTNAME= xtrans-1.2.7 +DISTNAME= xtrans-1.3.1 CATEGORIES= x11 net MASTER_SITES= ${MASTER_SITE_XORG:=lib/} EXTRACT_SUFX= .tar.bz2 diff --git a/x11/xtrans/PLIST b/x11/xtrans/PLIST index f17a6633cb9..df103cb1e88 100644 --- a/x11/xtrans/PLIST +++ b/x11/xtrans/PLIST @@ -1,10 +1,9 @@ -@comment $NetBSD: PLIST,v 1.9 2013/11/07 10:48:15 wiz Exp $ +@comment $NetBSD: PLIST,v 1.10 2013/11/07 22:50:50 wiz Exp $ include/X11/Xtrans/Xtrans.c include/X11/Xtrans/Xtrans.h include/X11/Xtrans/Xtransint.h include/X11/Xtrans/Xtranslcl.c include/X11/Xtrans/Xtranssock.c -include/X11/Xtrans/Xtranstli.c include/X11/Xtrans/Xtransutil.c include/X11/Xtrans/transport.c share/aclocal/xtrans.m4 diff --git a/x11/xtrans/distinfo b/x11/xtrans/distinfo index a9466f23ac3..eea0e0df616 100644 --- a/x11/xtrans/distinfo +++ b/x11/xtrans/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.20 2013/11/07 10:48:15 wiz Exp $ +$NetBSD: distinfo,v 1.21 2013/11/07 22:50:50 wiz Exp $ -SHA1 (xtrans-1.2.7.tar.bz2) = b6ed421edf577816f6e641e1846dc0bff337676c -RMD160 (xtrans-1.2.7.tar.bz2) = 9b0fd9dfb477a1ab6f46ab15599f69a31deaa09f -Size (xtrans-1.2.7.tar.bz2) = 173025 bytes -SHA1 (patch-ab) = d2a7af633ab880ec71975b70f521c0e32cd07a5e +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 diff --git a/x11/xtrans/patches/patch-Xtransint.h b/x11/xtrans/patches/patch-Xtransint.h new file mode 100644 index 00000000000..6639fe458a4 --- /dev/null +++ b/x11/xtrans/patches/patch-Xtransint.h @@ -0,0 +1,20 @@ +$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 new file mode 100644 index 00000000000..61f130e1e51 --- /dev/null +++ b/x11/xtrans/patches/patch-Xtranssock.c @@ -0,0 +1,59 @@ +$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 75508505847..3dfe07b92d6 100644 --- a/x11/xtrans/patches/patch-ab +++ b/x11/xtrans/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.1 2007/01/14 10:30:56 joerg Exp $ +$NetBSD: patch-ab,v 1.2 2013/11/07 22:50:50 wiz Exp $ ---- Xtrans.c.orig 2007-01-14 11:28:47.000000000 +0100 +--- Xtrans.c.orig 2013-11-03 02:10:11.000000000 +0000 +++ Xtrans.c -@@ -180,8 +180,8 @@ TRANS(SelectTransport) (char *protocol) +@@ -162,8 +162,8 @@ TRANS(SelectTransport) (const char *prot protobuf[PROTOBUFSIZE-1] = '\0'; for (i = 0; i < PROTOBUFSIZE && protobuf[i] != '\0'; i++) @@ -13,3 +13,19 @@ $NetBSD: patch-ab,v 1.1 2007/01/14 10:30:56 joerg 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) |