summaryrefslogtreecommitdiffstats
path: root/redhat/kdebase/kdebase-3.5.13-startkde_ldpreload.patch
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-11-02 20:53:50 +0100
committeralbator <albator@arcadia.vtf>2011-11-02 20:53:50 +0100
commit5bfbbfbf28bf7633c91a5ef4882150961c8ed71b (patch)
treecce7833412a5d166654b997a4512daa001f3e62f /redhat/kdebase/kdebase-3.5.13-startkde_ldpreload.patch
parenta8666cac95adf2d6155856d9a7abeab2afdc2602 (diff)
downloadtde-packaging-5bfbbfbf28bf7633c91a5ef4882150961c8ed71b.tar.gz
tde-packaging-5bfbbfbf28bf7633c91a5ef4882150961c8ed71b.zip
Fedora/RHEL: updates TDE 3.5.13 'startkde' script
Diffstat (limited to 'redhat/kdebase/kdebase-3.5.13-startkde_ldpreload.patch')
-rw-r--r--redhat/kdebase/kdebase-3.5.13-startkde_ldpreload.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/redhat/kdebase/kdebase-3.5.13-startkde_ldpreload.patch b/redhat/kdebase/kdebase-3.5.13-startkde_ldpreload.patch
new file mode 100644
index 000000000..1b39a59ff
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-startkde_ldpreload.patch
@@ -0,0 +1,13 @@
+--- kdebase/startkde.ORI 2011-11-01 22:17:52.000000000 +0100
++++ kdebase/startkde 2011-11-01 22:18:14.000000000 +0100
+@@ -413,7 +413,9 @@
+ fi
+
+ if [ -n $KGTK_PRELOAD ]; then
+- if [ -e /usr/lib/libnspr4.so ]; then
++ if [ -e /usr/lib64/libnspr4.so ]; then
++ KGTK_NSPR_PRELOAD="/usr/lib64/libnspr4.so:"
++ elif [ -e /usr/lib/libnspr4.so ]; then
+ KGTK_NSPR_PRELOAD="/usr/lib/libnspr4.so:"
+ fi
+ export LD_PRELOAD=$KGTK_PRELOAD:$KGTK_NSPR_PRELOAD$LD_PRELOAD