summaryrefslogtreecommitdiffstats
path: root/kde/kdebase-workspace/fixpath.patch
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-07-29 18:51:11 +0200
committersibel <lesibel at free dot fr>2010-07-29 18:51:11 +0200
commit222a3a19e144e34875dd263427e9a40e1e9883ec (patch)
tree28ba95cba963159346f1394dd495d3b50911516c /kde/kdebase-workspace/fixpath.patch
parent083f22ada5c522b20dc9bed706bd0da88a1b3071 (diff)
downloadnutyx-extra-222a3a19e144e34875dd263427e9a40e1e9883ec.tar.gz
nutyx-extra-222a3a19e144e34875dd263427e9a40e1e9883ec.tar.bz2
nutyx-extra-222a3a19e144e34875dd263427e9a40e1e9883ec.tar.xz
nutyx-extra-222a3a19e144e34875dd263427e9a40e1e9883ec.zip
maj de kdebase-workspace#4.4.95-1
Diffstat (limited to 'kde/kdebase-workspace/fixpath.patch')
-rw-r--r--kde/kdebase-workspace/fixpath.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/kde/kdebase-workspace/fixpath.patch b/kde/kdebase-workspace/fixpath.patch
new file mode 100644
index 000000000..be2b8383e
--- /dev/null
+++ b/kde/kdebase-workspace/fixpath.patch
@@ -0,0 +1,34 @@
+--- startkde.cmake.orig 2009-01-15 14:24:44.000000000 +0100
++++ startkde.cmake 2009-01-15 14:33:08.000000000 +0100
+@@ -34,22 +34,6 @@
+ MALLOC_CHECK_=2
+ export MALLOC_CHECK_
+
+-# in case we have been started with full pathname spec without being in PATH
+-bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'`
+-if [ -n "$bindir" ]; then
+- qbindir=`$bindir/kde4-config --qt-binaries`
+- if [ -n "$qbindir" ]; then
+- case $PATH in
+- $qbindir|$qbindir:*|*:$qbindir|*:$qbindir:*) ;;
+- *) PATH=$qbindir:$PATH; export PATH;;
+- esac
+- fi
+- case $PATH in
+- $bindir|$bindir:*|*:$bindir|*:$bindir:*) ;;
+- *) PATH=$bindir:$PATH; export PATH;;
+- esac
+-fi
+-
+ # Boot sequence:
+ #
+ # kdeinit is used to fork off processes which improves memory usage
+@@ -206,7 +190,7 @@
+ # For anything else (that doesn't set env vars, or that needs a window manager),
+ # better use the Autostart folder.
+
+-libpath=`kde4-config --path lib | tr : '\n'`
++libpath=`kde4-config --path lib | tr : '\n'`$(echo -e '\n/etc/kde/lib/')
+
+ for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; do
+ for file in "$prefix"*.sh; do