summaryrefslogtreecommitdiffstats
path: root/kde/polkit-kde/gcc45.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde/polkit-kde/gcc45.patch')
-rw-r--r--kde/polkit-kde/gcc45.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/kde/polkit-kde/gcc45.patch b/kde/polkit-kde/gcc45.patch
new file mode 100644
index 000000000..478b1660c
--- /dev/null
+++ b/kde/polkit-kde/gcc45.patch
@@ -0,0 +1,11 @@
+--- agent/AuthDialog.cpp 2010-04-10 10:13:18.634941750 +0200
++++ agent/AuthDialog.cpp 2010-04-10 10:13:56.021565836 +0200
+@@ -169,7 +169,7 @@
+ foreach(PolkitQt1::Identity *identity, identities) {
+ // First check to see if the user is valid
+ qDebug() << "User: " << identity;
+- KUser user = KUser::KUser(identity->toString().remove("unix-user:"));
++ KUser user = KUser(identity->toString().remove("unix-user:"));
+ if (!user.isValid()) {
+ kWarning() << "User invalid: " << user.loginName();
+ continue;