summaryrefslogtreecommitdiffstats
path: root/debian/lenny/applications/kvpnc
diff options
context:
space:
mode:
Diffstat (limited to 'debian/lenny/applications/kvpnc')
-rw-r--r--debian/lenny/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff12
-rw-r--r--debian/lenny/applications/kvpnc/debian/patches/series2
2 files changed, 7 insertions, 7 deletions
diff --git a/debian/lenny/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff b/debian/lenny/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff
index 826d4e236..0729793b7 100644
--- a/debian/lenny/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff
+++ b/debian/lenny/applications/kvpnc/debian/patches/13_add_kuser_issuperuser.diff
@@ -14,16 +14,16 @@ index 7c45fcf..b933832 100644
}
else
{
--// if (getenv("USER") != "root")
+-// if (getenv("USER") != TQString("root"))
-// {
-// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
-// exit(0);
-// }
-+ if (getenv("USER") != "root")
-+ {
-+ KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
-+ exit(0);
-+ }
++ if (getenv("USER") != TQString("root"))
++ {
++ KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
++ exit(0);
++ }
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
diff --git a/debian/lenny/applications/kvpnc/debian/patches/series b/debian/lenny/applications/kvpnc/debian/patches/series
index 09040ada9..d29c3ca91 100644
--- a/debian/lenny/applications/kvpnc/debian/patches/series
+++ b/debian/lenny/applications/kvpnc/debian/patches/series
@@ -1,2 +1,2 @@
-10_su-to-root_usage.diff
+# 10_su-to-root_usage.diff
13_add_kuser_issuperuser.diff