diff options
Diffstat (limited to 'x11-libs/qt-script/files/4.8.2-javascriptcore-x32.patch')
-rw-r--r-- | x11-libs/qt-script/files/4.8.2-javascriptcore-x32.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-libs/qt-script/files/4.8.2-javascriptcore-x32.patch b/x11-libs/qt-script/files/4.8.2-javascriptcore-x32.patch new file mode 100644 index 000000000000..35a157337cf9 --- /dev/null +++ b/x11-libs/qt-script/files/4.8.2-javascriptcore-x32.patch @@ -0,0 +1,12 @@ +diff -urN qt-everywhere-opensource-src-4.8.2.orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h qt-everywhere-opensource-src-4.8.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h +--- qt-everywhere-opensource-src-4.8.2.orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2012-06-14 16:17:21.328043461 +0200 ++++ qt-everywhere-opensource-src-4.8.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2012-06-14 16:42:13.699386250 +0200 +@@ -884,7 +884,7 @@ + #endif + + #if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64) +-#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) ++#if (CPU(X86_64) && defined(__LP64__) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) + #define WTF_USE_JSVALUE64 1 + #elif CPU(ARM) || CPU(PPC64) + #define WTF_USE_JSVALUE32 1 |