mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
www/qt5-webkit: fix build on powerpc
Same changes as those done for powerpc64 are necessary. Additionally, uc_mcontext.uc_regs doesn't exist on FreeBSD. PR: 246146 Approved by: tcberner (maintainer)
This commit is contained in:
parent
e31edea29c
commit
800cb3d5e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535496
@ -1,11 +1,14 @@
|
||||
--- CMakeLists.txt.orig 2018-10-14 18:01:08 UTC
|
||||
--- CMakeLists.txt.orig 2020-03-04 17:16:37 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -73,6 +73,8 @@ elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc"
|
||||
@@ -73,7 +73,11 @@ elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3
|
||||
set(WTF_CPU_X86 1)
|
||||
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc")
|
||||
set(WTF_CPU_PPC 1)
|
||||
+elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "powerpc")
|
||||
+ set(WTF_CPU_PPC 1)
|
||||
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64")
|
||||
set(WTF_CPU_PPC64 1)
|
||||
+elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "powerpc64")
|
||||
+ set(WTF_CPU_PPC64 1)
|
||||
+elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "powerpc64")
|
||||
set(WTF_CPU_PPC64 1)
|
||||
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le")
|
||||
set(WTF_CPU_PPC64LE 1)
|
||||
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "parisc*")
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- Source/JavaScriptCore/heap/MachineStackMarker.cpp.orig 2020-05-03 17:05:08 UTC
|
||||
+++ Source/JavaScriptCore/heap/MachineStackMarker.cpp
|
||||
@@ -86,7 +86,7 @@ static void pthreadSignalHandlerSuspendResume(int, sig
|
||||
}
|
||||
|
||||
ucontext_t* userContext = static_cast<ucontext_t*>(ucontext);
|
||||
-#if CPU(PPC)
|
||||
+#if CPU(PPC) && defined(WTF_OS_LINUX)
|
||||
thread->suspendedMachineContext = *userContext->uc_mcontext.uc_regs;
|
||||
#else
|
||||
thread->suspendedMachineContext = userContext->uc_mcontext;
|
@ -4,7 +4,7 @@ See PR 222612
|
||||
Add proper architecture name:
|
||||
https://gcc.gnu.org/ml/gcc-patches/2015-06/msg01679.html
|
||||
|
||||
--- Source/WTF/wtf/Platform.h.orig 2017-06-04 20:16:06 UTC
|
||||
--- Source/WTF/wtf/Platform.h.orig 2020-03-04 17:16:37 UTC
|
||||
+++ Source/WTF/wtf/Platform.h
|
||||
@@ -105,11 +105,15 @@
|
||||
|
||||
@ -23,7 +23,17 @@ Add proper architecture name:
|
||||
#endif
|
||||
|
||||
/* CPU(PPC64) - PowerPC 64-bit Little Endian */
|
||||
@@ -226,6 +230,7 @@
|
||||
@@ -135,6 +139,9 @@
|
||||
&& (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
|
||||
#define WTF_CPU_PPC 1
|
||||
#define WTF_CPU_BIG_ENDIAN 1
|
||||
+#define ENABLE_ASSEMBLER 0
|
||||
+#define ENABLE_JIT 0
|
||||
+#define ENABLE_SAMPLING_PROFILER 0
|
||||
#endif
|
||||
|
||||
/* CPU(SH4) - SuperH SH-4 */
|
||||
@@ -226,6 +233,7 @@
|
||||
#elif defined(__ARM_ARCH_6__) \
|
||||
|| defined(__ARM_ARCH_6J__) \
|
||||
|| defined(__ARM_ARCH_6K__) \
|
||||
@ -31,7 +41,7 @@ Add proper architecture name:
|
||||
|| defined(__ARM_ARCH_6Z__) \
|
||||
|| defined(__ARM_ARCH_6ZK__) \
|
||||
|| defined(__ARM_ARCH_6T2__) \
|
||||
@@ -272,6 +277,7 @@
|
||||
@@ -273,6 +281,7 @@
|
||||
|
||||
#elif defined(__ARM_ARCH_6J__) \
|
||||
|| defined(__ARM_ARCH_6K__) \
|
||||
|
Loading…
Reference in New Issue
Block a user