summaryrefslogtreecommitdiff
path: root/wayland
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2023-06-03 14:43:51 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2023-06-03 14:43:51 +0200
commitc5caa4da8736724f3397e430844cebb2427b88f4 (patch)
treea78447806cfd312b26b6603389588cb685bcae96 /wayland
parent88d4b9eca7f325c9d451a7f7838d9b38db2ecc00 (diff)
wayland/Xwayland: update to 23.1.1
Diffstat (limited to 'wayland')
-rw-r--r--wayland/xwayland/Makefile2
-rw-r--r--wayland/xwayland/distinfo4
-rw-r--r--wayland/xwayland/patches/patch-os_access_c17
3 files changed, 20 insertions, 3 deletions
diff --git a/wayland/xwayland/Makefile b/wayland/xwayland/Makefile
index 7c99014..3efbf9d 100644
--- a/wayland/xwayland/Makefile
+++ b/wayland/xwayland/Makefile
@@ -1,6 +1,6 @@
COMMENT = the X.Org Xwayland server
-DISTNAME = xwayland-22.1.3
+DISTNAME = xwayland-23.1.1
CATEGORIES = wayland
HOMEPAGE = https://gitlab.freedesktop.org/xorg/xserver
diff --git a/wayland/xwayland/distinfo b/wayland/xwayland/distinfo
index 9415742..6eaba5f 100644
--- a/wayland/xwayland/distinfo
+++ b/wayland/xwayland/distinfo
@@ -1,2 +1,2 @@
-SHA256 (xwayland-22.1.3.tar.xz) = pxLre84yzZNN82gUtd0EaqZwiZwW/pjyr7ADV4+GocU=
-SIZE (xwayland-22.1.3.tar.xz) = 1272440
+SHA256 (xwayland-23.1.1.tar.xz) = +5Rh9cuf6l4H6RiCMRsMiLQ+iEOwF+usBeta9pqjTBU=
+SIZE (xwayland-23.1.1.tar.xz) = 1286460
diff --git a/wayland/xwayland/patches/patch-os_access_c b/wayland/xwayland/patches/patch-os_access_c
new file mode 100644
index 0000000..4666822
--- /dev/null
+++ b/wayland/xwayland/patches/patch-os_access_c
@@ -0,0 +1,17 @@
+struc ucred on OpenBSD
+
+Index: os/access.c
+--- os/access.c.orig
++++ os/access.c
+@@ -1175,7 +1175,11 @@ GetLocalClientCreds(ClientPtr client, LocalClientCredR
+ ucred_t *peercred = NULL;
+ const gid_t *gids;
+ #elif defined(SO_PEERCRED)
++#ifndef __OpenBSD__
+ struct ucred peercred;
++#else
++ struct sockpeercred peercred;
++#endif
+ socklen_t so_len = sizeof(peercred);
+ #elif defined(HAVE_GETPEEREID)
+ uid_t uid;