git: 5ba4ce2f9424 - main - www/qt5-webkit: fix build on powerpc
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Jun 16 09:00:30 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5ba4ce2f94246588e0f79b6a0557a7babdba3248
commit 5ba4ce2f94246588e0f79b6a0557a7babdba3248
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-16 09:00:12 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-16 09:00:12 +0000
www/qt5-webkit: fix build on powerpc
/wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/Atomics.cpp:63:9: error: definition of builtin function '__sync_add_and_fetch_8'
int64_t __sync_add_and_fetch_8(int64_t volatile* addend, int64_t value)
^
/wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/Atomics.cpp:68:9: error: definition of builtin function '__sync_sub_and_fetch_8'
int64_t __sync_sub_and_fetch_8(int64_t volatile* addend, int64_t value)
---
www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h b/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h
index 326e82b5353f..ff8497b83d5f 100644
--- a/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h
+++ b/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h
@@ -31,16 +31,17 @@ Add proper architecture name:
#endif
/* CPU(PPC) - PowerPC 32-bit */
-@@ -135,6 +140,8 @@
+@@ -135,6 +141,9 @@
&& (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
#define WTF_CPU_PPC 1
#define WTF_CPU_BIG_ENDIAN 1
+#define ENABLE_JIT 0
+#define ENABLE_SAMPLING_PROFILER 0
++#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
#endif
/* CPU(SH4) - SuperH SH-4 */
-@@ -226,6 +233,7 @@
+@@ -227,6 +234,7 @@
#elif defined(__ARM_ARCH_6__) \
|| defined(__ARM_ARCH_6J__) \
|| defined(__ARM_ARCH_6K__) \
More information about the dev-commits-ports-all
mailing list