$OpenBSD: patch-qtdeclarative_src_3rdparty_masm_wtf_Platform_h,v 1.1.1.1 2014/12/08 20:33:41 zhuk Exp $
Use system malloc(3).
--- qtdeclarative/src/3rdparty/masm/wtf/Platform.h.ports.orig	Tue Nov 11 00:27:12 2014
+++ qtdeclarative/src/3rdparty/masm/wtf/Platform.h	Tue Nov 11 00:28:39 2014
@@ -669,7 +669,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(OPENBSD) || !OS(UNIX)
 #define USE_SYSTEM_MALLOC 1
 #endif
 #endif
