From 70ca3eb8751bb2d96323bf1528e9c6ce80b0b307 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 20 Nov 2016 15:02:28 +0000 Subject: Enable clib2 memory debug mode --- .../recipes/patches/clib2/clib2.stdlib_memory.h.p | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 m68k-unknown-amigaos/recipes/patches/clib2/clib2.stdlib_memory.h.p diff --git a/m68k-unknown-amigaos/recipes/patches/clib2/clib2.stdlib_memory.h.p b/m68k-unknown-amigaos/recipes/patches/clib2/clib2.stdlib_memory.h.p new file mode 100644 index 0000000..1f61659 --- /dev/null +++ b/m68k-unknown-amigaos/recipes/patches/clib2/clib2.stdlib_memory.h.p @@ -0,0 +1,29 @@ +--- /home/chris/netsurf/toolchains/m68k-unknown-amigaos/builddir/clib2/stdlib_memory.h 2016-11-18 16:22:21.000000000 +0000 ++++ stdlib_memory.h 2016-11-20 14:56:44.477019674 +0000 +@@ -40,7 +40,7 @@ + * Uncomment this to build a library which has the memory debugging features + * enabled. + */ +-/*#define __MEM_DEBUG*/ ++#define __MEM_DEBUG + + /****************************************************************************/ + +@@ -48,7 +48,7 @@ + * Uncomment this to see reports of where and how much memory is allocated + * or released. + */ +-/*#define __MEM_DEBUG_LOG*/ ++#define __MEM_DEBUG_LOG + + /****************************************************************************/ + +@@ -56,7 +56,7 @@ + * Uncomment this to speed up memory data maintenance operations when + * the memory debugging mode is enabled. + */ +-/*#define __USE_MEM_TREES*/ ++#define __USE_MEM_TREES + + /****************************************************************************/ + -- cgit v1.2.3