summaryrefslogtreecommitdiff
path: root/x11-wm/xpra/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/xpra/files')
-rw-r--r--x11-wm/xpra/files/xpra-4.2-suid-warning.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-wm/xpra/files/xpra-4.2-suid-warning.patch b/x11-wm/xpra/files/xpra-4.2-suid-warning.patch
new file mode 100644
index 000000000000..b1b2afb4e18b
--- /dev/null
+++ b/x11-wm/xpra/files/xpra-4.2-suid-warning.patch
@@ -0,0 +1,12 @@
+diff --color -Naur a/xpra/scripts/config.py b/xpra/scripts/config.py
+--- a/xpra/scripts/config.py 2021-05-19 16:18:30.475153200 +0100
++++ b/xpra/scripts/config.py 2021-05-30 08:50:42.326953006 +0100
+@@ -159,7 +159,7 @@
+ if (xorg_stat.st_mode & stat.S_ISUID)!=0:
+ if (xorg_stat.st_mode & stat.S_IROTH)==0:
+ if warn_fn:
+- warn_fn("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
++ debug("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
+ return get_Xvfb_command()
+ debug("%s is suid and readable, using the xpra_Xdummy wrapper" % xorg_bin)
+ use_wrapper = True