sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-18 23:08:50 +00:00
parent a0fe1892c0
commit a526e24d56
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
276 changed files with 5668 additions and 3169 deletions

View file

@ -2,6 +2,7 @@
COMMENT = network transparent access to files and data in KDE
DISTNAME = kio-${VERSION}
REVISION = 0
SHARED_LIBS = KF5KIOCore 11.0 # 5.20
SHARED_LIBS += KF5KIOGui 12.1 # 5.20

View file

@ -0,0 +1,14 @@
https://invent.kde.org/frameworks/kio/-/commit/48322f44323a1fc09305d66d9093fe6c3780709e
Index: src/ioslaves/file/file_unix.cpp
--- src/ioslaves/file/file_unix.cpp.orig
+++ src/ioslaves/file/file_unix.cpp
@@ -328,6 +328,9 @@ inline static time_t stat_mtime(const QT_STATBUF &buf)
static bool isOnCifsMount(const QString &filePath)
{
const auto mount = KMountPoint::currentMountPoints().findByPath(filePath);
+ if (!mount) {
+ return false;
+ }
return mount->mountType() == QStringLiteral("cifs") || mount->mountType() == QStringLiteral("smb3");
}