summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-solaris-use-system-malloc.patch
blob: 8eb594b2eebe1d28375274f7df1e782bc5983aae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: otherwise we crash
Index: qt4-x11/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h
===================================================================
--- qt4-x11.orig/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h	2014-04-29 17:33:00.728319789 +0400
+++ qt4-x11/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h	2014-04-29 17:33:06.418155206 +0400
@@ -882,6 +882,10 @@
 #endif
 #endif
 
+#if OS(SOLARIS)
+#define USE_SYSTEM_MALLOC 1
+#endif
+
 /* fastMalloc match validation allows for runtime verification that
    new is matched by delete, fastMalloc is matched by fastFree, etc. */
 #if !defined(ENABLE_FAST_MALLOC_MATCH_VALIDATION)
Index: qt4-x11/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
===================================================================
--- qt4-x11.orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h	2014-04-29 17:33:04.278454232 +0400
+++ qt4-x11/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h	2014-04-29 17:33:31.751663516 +0400
@@ -741,6 +741,10 @@
 #define HAVE_TIMEGM 1
 #endif
 
+#if OS(SOLARIS)
+#define USE_SYSTEM_MALLOC 1
+#endif
+
 #if OS(DARWIN)
 
 #define HAVE_ERRNO_H 1