diff options
author | lofi <lofi@FreeBSD.org> | 2004-09-24 14:40:28 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-09-24 14:40:28 +0800 |
commit | 8ec2e14d51b6cbde0179332952bf05d8758064de (patch) | |
tree | 778862f9ee37afb128be33d6d10f80bc38f878ed /x11/kdebase4 | |
parent | 583c28cf62bffc4d7775752c10731c5be571edba (diff) | |
download | freebsd-ports-gnome-8ec2e14d51b6cbde0179332952bf05d8758064de.tar.gz freebsd-ports-gnome-8ec2e14d51b6cbde0179332952bf05d8758064de.tar.zst freebsd-ports-gnome-8ec2e14d51b6cbde0179332952bf05d8758064de.zip |
Fix bug in the default genkdmconf template - kdm would try and parse
fortune output from .cshrc and sometimes fail to login due to it.
Fix bug with kxkb not detecting installed keyboard layouts on xorg.
Approved by: portmgr
Obtained from: KDE CVS
Diffstat (limited to 'x11/kdebase4')
-rw-r--r-- | x11/kdebase4/Makefile | 2 | ||||
-rw-r--r-- | x11/kdebase4/files/patch-kdm-kfrontend-genkdmconf.c | 19 | ||||
-rw-r--r-- | x11/kdebase4/files/patch-kxkb_rules.cpp | 11 |
3 files changed, 26 insertions, 6 deletions
diff --git a/x11/kdebase4/Makefile b/x11/kdebase4/Makefile index 7fea43c25020..a4646381ab3f 100644 --- a/x11/kdebase4/Makefile +++ b/x11/kdebase4/Makefile @@ -8,7 +8,7 @@ PORTNAME= kdebase PORTVERSION= ${KDE_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src diff --git a/x11/kdebase4/files/patch-kdm-kfrontend-genkdmconf.c b/x11/kdebase4/files/patch-kdm-kfrontend-genkdmconf.c index e184ce64e922..503d7448e5fe 100644 --- a/x11/kdebase4/files/patch-kdm-kfrontend-genkdmconf.c +++ b/x11/kdebase4/files/patch-kdm-kfrontend-genkdmconf.c @@ -1,6 +1,6 @@ ---- kdm/kfrontend/genkdmconf.c.orig Wed Jun 26 12:37:51 2002 -+++ kdm/kfrontend/genkdmconf.c Wed Jun 26 12:39:42 2002 -@@ -402,7 +402,7 @@ +--- kdm/kfrontend/genkdmconf.c.orig Thu Aug 5 20:57:04 2004 ++++ kdm/kfrontend/genkdmconf.c Wed Sep 15 18:18:11 2004 +@@ -578,7 +578,7 @@ "# by Xsetup usually.\n" "# This is not required if you use PAM with the pam_console module.\n" "#\n" @@ -8,8 +8,8 @@ +"chown $USER /dev/console\n" "\n" #ifdef _AIX - "# We create a pseudodevice for finger. (host:0 becomes kdm/host_0)\n" -@@ -443,8 +443,8 @@ + "# We create a pseudodevice for finger. (host:0 becomes xdm/host_0)\n" +@@ -619,8 +619,8 @@ "# Reassign ownership of the console to root, this should disallow\n" "# assignment of console output to any random users's xterm. See Xstartup.\n" "#\n" @@ -20,3 +20,12 @@ "\n" #ifdef _AIX "if [ -f /usr/lib/X11/xdm/sessreg ]; then\n" +@@ -668,7 +668,7 @@ + " # [t]cshrc is always sourced automatically.\n" + " # Note that sourcing csh.login after .cshrc is non-standard.\n" + " set -a\n" +-" eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c set | egrep -v \"^(BASH_VERSINFO|EUID|PPID|UID|_)=\"'`\n" ++" eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login > /dev/null; if (-f ~/.login) source ~/.login > /dev/null; /bin/sh -c set | egrep -v \"^(BASH_VERSINFO|EUID|PPID|UID|GROUPS|SHELLOPTS|_)=\"'`\n" + " set +a\n" + " ;;\n" + " *) # Plain sh, ksh, and anything we don't know.\n" diff --git a/x11/kdebase4/files/patch-kxkb_rules.cpp b/x11/kdebase4/files/patch-kxkb_rules.cpp new file mode 100644 index 000000000000..d210eaf73139 --- /dev/null +++ b/x11/kdebase4/files/patch-kxkb_rules.cpp @@ -0,0 +1,11 @@ +--- kxkb/rules.cpp 2004/06/28 14:19:03 1.38 ++++ kxkb/rules.cpp 2004/08/29 19:05:04 1.39 +@@ -17,7 +17,7 @@ + #include "rules.h" + + const char* X11DirList[2] = {"/usr/X11R6/lib/X11/", "/usr/local/X11R6/lib/X11/"}; +-const char* rulesFileList[2] = {"xkb/rules/xfree86", "xkb/rules/xorg"}; ++const char* rulesFileList[2] = {"xkb/rules/xorg", "xkb/rules/xfree86"}; + + KeyRules::KeyRules(): + m_layouts(90) |