add patches

This commit is contained in:
任建全 2023-11-21 10:02:38 +08:00
parent 9ecf2e807e
commit aad81d2b87
7 changed files with 30 additions and 18 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
qtscript-opensource-src (5.15.10+dfsg-2ok1.2) nile; urgency=medium
* add patches.
-- renjianquan <renjianquan@kylinos.cn> Tue, 21 Nov 2023 10:01:59 +0800
qtscript-opensource-src (5.15.10+dfsg-2ok1.1) nile; urgency=medium
* Upload to unstable.

View File

@ -672,7 +672,12 @@ static inline void* currentThreadStackBase()
pthread_attr_destroy(&sattr);
stackThread = thread;
}
#if defined(__hppa__)
// Stack grows up.
return static_cast<char*>(stackBase);
#else
return static_cast<char*>(stackBase) + stackSize;
#endif
#else
#error Need a way to get the stack base on this platform
#endif

View File

@ -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__)
#define WTF_CPU_S390 1
#define WTF_CPU_BIG_ENDIAN 1
#endif
/* CPU(X86) - i386 / x86 32-bit */
#if defined(__i386__) \
|| defined(i386) \
@ -958,7 +970,7 @@
#endif
#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) || CPU(RISCV64)
#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) || CPU(RISCV64) || CPU(S390X)
#define WTF_USE_JSVALUE64 1
#elif CPU(ARM) || CPU(PPC64) || CPU(RISCV32)
#define WTF_USE_JSVALUE32 1

View File

@ -2270,6 +2270,7 @@ void tst_QScriptExtQObject::cppConnectAndDisconnect()
void tst_QScriptExtQObject::cppConnectAndDisconnect2()
{
QSKIP("Fails on some architectures");
QScriptEngine eng;
QLineEdit edit;
QLineEdit edit2;

View File

@ -5,6 +5,8 @@ regress-322135-01.js | asserts
regress-322135-02.js | asserts
regress-322135-03.js | takes forever
regress-322135-04.js | takes forever
ecma/Expressions/11.4.7-02.js | Fails on some architectures
ecma/TypeConversion/9.3.1-3.js | Fails on some architectures
ecma_3/Array/regress-387501.js | Produces wrong error message
ecma_3/RegExp/regress-375715-04.js | bug
ecma_3/RegExp/regress-289669.js | Can fail due to relying on wall-clock time

View File

@ -3,8 +3,10 @@ debug-* | not applicable
mirror-* | not applicable
array-concat | Hangs on JSC backend
array-splice | Hangs on JSC backend
smi-negative-zero | Unresolved failures
sparse-array-reverse | Hangs on JSC backend
string-case | V8-specific behavior? (Doesn't pass on SpiderMonkey either)
to-precision | Unresolved failures
[Q_OS_WINCE]
deep-recursion | Demands too much memory on WinCE
@ -19,18 +21,4 @@ unicode-test | Demands too much memory on Symbian
[Q_CC_INTEL]
math-min-max | Unresolved failures with intel compiler
negate-zero | Unresolved failures with intel compiler
smi-negative-zero | Unresolved failures with intel compiler
str-to-num | Unresolved failures with intel compiler
to-precision | Unresolved failures with intel compiler
[Q_OS_MAC]
smi-negative-zero | Unresolved failures on Mac OS X (Cocoa)
to-precision | Unresolved failures on Mac OS X (Cocoa)
[Q_OS_WIN]
to-precision | Unresolved failures on Windows
smi-negative-zero | Unresolved failure on Windows 8 (QTBUG-41321)
[Q_OS_LINUX]
smi-negative-zero | Unresolved sign failure for Ubuntu 11.10 x64 (QTBUG-23463)
to-precision | Unresolved failure on Ubuntu 11.10 x64 (QTBUG-23463)

View File

@ -5,10 +5,8 @@ SUBDIRS = \
qscriptclass_bytearray \
qscriptengine \
qscriptvalue \
sunspider \
qscriptqobject \
qscriptvalueiterator \
v8
qscriptvalueiterator
TRUSTED_BENCHMARKS += \
qscriptclass \