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, 14 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..7d85c5a
--- /dev/null
+++ b/debian/patches/dyson-use-system-malloc.patch
@@ -0,0 +1,14 @@
+Description: fix crash on Dyson
+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)
+ #define USE_SYSTEM_MALLOC 1
+ #endif
+ #endif