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..1630df8
--- /dev/null
+++ b/debian/patches/dyson-use-system-malloc.patch
@@ -0,0 +1,15 @@
+Index: qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
+===================================================================
+--- qtscript.orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2014-04-28 11:01:55.106740703 +0400
++++ qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2014-04-28 11:52:07.408011217 +0400
+@@ -821,6 +821,10 @@
+
+ #endif
+
++#if OS(SOLARIS)
++#define USE_SYSTEM_MALLOC 1
++#endif
++
+ /* ENABLE macro defaults */
+
+ /* fastMalloc match validation allows for runtime verification that