diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2023-06-03 14:21:37 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2023-06-03 14:21:37 +0200 |
commit | 0a6b76735c40419bed2e2577a167f6a38776c560 (patch) | |
tree | da13ca88f69c862bb22e47c0830e6e909dc2da8f | |
parent | f9ab51d0c21fe687901f7b947dea6f5cd4937e33 (diff) |
x11/xtrans: update to 1.5.0
-rw-r--r-- | x11/xtrans/Makefile | 2 | ||||
-rw-r--r-- | x11/xtrans/distinfo | 4 | ||||
-rw-r--r-- | x11/xtrans/patches/patch-Xtranssock_c | 3 | ||||
-rw-r--r-- | x11/xtrans/patches/patch-Xtransutil_c | 13 |
4 files changed, 10 insertions, 12 deletions
diff --git a/x11/xtrans/Makefile b/x11/xtrans/Makefile index 6e77e4e..09050e6 100644 --- a/x11/xtrans/Makefile +++ b/x11/xtrans/Makefile @@ -1,6 +1,6 @@ COMMENT = X Window System Protocols Transport layer shared code -DISTNAME = xtrans-1.4.0 +DISTNAME = xtrans-1.5.0 CATEGORIES = x11 diff --git a/x11/xtrans/distinfo b/x11/xtrans/distinfo index b8914e0..5c624de 100644 --- a/x11/xtrans/distinfo +++ b/x11/xtrans/distinfo @@ -1,2 +1,2 @@ -SHA256 (xtrans-1.4.0.tar.gz) = SO2FDOdy/vG0TKI2ObClfjiIQEXtLLsYqxN+8z7HE/k= -SIZE (xtrans-1.4.0.tar.gz) = 225941 +SHA256 (xtrans-1.5.0.tar.gz) = qAb4qS+Hnc0BRvPxFT/f/oRfL8DfmxomwZMSt7CinIY= +SIZE (xtrans-1.5.0.tar.gz) = 230197 diff --git a/x11/xtrans/patches/patch-Xtranssock_c b/x11/xtrans/patches/patch-Xtranssock_c index e2972c7..9eb3b82 100644 --- a/x11/xtrans/patches/patch-Xtranssock_c +++ b/x11/xtrans/patches/patch-Xtranssock_c @@ -1,8 +1,7 @@ - Index: Xtranssock.c --- Xtranssock.c.orig +++ Xtranssock.c -@@ -902,7 +902,7 @@ TRANS(SocketINETCreateListener) (XtransConnInfo ciptr, +@@ -923,7 +923,7 @@ TRANS(SocketINETCreateListener) (XtransConnInfo ciptr, } else { namelen = sizeof (struct sockaddr_in6); #ifdef SIN6_LEN diff --git a/x11/xtrans/patches/patch-Xtransutil_c b/x11/xtrans/patches/patch-Xtransutil_c index 83b02d3..f41d5bc 100644 --- a/x11/xtrans/patches/patch-Xtransutil_c +++ b/x11/xtrans/patches/patch-Xtransutil_c @@ -1,8 +1,7 @@ - Index: Xtransutil.c --- Xtransutil.c.orig +++ Xtransutil.c -@@ -203,7 +203,7 @@ TRANS(ConvertAddress)(int *familyp, int *addrlenp, Xtr +@@ -196,7 +196,7 @@ TRANS(ConvertAddress)(int *familyp, int *addrlenp, Xtr if (!*addrp) *addrp = malloc (len + 1); if (*addrp) { @@ -11,7 +10,7 @@ Index: Xtransutil.c *addrlenp = len; } else { *addrlenp = 0; -@@ -243,6 +243,7 @@ TRANS(GetMyNetworkId) (XtransConnInfo ciptr) +@@ -236,6 +236,7 @@ TRANS(GetMyNetworkId) (XtransConnInfo ciptr) char hostnamebuf[256]; char *networkId = NULL; const char *transName = ciptr->transptr->TransName; @@ -19,7 +18,7 @@ Index: Xtransutil.c if (gethostname (hostnamebuf, sizeof (hostnamebuf)) < 0) { -@@ -255,9 +256,10 @@ TRANS(GetMyNetworkId) (XtransConnInfo ciptr) +@@ -248,9 +249,10 @@ TRANS(GetMyNetworkId) (XtransConnInfo ciptr) case AF_UNIX: { struct sockaddr_un *saddr = (struct sockaddr_un *) addr; @@ -33,7 +32,7 @@ Index: Xtransutil.c hostnamebuf, saddr->sun_path); break; } -@@ -285,14 +287,15 @@ TRANS(GetMyNetworkId) (XtransConnInfo ciptr) +@@ -278,14 +280,15 @@ TRANS(GetMyNetworkId) (XtransConnInfo ciptr) portnum = ntohs (saddr->sin_port); snprintf (portnumbuf, sizeof(portnumbuf), "%d", portnum); @@ -53,7 +52,7 @@ Index: Xtransutil.c default: break; } -@@ -325,6 +328,7 @@ TRANS(GetPeerNetworkId) (XtransConnInfo ciptr) +@@ -318,6 +321,7 @@ TRANS(GetPeerNetworkId) (XtransConnInfo ciptr) char *hostname; char addrbuf[256]; const char *addr = NULL; @@ -61,7 +60,7 @@ Index: Xtransutil.c switch (family) { -@@ -400,17 +404,16 @@ TRANS(GetPeerNetworkId) (XtransConnInfo ciptr) +@@ -393,17 +397,16 @@ TRANS(GetPeerNetworkId) (XtransConnInfo ciptr) #endif /* defined(TCPCONN) */ |