]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - qt/patches/qt-everywhere-opensource-src-4.7.0-beta1-s390x.patch
Change file layout of the makefiles.
[people/stevee/ipfire-3.x.git] / qt / patches / qt-everywhere-opensource-src-4.7.0-beta1-s390x.patch
1 diff -up qt-everywhere-opensource-src-4.7.0-beta1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.s390x qt-everywhere-opensource-src-4.7.0-beta1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
2 --- qt-everywhere-opensource-src-4.7.0-beta1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.s390x 2010-06-16 13:54:50.000000000 +0200
3 +++ qt-everywhere-opensource-src-4.7.0-beta1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2010-06-16 13:53:43.000000000 +0200
4 @@ -179,6 +179,18 @@
5 #define WTF_CPU_SPARC 1
6 #endif
7
8 +/* CPU(S390X) - S390 64-bit */
9 +#if defined(__s390x__)
10 +#define WTF_CPU_S390X 1
11 +#define WTF_CPU_BIG_ENDIAN 1
12 +#endif
13 +
14 +/* CPU(S390) - S390 32-bit */
15 +#if defined(__s390__)
16 +#define WTF_CPU_S390 1
17 +#define WTF_CPU_BIG_ENDIAN 1
18 +#endif
19 +
20 /* CPU(X86) - i386 / x86 32-bit */
21 #if defined(__i386__) \
22 || defined(i386) \
23 @@ -860,7 +872,7 @@
24 #endif
25
26 #if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
27 -#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64)
28 +#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(S390X)
29 #define WTF_USE_JSVALUE64 1
30 #elif CPU(ARM) || CPU(PPC64)
31 #define WTF_USE_JSVALUE32 1
32 diff -up qt-everywhere-opensource-src-4.7.0-beta1/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h.s390x qt-everywhere-opensource-src-4.7.0-beta1/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h
33 --- qt-everywhere-opensource-src-4.7.0-beta1/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h.s390x 2010-06-16 13:49:00.000000000 +0200
34 +++ qt-everywhere-opensource-src-4.7.0-beta1/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h 2010-06-16 13:50:01.000000000 +0200
35 @@ -169,6 +169,18 @@
36 #define WTF_CPU_SPARC 1
37 #endif
38
39 +/* CPU(S390X) - S390 64-bit */
40 +#if defined(__s390x__)
41 +#define WTF_CPU_S390X 1
42 +#define WTF_CPU_BIG_ENDIAN 1
43 +#endif
44 +
45 +/* CPU(S390) - S390 32-bit */
46 +#if defined(__s390__)
47 +#define WTF_CPU_S390 1
48 +#define WTF_CPU_BIG_ENDIAN 1
49 +#endif
50 +
51 /* CPU(X86) - i386 / x86 32-bit */
52 #if defined(__i386__) \
53 || defined(i386) \
54 @@ -874,6 +886,7 @@
55 #if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS))) \
56 || (CPU(IA64) && !CPU(IA64_32)) \
57 || CPU(ALPHA) \
58 + || CPU(S390X) \
59 || CPU(SPARC64)
60 #define WTF_USE_JSVALUE64 1
61 #elif CPU(ARM) || CPU(PPC64) || CPU(MIPS)