[neon/kf6/kf6-kwallet/Neon/release] debian/patches: dbus-fix.diff

Carlos De Maine null at kde.org
Fri May 16 03:03:29 BST 2025


Git commit 9db6f0b84db9e0dfc05fb70a2f5a2f7f503c5795 by Carlos De Maine.
Committed on 16/05/2025 at 02:03.
Pushed by carlosdem into branch 'Neon/release'.

dbus-fix.diff

A  +26   -0    debian/patches/dbus-fix.diff
M  +1    -0    debian/patches/series

https://invent.kde.org/neon/kf6/kf6-kwallet/-/commit/9db6f0b84db9e0dfc05fb70a2f5a2f7f503c5795

diff --git a/debian/patches/dbus-fix.diff b/debian/patches/dbus-fix.diff
new file mode 100644
index 0000000..28ca9ac
--- /dev/null
+++ b/debian/patches/dbus-fix.diff
@@ -0,0 +1,26 @@
+diff --git a/src/runtime/ksecretd/main.cpp b/src/runtime/ksecretd/main.cpp
+index df668a1dfbcaf021191df14368a18de934d48a0f..97dcf3c378a2ff59e3f807f525fbc59207b689bd 100644
+--- a/src/runtime/ksecretd/main.cpp
++++ b/src/runtime/ksecretd/main.cpp
+@@ -192,7 +192,7 @@ int main(int argc, char **argv)
+         /* Do not keep dbus-daemon waiting for the org.freedesktop.secrets if kwallet is disabled */
+         KWalletFreedesktopService(nullptr);
+ 
+-        return (0);
++        return (-1);
+     }
+ 
+     KSecretD secretd;
+diff --git a/src/runtime/kwalletd/main.cpp b/src/runtime/kwalletd/main.cpp
+index 03c9ceaf1ec9c24e728ad18778b84a492a3a729b..0682c7d52ca82a086022a5b3ed18ed5491188937 100644
+--- a/src/runtime/kwalletd/main.cpp
++++ b/src/runtime/kwalletd/main.cpp
+@@ -51,7 +51,7 @@ int main(int argc, char **argv)
+     if (!isWalletEnabled()) {
+         qCDebug(KWALLETD_LOG) << "kwallet is disabled!";
+ 
+-        return (0);
++        return (-1);
+     }
+ 
+     KDBusService dbusUniqueInstance(KDBusService::Unique);
diff --git a/debian/patches/series b/debian/patches/series
index b46ff50..6aa58b6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 blowfish_endianess.diff
+dbus-fix.diff
\ No newline at end of file


More information about the Neon-commits mailing list