summaryrefslogtreecommitdiff
path: root/x11/kde4-runtime/files/patch-kdesu_kdesu-kdesu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde4-runtime/files/patch-kdesu_kdesu-kdesu.cpp')
-rw-r--r--x11/kde4-runtime/files/patch-kdesu_kdesu-kdesu.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11/kde4-runtime/files/patch-kdesu_kdesu-kdesu.cpp b/x11/kde4-runtime/files/patch-kdesu_kdesu-kdesu.cpp
new file mode 100644
index 000000000000..a289f1d1c74e
--- /dev/null
+++ b/x11/kde4-runtime/files/patch-kdesu_kdesu-kdesu.cpp
@@ -0,0 +1,14 @@
+--- kdesu/kdesu/kdesu.cpp 2006/04/12 13:14:22 529044
++++ kdesu/kdesu/kdesu.cpp 2007/11/13 15:10:52 736127
+@@ -113,7 +113,10 @@
+ unsetenv( "SESSION_MANAGER" );
+ KApplication app;
+ // but propagate it to the started app
+- setenv( "SESSION_MANAGER", session_manager.data(), 1 );
++ if (session_manager.data())
++ {
++ setenv( "SESSION_MANAGER", session_manager.data(), 1 );
++ }
+
+ {
+ KStartupInfoId id;