aboutsummaryrefslogtreecommitdiff
path: root/x11/kde4-baseapps/files/patch-dm.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde4-baseapps/files/patch-dm.c')
-rw-r--r--x11/kde4-baseapps/files/patch-dm.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/kde4-baseapps/files/patch-dm.c b/x11/kde4-baseapps/files/patch-dm.c
new file mode 100644
index 000000000000..3004d8e5f91a
--- /dev/null
+++ b/x11/kde4-baseapps/files/patch-dm.c
@@ -0,0 +1,19 @@
+--- ./kdm/backend/dm.c.orig Sun Mar 24 12:31:09 2002
++++ ./kdm/backend/dm.c Thu Apr 18 20:53:44 2002
+@@ -236,7 +236,6 @@
+ else
+ break;
+ }
+- InitErrorLog (errorLogFile);
+
+ /*
+ * Only allow root to run in non-debug mode to avoid problems
+@@ -246,6 +245,8 @@
+ fprintf (stderr, "Only root wants to run %s\n", prog);
+ exit (1);
+ }
++
++ InitErrorLog (errorLogFile);
+
+ /*
+ * Step 1 - load configuration parameters