summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2010-05-22 09:31:49 +0000
committerRaúl Porcel <armin76@gentoo.org>2010-05-22 09:31:49 +0000
commitf0704f9b58dfa4f318cd0491db61d3f018b5b112 (patch)
tree609c7a377cb85986ded149a08b6c1abf41cbead0 /x11-libs/qt-script/files/qt-script-4.6.2-alpha.patch
parentAdd a patch to compile on alpha wrt #318975 (diff)
downloadhistorical-f0704f9b58dfa4f318cd0491db61d3f018b5b112.tar.gz
historical-f0704f9b58dfa4f318cd0491db61d3f018b5b112.tar.bz2
historical-f0704f9b58dfa4f318cd0491db61d3f018b5b112.zip
Add a patch to compile on alpha wrt #318975
Package-Manager: portage-2.1.8.3/cvs/Linux ia64
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