XSCOPE is a program to monitor the connections between the X11 window server and a client program.
Alan Coopersmith (1): xscope 1.4.3 Matthieu Herrb (1): On OpenBSD SO_PEERCRED uses struct sockpeercred Thomas Klausner (7): Remove/comment out unused variables. Match format strings with arguments. ifdef out unused static functions Use correct argument type for ctype(3) functions. Increase buffer length to avoid truncation. Add casts to fix signedness change warnings. Mark MainLoop as _X_NORETURN. ok ? Index: Makefile =================================================================== RCS file: /cvs/OpenBSD/ports/x11/xscope/Makefile,v retrieving revision 1.5 diff -u -p -u -r1.5 Makefile --- Makefile 2 May 2022 07:00:39 -0000 1.5 +++ Makefile 12 Jul 2022 19:41:05 -0000 @@ -1,5 +1,5 @@ COMMENT = X Window Protocol Viewer -DISTNAME = xscope-1.4.2 +DISTNAME = xscope-1.4.3 CATEGORIES = x11 HOMEPAGE = https://gitlab.freedesktop.org/xorg/app/xscope Index: distinfo =================================================================== RCS file: /cvs/OpenBSD/ports/x11/xscope/distinfo,v retrieving revision 1.2 diff -u -p -u -r1.2 distinfo --- distinfo 2 May 2022 07:00:39 -0000 1.2 +++ distinfo 12 Jul 2022 19:41:41 -0000 @@ -1,2 +1,2 @@ -SHA256 (xscope-1.4.2.tar.gz) = 4S1jSmnOHsNrCv0dQIFCFeJigBoDDd+D19A0jNBGs4E= -SIZE (xscope-1.4.2.tar.gz) = 280923 +SHA256 (xscope-1.4.3.tar.gz) = hvnaPPBCK1lkGRyej3kuEHV3gY3glLONsKbbzkA6m1Q= +SIZE (xscope-1.4.3.tar.gz) = 287174 Index: patches/patch-peerinfo_c =================================================================== RCS file: patches/patch-peerinfo_c diff -N patches/patch-peerinfo_c --- patches/patch-peerinfo_c 2 May 2022 07:00:39 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,15 +0,0 @@ -Index: peerinfo.c ---- peerinfo.c.orig -+++ peerinfo.c -@@ -43,7 +43,11 @@ static pid_t - GetPidFromFd(FD fd) - { - #ifdef SO_PEERCRED -+#ifndef __OpenBSD__ - struct ucred cred; -+#else -+ struct sockpeercred cred; -+#endif - socklen_t cred_len = sizeof(cred); - - if (getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cred, &cred_len) == 0 && -- Matthieu Herrb