summaryrefslogtreecommitdiff
path: root/net-libs/webkit-gtk/files/webkit-gtk-2.4.1-ia64-malloc.patch
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2018-06-10 17:03:14 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2018-06-10 17:03:14 +0200
commit96c6434edde5fd67f535ad5d338ff85a70c0acea (patch)
tree2b58996057cb22487fc328fe58c29a524dd9a7dc /net-libs/webkit-gtk/files/webkit-gtk-2.4.1-ia64-malloc.patch
parent9b8e1ac88265c793629ecfd6f64af5a3553c2cef (diff)
downloadoverlay-96c6434edde5fd67f535ad5d338ff85a70c0acea.tar.gz
overlay-96c6434edde5fd67f535ad5d338ff85a70c0acea.tar.bz2
overlay-96c6434edde5fd67f535ad5d338ff85a70c0acea.zip
Rescued old webkit-gtk-version, needed for PP
Diffstat (limited to '')
-rw-r--r--net-libs/webkit-gtk/files/webkit-gtk-2.4.1-ia64-malloc.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-libs/webkit-gtk/files/webkit-gtk-2.4.1-ia64-malloc.patch b/net-libs/webkit-gtk/files/webkit-gtk-2.4.1-ia64-malloc.patch
new file mode 100644
index 0000000..8c387ff
--- /dev/null
+++ b/net-libs/webkit-gtk/files/webkit-gtk-2.4.1-ia64-malloc.patch
@@ -0,0 +1,20 @@
+Description: Fix wide pointer issues on ia64 (closes: #642750).
+Author: Stephan Schreiber <info@fs-driver.org>
+Index: webkitgtk/Source/WTF/wtf/Platform.h
+===================================================================
+--- webkitgtk.orig/Source/WTF/wtf/Platform.h
++++ webkitgtk/Source/WTF/wtf/Platform.h
+@@ -705,6 +705,13 @@
+ #define ENABLE_JIT 1
+ #endif
+
++/* FIXME: The fast malloc implementation is broken on Itanium / IA64 because
++ some memory barriers are missing in the thread-unsafe code around the
++ pagemap_cache_ object. */
++#if CPU(IA64) || CPU(IA64_32)
++#define USE_SYSTEM_MALLOC 1
++#endif
++
+ /* The JIT is enabled by default on all x86, x86-64, ARM & MIPS platforms except Win64. */
+ #if !defined(ENABLE_JIT) \
+ && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)) \