Update x11/xscope to version 1.4.3. ok kn@

This commit is contained in:
matthieu 2022-07-13 17:31:28 +00:00
parent 5bd9e0a134
commit 78c4d662a0
3 changed files with 3 additions and 18 deletions

View File

@ -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

View File

@ -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

View File

@ -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 &&