diff options
Diffstat (limited to 'x11-wm/xpra/files/xpra-4.2.2-ldconfig.patch')
-rw-r--r-- | x11-wm/xpra/files/xpra-4.2.2-ldconfig.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-wm/xpra/files/xpra-4.2.2-ldconfig.patch b/x11-wm/xpra/files/xpra-4.2.2-ldconfig.patch new file mode 100644 index 000000000000..2cd009994c4b --- /dev/null +++ b/x11-wm/xpra/files/xpra-4.2.2-ldconfig.patch @@ -0,0 +1,22 @@ +From f97daef82521c9297f6cc2d7925fe5c6ed526ad1 Mon Sep 17 00:00:00 2001 +From: totaam <antoine@xpra.org> +Date: Sun, 22 Aug 2021 21:31:52 +0700 +Subject: [PATCH] #3239 with shell=True, best not to use a list + +--- + xpra/os_util.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/xpra/os_util.py b/xpra/os_util.py +index 2f8c0d64a..2f309f888 100644 +--- a/xpra/os_util.py ++++ b/xpra/os_util.py +@@ -786,7 +786,7 @@ def find_lib_ldconfig(libname): + ldconfig = t + break + import subprocess +- p = subprocess.Popen([ldconfig, "-p"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) ++ p = subprocess.Popen("%s -p" % ldconfig, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) + data = bytestostr(p.communicate()[0]) + + libpath = re.search(pattern, data, re.MULTILINE) #@UndefinedVariable |