Disable threads kio_file support for now. It's totally broken on OpenBSD.
Kio has switched to threads implementation for copying (kio_copy) files. This implementation is broken under OpenBSD. Good that we can (still) disable it.
This commit is contained in:
parent
2b13e99e8d
commit
331a9eca12
|
@ -2,6 +2,7 @@
|
|||
|
||||
COMMENT = network transparent access to files and data in KDE
|
||||
DISTNAME = kio-${VERSION}
|
||||
REVISION = 0
|
||||
|
||||
SHARED_LIBS = KF5KIOCore 10.7 # 5.20
|
||||
SHARED_LIBS += KF5KIOGui 11.4 # 5.20
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
Disable threads kio_file support for now. It's totally broken on OpenBSD
|
||||
https://bugs.kde.org/show_bug.cgi?id=463796
|
||||
|
||||
Index: src/core/slave.cpp
|
||||
--- src/core/slave.cpp.orig
|
||||
+++ src/core/slave.cpp
|
||||
@@ -447,7 +447,7 @@ Slave *Slave::createSlave(const QString &protocol, con
|
||||
const auto useThreads = []() {
|
||||
return qgetenv("KIO_ENABLE_WORKER_THREADS") != "0";
|
||||
};
|
||||
- static bool bUseThreads = useThreads();
|
||||
+ static bool bUseThreads = false; // useThreads();
|
||||
|
||||
// Threads have performance benefits, but degrade robustness
|
||||
// (a worker crashing kills the app). So let's only enable the feature for kio_file, for now.
|
Loading…
Reference in New Issue