summaryrefslogtreecommitdiff
path: root/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-12-14 06:13:10 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-12-14 06:13:10 +0000
commitf836caf7c119f58f2c213a24ce7e6243f363bfde (patch)
tree38f0d5b10d3418792c04e662c1508521e1f5a5fe /x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c
parentApply patch for -a option. (diff)
- better kdmrc config file handling:
* install kdmrc.dist and copy to kdmrc if it doesn't already exist. don't clobber user's custom kdmrc settings. * always install the scripts, even if the config directory exists * always generate the scripts (add --no-old) - remove rcsid from patch so it applies cleanly - bump PORTREVISION PR: 32537, 32660 Submitted by: Alan Eldridge <alane@geeksrus.net>
Diffstat (limited to 'x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c')
-rw-r--r--x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c b/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c
index 84fdeaf99ba2..6aeac3d4433e 100644
--- a/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c
+++ b/x11/kdebase4-runtime/files/patch-kdm::kfrontend::genkdmconf.c
@@ -1,5 +1,5 @@
---- kdm/kfrontend/genkdmconf.c.orig Wed Sep 5 08:15:47 2001
-+++ kdm/kfrontend/genkdmconf.c Tue Oct 23 04:04:22 2001
+--- kdm/kfrontend/genkdmconf.c.orig Mon Nov 5 21:40:03 2001
++++ kdm/kfrontend/genkdmconf.c Sun Dec 9 22:42:26 2001
@@ -212,7 +212,7 @@
*/
@@ -27,3 +27,12 @@
"-x " KDMCONF "/Xservers "
#endif
"$USER\n"
+@@ -1781,7 +1781,7 @@
+ }
+ addKdePath ("UserPath", DEF_USER_PATH);
+ addKdePath ("SystemPath", DEF_SYSTEM_PATH);
+- ASPrintf (&newkdmrc, "%s/kdmrc", newdir);
++ ASPrintf (&newkdmrc, "%s/kdmrc.dist", newdir);
+ f = Create (newkdmrc, kdmrcmode);
+ wrconf (f);
+ fclose (f);