Group :: System/Libraries
RPM: qt5-script
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: alt-loongarch64.patch
Download
Download
diff '--exclude=QtScriptToolsDepends' '--exclude=*.sh' '--exclude=*.la' '--exclude=*.pri' '--exclude=*.pc' '--exclude=*.cmake' '--exclude=*.version' '--exclude=*.version.in' '--exclude=*.qdoc' '--exclude=*.so.*' '--exclude=*.so' '--exclude=doc' '--exclude=Makefile' '--exclude=*.prl' '--exclude=*.moc' '--exclude=*.o' '--exclude=qrc_*.cpp' '--exclude=*.prl' -Nru qtscript-everywhere-src-5.15.9.orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h qtscript-everywhere-src-5.15.9/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
--- qtscript-everywhere-src-5.15.9.orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2023-04-28 08:15:34.000000000 +0000
+++ qtscript-everywhere-src-5.15.9/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2023-07-07 11:31:18.542330759 +0000
@@ -375,6 +375,10 @@
#endif /* ARM */
+#if defined(__loongarch64)
+#define WTF_CPU_LOONGARCH64 1
+#endif
+
#if (defined(mips) || defined(__mips__) || defined(MIPS) || defined(_MIPS_))
#define WTF_CPU_MIPS 1
#include <sgidefs.h>
@@ -958,7 +962,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(LOONGARCH64)
#define WTF_USE_JSVALUE64 1
#elif CPU(ARM) || CPU(PPC64) || CPU(RISCV32)
#define WTF_USE_JSVALUE32 1