diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-16 16:18:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-16 16:18:18 +0000 |
commit | 0704956f7256f1f618cc5e03af2c1dbd0e83dbc5 (patch) | |
tree | 881671532c0c3c82ebd4523b6d6cbc8ace982aae /x11-wm/xpra/files | |
parent | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (diff) |
gentoo resync : 16.01.2020
Diffstat (limited to 'x11-wm/xpra/files')
-rw-r--r-- | x11-wm/xpra/files/xpra-3.0.2-ldconfig.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/x11-wm/xpra/files/xpra-3.0.2-ldconfig.patch b/x11-wm/xpra/files/xpra-3.0.2-ldconfig.patch new file mode 100644 index 000000000000..8475d47b8b3c --- /dev/null +++ b/x11-wm/xpra/files/xpra-3.0.2-ldconfig.patch @@ -0,0 +1,33 @@ +diff -ruN xpra-3.0.2.orig/xpra/x11/fakeXinerama.py xpra-3.0.2/xpra/x11/fakeXinerama.py +--- xpra-3.0.2.orig/xpra/x11/fakeXinerama.py 2019-09-24 15:54:02.000000000 +0200 ++++ xpra-3.0.2/xpra/x11/fakeXinerama.py 2020-01-16 12:20:22.620519078 +0100 +@@ -23,29 +23,6 @@ + + def find_libfakeXinerama(): + libname = "fakeXinerama" +- try: +- from ctypes.util import find_library +- flibname = find_library("fakeXinerama") +- if flibname: +- libname = flibname +- except Exception: +- pass +- if POSIX: +- for lib_dir in os.environ.get("LD_LIBRARY_PATH", "/usr/lib").split(os.pathsep): +- lib_path = os.path.join(lib_dir, libname) +- if not os.path.exists(lib_dir): +- continue +- if os.path.exists(lib_path) and os.path.isfile(lib_path): +- return lib_path +- if LINUX: +- try: +- libpath = find_lib_ldconfig("fakeXinerama") +- if libpath: +- return libpath +- except Exception as e: +- log("find_libfakeXinerama()", exc_info=True) +- log.error("Error: cannot launch ldconfig -p to locate libfakeXinerama:") +- log.error(" %s", e) + return find_lib(libname) + + current_xinerama_config = None |