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.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/debian/patches/dyson-use-system-malloc.patch b/debian/patches/dyson-use-system-malloc.patch
index 7d85c5a..d5208da 100644
--- a/debian/patches/dyson-use-system-malloc.patch
+++ b/debian/patches/dyson-use-system-malloc.patch
@@ -3,12 +3,12 @@ Index: qt5webkit/Source/WTF/wtf/Platform.h
===================================================================
--- qt5webkit.orig/Source/WTF/wtf/Platform.h
+++ qt5webkit/Source/WTF/wtf/Platform.h
-@@ -721,7 +721,7 @@
- #if PLATFORM(QT)
- /* We must not customize the global operator new and delete for the Qt port. */
- #define ENABLE_GLOBAL_FASTMALLOC_NEW 0
--#if !OS(UNIX)
-+#if !OS(UNIX) || OS(SOLARIS)
+@@ -691,7 +691,7 @@
+ /* Include feature macros */
+ #include <wtf/FeatureDefines.h>
+
+-#if OS(WINDOWS) && !PLATFORM(QT)
++#if (OS(WINDOWS) && !PLATFORM(QT)) || OS(SOLARIS)
#define USE_SYSTEM_MALLOC 1
#endif
- #endif
+