Accepting request 225299 from KDE:Qt5
- Add libqt5-qtscript-s390-support.patch * add s390(x) support OBS-URL: https://build.opensuse.org/request/show/225299 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtscript?expand=0&rev=9
This commit is contained in:
parent
fed8b1f320
commit
2198d8a01f
30
libqt5-qtscript-s390-support.patch
Normal file
30
libqt5-qtscript-s390-support.patch
Normal file
@ -0,0 +1,30 @@
|
||||
--- qtscript-opensource-src-5.2.1.orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
|
||||
+++ qtscript-opensource-src-5.2.1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
|
||||
@@ -195,6 +195,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) \
|
||||
@@ -912,7 +924,7 @@
|
||||
#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) || 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
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 7 11:02:57 UTC 2014 - mlin@suse.com
|
||||
|
||||
- Add libqt5-qtscript-s390-support.patch
|
||||
* add s390(x) support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 11:23:04 UTC 2014 - mlin@suse.com
|
||||
|
||||
|
@ -40,6 +40,8 @@ Source: %{tar_version}.tar.xz
|
||||
Patch1: ppc64le-support.patch
|
||||
# PATCH-FIX-UPSTREAM aarch64-support.patch -- add support for aarch64
|
||||
Patch2: aarch64-support.patch
|
||||
# PATCH-FIX-UPSTREAM libqt5-qtscript-s390-support.patch -- adds s390, taken from webkit upstream
|
||||
Patch3: libqt5-qtscript-s390-support.patch
|
||||
BuildRequires: libQt5Core-private-headers-devel >= %{version}
|
||||
BuildRequires: libQt5Widgets-private-headers-devel >= %{version}
|
||||
BuildRequires: pkgconfig(Qt5DBus) >= %{version}
|
||||
@ -67,6 +69,7 @@ handling.
|
||||
%endif
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%package -n %libname
|
||||
Summary: Qt 5 QtScript Library
|
||||
|
Loading…
x
Reference in New Issue
Block a user