aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-15 17:33:37 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-21 10:22:09 +0700
commitbabd926c0afb138873782a0652c4175f80cdf620 (patch)
tree8fcaa00f18bd981adf9b7c1fa19178f6c1bb8157 /desktop
parent4b8b99b88a489331a8bd7806df8aba86db4a527c (diff)
desktop/xpra: Add missing patch (derp).
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/xpra/setup_cuda_bin.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/xpra/setup_cuda_bin.diff b/desktop/xpra/setup_cuda_bin.diff
new file mode 100644
index 0000000000000..c0286e62dcaef
--- /dev/null
+++ b/desktop/xpra/setup_cuda_bin.diff
@@ -0,0 +1,13 @@
+diff -Naur xpra-4.4.3/setup.py xpra-4.4.3.patched/setup.py
+--- xpra-4.4.3/setup.py 2022-11-27 09:21:57.000000000 -0500
++++ xpra-4.4.3.patched/setup.py 2023-01-12 13:02:42.255843773 -0500
+@@ -2045,8 +2045,8 @@
+
+ nvidia_ENABLED = nvenc_ENABLED or nvfbc_ENABLED or nvjpeg_encoder_ENABLED or nvjpeg_decoder_ENABLED
+ toggle_packages(nvidia_ENABLED, "xpra.codecs.nvidia")
++CUDA_BIN = f"{share_xpra}/cuda"
+ if nvidia_ENABLED:
+- CUDA_BIN = f"{share_xpra}/cuda"
+ #find nvcc:
+ from xpra.util import sorted_nicely # pylint: disable=import-outside-toplevel
+ path_options = os.environ.get("PATH", "").split(os.path.pathsep)