git.iko.soy/typeable/nixpkgs
on master help sign in
kservice: fix patch, regen
commitf2afcf370ae7f6e4989950225ec1cb40881605d7 authorWill Dietz <w@wdtz.org> dateSun 14 Apr 2019, 02:33 (8 years ago) parent2fed7f2
1 file changed+7−7
pkgs/development/libraries/kde-frameworks/kservice/qdiriterator-follow-symlinks.patch+7−7
pkgs/development/libraries/kde-frameworks/kservice/qdiriterator-follow-symlinks.patch+7−7
@@ -1,11 +1,11 @@
1−Index: kservice-5.21.0/src/sycoca/kbuildsycoca.cpp
2−===================================================================
3−--- kservice-5.21.0.orig/src/sycoca/kbuildsycoca.cpp
4−+++ kservice-5.21.0/src/sycoca/kbuildsycoca.cpp
5−@@ -203,7 +203,7 @@ bool KBuildSycoca::build()
6− QSet<QString> relFiles;
1+diff --git a/src/sycoca/kbuildsycoca.cpp b/src/sycoca/kbuildsycoca.cpp
2+index b125299..0682b90 100644
3+--- a/src/sycoca/kbuildsycoca.cpp
4++++ b/src/sycoca/kbuildsycoca.cpp
5+@@ -207,7 +207,7 @@ bool KBuildSycoca::build()
76 const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, m_resourceSubdir, QStandardPaths::LocateDirectory);
8− Q_FOREACH (const QString &dir, dirs) {
7+ qCDebug(SYCOCA) << "Looking for subdir" << m_resourceSubdir << "=>" << dirs;
8+ for (const QString &dir : dirs) {
99- QDirIterator it(dir, QDirIterator::Subdirectories);
1010+ QDirIterator it(dir, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks);
1111 while (it.hasNext()) {