0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 13:46:16 +00:00
termux-packages/x11-packages/thunderbird/0022-wayland-proxy-no-pthread-cancel.patch
2024-09-17 12:26:11 +08:00

13 lines
363 B
Diff

--- 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) {