diff options
author | sibel <lesibel@free.fr> | 2011-02-04 21:42:10 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-02-04 21:42:10 +0100 |
commit | bce4309f87a50d4f597610277ea407dc782c9779 (patch) | |
tree | f5dce8d1e7a206963d0960a3e960673a5242aa51 /kde/kdebase-workspace/kdebase-workspace-4.6.0-fix-MALLOC_CHECK.patch | |
parent | 0dc963fb878d9c3c48bd98d1875ce66e4b62626e (diff) | |
download | nutyx-pakxe-bce4309f87a50d4f597610277ea407dc782c9779.tar.gz nutyx-pakxe-bce4309f87a50d4f597610277ea407dc782c9779.tar.bz2 nutyx-pakxe-bce4309f87a50d4f597610277ea407dc782c9779.tar.xz nutyx-pakxe-bce4309f87a50d4f597610277ea407dc782c9779.zip |
kdebase-workspace, correction 4.6.0-5
Diffstat (limited to 'kde/kdebase-workspace/kdebase-workspace-4.6.0-fix-MALLOC_CHECK.patch')
-rw-r--r-- | kde/kdebase-workspace/kdebase-workspace-4.6.0-fix-MALLOC_CHECK.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kde/kdebase-workspace/kdebase-workspace-4.6.0-fix-MALLOC_CHECK.patch b/kde/kdebase-workspace/kdebase-workspace-4.6.0-fix-MALLOC_CHECK.patch new file mode 100644 index 000000000..a0448a8ba --- /dev/null +++ b/kde/kdebase-workspace/kdebase-workspace-4.6.0-fix-MALLOC_CHECK.patch @@ -0,0 +1,23 @@ +Index: startkde.cmake +=================================================================== +--- startkde.cmake (revision 1217283) ++++ startkde.cmake (revision 1217284) +@@ -36,18 +36,6 @@ + # we have to unset this for Darwin since it will screw up KDE's dynamic-loading + unset DYLD_FORCE_FLAT_NAMESPACE + +-# Enable lightweight memory corruption checker if not already set +-# -- this is for trunk only, we remove it for releases +-if [ "x$MALLOC_CHECK_" = "x" ] && [ -x /lib/libc.so.6 ]; then +- # Extract the first two components of the version from the output. +- 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') +- +- MALLOC_CHECK_=2 # Default to 2 unless glibc 2.9 or higher. +- test $glibc_version \> 2.08 && MALLOC_CHECK_=3 +- +- export MALLOC_CHECK_ +-fi +- + # 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 |