kconfigwidgets: update patches

This commit is contained in:
Thomas Tuegel 2021-03-28 06:24:52 -05:00
parent 336709abbf
commit c97fefbc6f
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59
2 changed files with 15 additions and 8 deletions

View File

@ -1,8 +1,17 @@
From 05c0eb5d803ac52c0dd97a98f6d2821650c3c14c Mon Sep 17 00:00:00 2001
From: Thomas Tuegel <ttuegel@mailbox.org>
Date: Sun, 28 Mar 2021 06:09:47 -0500
Subject: [PATCH] QDirIterator follow symlinks
---
src/khelpclient.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/khelpclient.cpp b/src/khelpclient.cpp diff --git a/src/khelpclient.cpp b/src/khelpclient.cpp
index fbbc0fa..cb78741 100644 index a053cd7..787d375 100644
--- a/src/khelpclient.cpp --- a/src/khelpclient.cpp
+++ b/src/khelpclient.cpp +++ b/src/khelpclient.cpp
@@ -48,7 +48,7 @@ void KHelpClient::invokeHelp(const QString &anchor, const QString &_appname) @@ -34,7 +34,7 @@ void KHelpClient::invokeHelp(const QString &anchor, const QString &_appname)
QString docPath; QString docPath;
const QStringList desktopDirs = QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation); const QStringList desktopDirs = QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation);
for (const QString &dir : desktopDirs) { for (const QString &dir : desktopDirs) {
@ -11,8 +20,6 @@ index fbbc0fa..cb78741 100644
while (it.hasNext()) { while (it.hasNext()) {
const QString desktopPath(it.next()); const QString desktopPath(it.next());
KDesktopFile desktopFile(desktopPath); KDesktopFile desktopFile(desktopPath);
@@ -75,4 +75,3 @@ void KHelpClient::invokeHelp(const QString &anchor, const QString &_appname) --
// launch khelpcenter, or a browser for URIs not handled by khelpcenter 2.30.1
QDesktopServices::openUrl(url);
}
-

View File

@ -9,7 +9,7 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ kguiaddons ki18n qtbase qttools ]; buildInputs = [ kguiaddons ki18n qtbase qttools ];
propagatedBuildInputs = [ kauth kcodecs kconfig kwidgetsaddons ]; propagatedBuildInputs = [ kauth kcodecs kconfig kwidgetsaddons ];
patches = [ ./0001-qdiriterator-follow-symlinks.patch ]; patches = [ ./0001-QDirIterator-follow-symlinks.patch ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
outputBin = "dev"; outputBin = "dev";
postInstall = '' postInstall = ''