summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/qt-script/files/qt-script-4.6.2-alpha.patch')
-rw-r--r--x11-libs/qt-script/files/qt-script-4.6.2-alpha.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11-libs/qt-script/files/qt-script-4.6.2-alpha.patch b/x11-libs/qt-script/files/qt-script-4.6.2-alpha.patch
new file mode 100644
index 000000000000..8687c26f0c23
--- /dev/null
+++ b/x11-libs/qt-script/files/qt-script-4.6.2-alpha.patch
@@ -0,0 +1,25 @@
+diff -ur qt-everywhere-opensource-src-4.6.2.orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h qt-everywhere-opensource-src-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
+--- qt-everywhere-opensource-src-4.6.2.orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2010-04-27 18:14:28.000000000 +0200
++++ qt-everywhere-opensource-src-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2010-04-27 19:33:10.000000000 +0200
+@@ -367,6 +367,12 @@
+ #endif
+ #endif
+
++/* PLATFORM(alpha) */
++#if defined(__alpha__)
++#define WTF_PLATFORM_ALPHA 1
++#endif
++
++
+ /* PLATFORM(WINCE) && PLATFORM(QT)
+ We can not determine the endianess at compile time. For
+ Qt for Windows CE the endianess is specified in the
+@@ -720,7 +726,7 @@
+ #if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
+ #if PLATFORM(X86_64) && (PLATFORM(DARWIN) || PLATFORM(LINUX) || PLATFORM(SOLARIS) || PLATFORM(HPUX))
+ #define WTF_USE_JSVALUE64 1
+-#elif (PLATFORM(IA64) && !PLATFORM(IA64_32)) || PLATFORM(SPARC64)
++#elif (PLATFORM(IA64) && !PLATFORM(IA64_32)) || PLATFORM(SPARC64) || PLATFORM(ALPHA)
+ #define WTF_USE_JSVALUE64 1
+ #elif PLATFORM(AIX64)
+ #define WTF_USE_JSVALUE64 1 \ No newline at end of file