Hi, This updates xscope to version 1.4.2. Patch has been submitted upstreams: https://gitlab.freedesktop.org/xorg/app/xscope/-/merge_requests/6
ok? Index: Makefile =================================================================== RCS file: /cvs/OpenBSD/ports/x11/xscope/Makefile,v retrieving revision 1.4 diff -u -p -u -r1.4 Makefile --- Makefile 11 Mar 2022 20:18:09 -0000 1.4 +++ Makefile 1 May 2022 16:47:28 -0000 @@ -1,5 +1,5 @@ COMMENT = X Window Protocol Viewer -DISTNAME = xscope-1.4.1 +DISTNAME = xscope-1.4.2 CATEGORIES = x11 HOMEPAGE = http://wiki.X.Org/ Index: distinfo =================================================================== RCS file: /cvs/OpenBSD/ports/x11/xscope/distinfo,v retrieving revision 1.1.1.1 diff -u -p -u -r1.1.1.1 distinfo --- distinfo 13 Jul 2014 08:19:53 -0000 1.1.1.1 +++ distinfo 1 May 2022 16:47:47 -0000 @@ -1,2 +1,2 @@ -SHA256 (xscope-1.4.1.tar.gz) = +ZVYpk6CjNLDUgke02KtLvQrHFXvXAHL94K+lzW7beM= -SIZE (xscope-1.4.1.tar.gz) = 278083 +SHA256 (xscope-1.4.2.tar.gz) = 4S1jSmnOHsNrCv0dQIFCFeJigBoDDd+D19A0jNBGs4E= +SIZE (xscope-1.4.2.tar.gz) = 280923 Index: patches/patch-peerinfo_c =================================================================== RCS file: patches/patch-peerinfo_c diff -N patches/patch-peerinfo_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-peerinfo_c 1 May 2022 16:58:51 -0000 @@ -0,0 +1,15 @@ +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