git: 2cab7f416c83 - main - x11-servers/xwayland-devel: unbreak ssh -X like 151096d9f308

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 18 Jul 2022 19:50:40 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2cab7f416c83f8f15472ec01c75223db5f27f22e

commit 2cab7f416c83f8f15472ec01c75223db5f27f22e
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-07-18 17:41:52 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-07-18 19:47:19 +0000

    x11-servers/xwayland-devel: unbreak ssh -X like 151096d9f308
    
    $ ssh -X localhost xeyes
    Warning: untrusted X11 forwarding setup failed: xauth key data not generated
    Error: Can't open display:
    
    $ xauth generate $DISPLAY .
    xauth:  file /home/foo/.Xauthority does not exist
    xauth: (argv):1:  couldn't query Security extension on display ":0"
    
    Note, SECURITY extension uses XACE internally while more fine-grained
    SELinux extension isn't supported on FreeBSD.
    
    Inspired by:    Alpine, Arch, Fedora, openSUSE, Void
---
 x11-servers/xwayland-devel/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11-servers/xwayland-devel/Makefile b/x11-servers/xwayland-devel/Makefile
index cd25ed287a70..1c19ee8115c9 100644
--- a/x11-servers/xwayland-devel/Makefile
+++ b/x11-servers/xwayland-devel/Makefile
@@ -2,6 +2,7 @@ PORTNAME=	xwayland
 DISTVERSIONPREFIX=	xorg-server-
 DISTVERSION=	21.0.99.1-256
 DISTVERSIONSUFFIX=	-g6907b6ea2
+PORTREVISION=	1
 CATEGORIES=	x11-servers
 PKGNAMESUFFIX=	-devel
 
@@ -40,6 +41,7 @@ MESON_ARGS=	-D${PORTNAME}=true \
 		-Dxvfb=false \
 		-Dudev=false \
 		-Dudev_kms=false \
+		-Dxcsecurity=true \
 		-Ddefault_font_path="${DEFAULT_FONTPATH_LIST:ts,}"
 PLIST_FILES=	bin/Xwayland \
 		"@comment lib/xorg/protocol.txt" \