Files
pkgsrc-ng/www/webkit-gtk/patches/patch-Source_WTF_wtf_Platform.h
2016-01-21 23:42:40 +01:00

17 lines
486 B
C

$NetBSD: patch-Source_WTF_wtf_Platform.h,v 1.6 2015/07/14 00:02:34 khorben Exp $
--- Source/WTF/wtf/Platform.h.orig 2015-03-23 08:08:04.000000000 +0000
+++ Source/WTF/wtf/Platform.h
@@ -632,6 +632,11 @@
#define USE_SYSTEM_MALLOC 1
#endif
+/* Workaround an alignment issue with fastMalloc on NetBSD/arm */
+#if OS(NETBSD) && CPU(ARM)
+#define USE_SYSTEM_MALLOC 1
+#endif
+
#define ENABLE_DEBUG_WITH_BREAKPOINT 0
#define ENABLE_SAMPLING_COUNTERS 0
#define ENABLE_SAMPLING_FLAGS 0