Changeset View
Changeset View
Standalone View
Standalone View
x11/xpra/files/patch-scripts_xpra__launcher
# preload the correct libgcc_s.so for libgfortran.so, | # preload the correct libgcc_s.so for libgfortran.so, | ||||
# which is required for numpy | # which is required for numpy | ||||
# | # | ||||
--- scripts/xpra_launcher.orig 2016-12-06 10:56:26 UTC | --- scripts/xpra_launcher.orig 2017-03-17 07:24:27 UTC | ||||
+++ scripts/xpra_launcher | +++ scripts/xpra_launcher | ||||
@@ -1,5 +1,8 @@ | @@ -1,5 +1,8 @@ | ||||
#!/usr/bin/env python | #!/usr/bin/env python | ||||
+from ctypes import cdll | +from ctypes import cdll | ||||
+cdll.LoadLibrary("%%GCC_RUNTIME%%/libgcc_s.so") | +cdll.LoadLibrary("%%GCC_RUNTIME%%/libgcc_s.so") | ||||
+ | + | ||||
import sys | import sys | ||||
from xpra.platform import program_context | from xpra.platform import program_context | ||||