0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-31 12:52:11 +00:00
Files
termux-packages/x11-packages/thunderbird/0031-wayland-proxy-no-pthread-cancel.patch
Robert Kirkman 2db4c261f9 fix(x11/thunderbird): prepend $TERMUX_PREFIX to some absolute paths found in nsXREDirProvider.cpp
- Like https://github.com/termux/termux-packages/pull/24719, but in `thunderbird`

- I do not know for sure whether there is actually a way to reproduce the problem in `thunderbird`, but the same code is present, so it  should be patched because even if it is currently unusued here, it could hypothetically start being used in the future by something.
2025-05-15 09:25:10 -05:00

17 lines
578 B
Diff

firefox does not need this yet because Wayland is disabled in firefox
because of an issue that does not seem reproducible in Thunderbird
https://github.com/termux/termux-packages/pull/19441#issuecomment-2000151761
--- a/third_party/wayland-proxy/wayland-proxy.cpp
+++ b/third_party/wayland-proxy/wayland-proxy.cpp
@@ -739,7 +739,9 @@
if (mThreadRunning) {
Info("thread is still running, terminating.\n");
mThreadRunning = false;
+#ifndef __TERMUX__
pthread_cancel(mThread);
+#endif
pthread_join(mThread, nullptr);
}
if (mProxyServerSocket != -1) {