From 82804298ad5587721628bbd1030248d0733a4359 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Tue, 4 Oct 2022 20:55:37 +0200 Subject: gnu: libksysguard: Apply patch. * gnu/packages/kde-plasma.scm (libksysguard)[source]: Apply patch. * gnu/local.mk: Add patch. * gnu/packages/patches/libksysguard-qdiriterator-follow-symlinks.patch: New file. Signed-off-by: Marius Bakke --- ...libksysguard-qdiriterator-follow-symlinks.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 gnu/packages/patches/libksysguard-qdiriterator-follow-symlinks.patch (limited to 'gnu/packages/patches') diff --git a/gnu/packages/patches/libksysguard-qdiriterator-follow-symlinks.patch b/gnu/packages/patches/libksysguard-qdiriterator-follow-symlinks.patch new file mode 100644 index 0000000000..ec4a34037d --- /dev/null +++ b/gnu/packages/patches/libksysguard-qdiriterator-follow-symlinks.patch @@ -0,0 +1,24 @@ +From 46164a50de4102d02ae9d1d480acdd4b12303db8 Mon Sep 17 00:00:00 2001 +From: Thomas Tuegel +Date: Wed, 14 Oct 2015 07:07:22 -0500 +Subject: [PATCH] qdiriterator follow symlinks + +--- + processui/scripting.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/processui/scripting.cpp b/processui/scripting.cpp +index efed8ff..841761a 100644 +--- a/processui/scripting.cpp ++++ b/processui/scripting.cpp +@@ -293,7 +293,7 @@ void Scripting::loadContextMenu() + const QStringList dirs = + QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("ksysguard/scripts/"), QStandardPaths::LocateDirectory); + for (const QString &dir : dirs) { +- QDirIterator it(dir, QStringList() << QStringLiteral("*.desktop"), QDir::NoFilter, QDirIterator::Subdirectories); ++ QDirIterator it(dir, QStringList() << QStringLiteral("*.desktop"), QDir::NoFilter, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks); + while (it.hasNext()) { + scripts.append(it.next()); + } +-- +2.5.2 -- cgit v1.2.3