summarylogtreecommitdiffstats
path: root/qt-fix-javascript-jit-on-mingw-x86_64.patch
diff options
context:
space:
mode:
authorxantares2015-06-08 23:04:10 +0200
committerxantares2015-06-08 23:04:10 +0200
commit90d23535e12dc8da1e42af4392abc87f1a579c9c (patch)
tree75623d214751ca5ba387a9dc2e912417f39160f2 /qt-fix-javascript-jit-on-mingw-x86_64.patch
downloadaur-90d23535e12dc8da1e42af4392abc87f1a579c9c.tar.gz
Initial import
Diffstat (limited to 'qt-fix-javascript-jit-on-mingw-x86_64.patch')
-rw-r--r--qt-fix-javascript-jit-on-mingw-x86_64.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/qt-fix-javascript-jit-on-mingw-x86_64.patch b/qt-fix-javascript-jit-on-mingw-x86_64.patch
new file mode 100644
index 000000000000..5171f188416c
--- /dev/null
+++ b/qt-fix-javascript-jit-on-mingw-x86_64.patch
@@ -0,0 +1,22 @@
+--- qt-everywhere-opensource-src-4.8.0/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp.orig 2012-02-08 18:42:31.512669347 +0100
++++ qt-everywhere-opensource-src-4.8.0/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp 2012-02-08 18:43:18.812512826 +0100
+@@ -68,7 +68,7 @@
+
+ namespace JSC {
+
+-#if OS(DARWIN) || OS(WINDOWS)
++#if OS(DARWIN) || (OS(WINDOWS) && CPU(X86))
+ #define SYMBOL_STRING(name) "_" #name
+ #else
+ #define SYMBOL_STRING(name) #name
+--- qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h.orig 2012-02-08 18:56:13.967325973 +0100
++++ qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h 2012-02-08 18:58:18.977552112 +0100
+@@ -1120,7 +1120,7 @@
+ /* Pick which allocator to use; we only need an executable allocator if the assembler is compiled in.
+ On x86-64 we use a single fixed mmap, on other platforms we mmap on demand. */
+ #if ENABLE(ASSEMBLER)
+-#if CPU(X86_64)
++#if CPU(X86_64) && !OS(WINDOWS)
+ #define ENABLE_EXECUTABLE_ALLOCATOR_FIXED 1
+ #else
+ #define ENABLE_EXECUTABLE_ALLOCATOR_DEMAND 1