1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/dmalloc/5.5.2/110-block_size.patch Sat Apr 26 21:31:05 2008 +0000
1.3 @@ -0,0 +1,32 @@
1.4 +This patch sets the page size to a default 12, that is a 4KiB block size.
1.5 +Testing for the correct block-size is impossible when cross-compiling.
1.6 +
1.7 +It was build up by Yann E. MORIN <yann.morin.1998@anciens.enib.fr> from some
1.8 +bits gathered from buildroot, which is LGPL v2.1
1.9 +License for dmalloc is:
1.10 + * Permission to use, copy, modify, and distribute this software for
1.11 + * any purpose and without fee is hereby granted, provided that the
1.12 + * above copyright notice and this permission notice appear in all
1.13 + * copies, and that the name of Gray Watson not be used in advertising
1.14 + * or publicity pertaining to distribution of the document or software
1.15 + * without specific, written prior permission.
1.16 + *
1.17 + * Gray Watson makes no representations about the suitability of the
1.18 + * software described herein for any purpose. It is provided "as is"
1.19 + * without express or implied warranty.
1.20 +
1.21 +I personnaly believe that the resulting code should therefore be
1.22 +LGPL v2.1, but don't believe me, ask your lawyers!
1.23 +
1.24 +diff -dur dmalloc-5.5.2.orig/configure dmalloc-5.5.2/configure
1.25 +--- dmalloc-5.5.2.orig/configure 2007-05-14 19:26:14.000000000 +0200
1.26 ++++ dmalloc-5.5.2/configure 2007-05-18 11:38:25.000000000 +0200
1.27 +@@ -5306,7 +5306,7 @@
1.28 +
1.29 + echo "$as_me:$LINENO: checking basic-block size" >&5
1.30 + echo $ECHO_N "checking basic-block size... $ECHO_C" >&6
1.31 +-ac_cv_page_size=0
1.32 ++ac_cv_page_size=12
1.33 + if test $ac_cv_page_size = 0; then
1.34 + if test "$cross_compiling" = yes; then
1.35 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling