1 --- kdebase-workspace-4.5.0/startkde.cmake~ 2010-03-10 11:42:55.000000000 +0100
2 +++ kdebase-workspace-4.5.0/startkde.cmake 2010-08-11 18:25:44.948421473 +0200
4 # we have to unset this for Darwin since it will screw up KDE's dynamic-loading
5 unset DYLD_FORCE_FLAT_NAMESPACE
7 -# Enable lightweight memory corruption checker if not already set
8 -# -- this is for trunk only, we remove it for releases
9 -if [ "x$MALLOC_CHECK_" = "x" ] && [ -x /lib/libc.so.6 ]; then
10 - # Extract the first two components of the version from the output.
11 - glibc_version=$(LC_ALL=C /lib/libc.so.6 | sed -e 's/[^0-9]*\([0-9]\.[0-9]\+\).*/\1/;s/\.\([0-9]\)$/.0\1/;q')
13 - MALLOC_CHECK_=2 # Default to 2 unless glibc 2.9 or higher.
14 - test $glibc_version \> 2.08 && MALLOC_CHECK_=3
16 - export MALLOC_CHECK_
19 # in case we have been started with full pathname spec without being in PATH
20 bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'`
21 if [ -n "$bindir" ]; then