aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-16 09:00:12 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-16 09:00:12 +0000
commit5ba4ce2f94246588e0f79b6a0557a7babdba3248 (patch)
tree334b5d32e5ec9e95f44afe0a12e1e5f884b5089d
parent77a984113e2d7ee7af0398ec231bc397389c8b5e (diff)
downloadports-5ba4ce2f94246588e0f79b6a0557a7babdba3248.tar.gz
ports-5ba4ce2f94246588e0f79b6a0557a7babdba3248.zip
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)
-rw-r--r--www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h5
1 files 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__) \