summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-use-system-malloc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/dyson-use-system-malloc.patch')
-rw-r--r--debian/patches/dyson-use-system-malloc.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/dyson-use-system-malloc.patch b/debian/patches/dyson-use-system-malloc.patch
new file mode 100644
index 0000000..4cc3559
--- /dev/null
+++ b/debian/patches/dyson-use-system-malloc.patch
@@ -0,0 +1,15 @@
+Index: webkit/Source/WTF/wtf/Platform.h
+===================================================================
+--- webkit.orig/Source/WTF/wtf/Platform.h
++++ webkit/Source/WTF/wtf/Platform.h
+@@ -665,6 +665,10 @@
+ #define USE_SYSTEM_MALLOC 1
+ #endif
+
++#if OS(SOLARIS)
++#define USE_SYSTEM_MALLOC 1
++#endif
++
+ #if !defined(ENABLE_GLOBAL_FASTMALLOC_NEW)
+ #define ENABLE_GLOBAL_FASTMALLOC_NEW 1
+ #endif