diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-14 14:23:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-14 14:47:01 +0000 |
commit | 5b4b0cf8681f025b7f690669d88f2244e3ac0773 (patch) | |
tree | ef48215c2fa012e655ee6b731a7e696e92b7ec32 /community/qt5-qtscript/qtscript-opensource-src-5.5.0-s390.patch | |
parent | 8e6d806d685d7ac7b6543f0b1a91b3ca1e327ac1 (diff) | |
download | aports-5b4b0cf8681f025b7f690669d88f2244e3ac0773.tar.bz2 aports-5b4b0cf8681f025b7f690669d88f2244e3ac0773.tar.xz |
community/qt5-qt*: move from main
Diffstat (limited to 'community/qt5-qtscript/qtscript-opensource-src-5.5.0-s390.patch')
-rw-r--r-- | community/qt5-qtscript/qtscript-opensource-src-5.5.0-s390.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/qt5-qtscript/qtscript-opensource-src-5.5.0-s390.patch b/community/qt5-qtscript/qtscript-opensource-src-5.5.0-s390.patch new file mode 100644 index 0000000000..e7871f4bc4 --- /dev/null +++ b/community/qt5-qtscript/qtscript-opensource-src-5.5.0-s390.patch @@ -0,0 +1,31 @@ +diff -up qtscript-opensource-src-5.5.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.s390 qtscript-opensource-src-5.5.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h +--- qtscript-opensource-src-5.5.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.s390 2015-06-29 15:05:58.000000000 -0500 ++++ qtscript-opensource-src-5.5.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2015-07-16 09:57:18.963167137 -0500 +@@ -226,6 +226,18 @@ + #define WTF_CPU_SPARC 1 + #endif + ++/* CPU(S390X) - S390 64-bit */ ++#if defined(__s390x__) ++#define WTF_CPU_S390X 1 ++#define WTF_CPU_BIG_ENDIAN 1 ++#endif ++ ++/* CPU(S390) - S390 32-bit */ ++#if defined(__s390__) && !defined(__s390x__) ++#define WTF_CPU_S390 1 ++#define WTF_CPU_BIG_ENDIAN 1 ++#endif ++ + /* CPU(X86) - i386 / x86 32-bit */ + #if defined(__i386__) \ + || defined(i386) \ +@@ -950,7 +962,7 @@ + #if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64) + #if (CPU(X86_64) && !CPU(X32) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(MIPS64) || CPU(AARCH64) + #define WTF_USE_JSVALUE64 1 +-#elif CPU(ARM) || CPU(PPC64) ++#elif CPU(ARM) || CPU(PPC64) || CPU(S390X) + #define WTF_USE_JSVALUE32 1 + #elif OS(WINDOWS) && COMPILER(MINGW) + /* Using JSVALUE32_64 causes padding/alignement issues for JITStubArg |