Date: Wed, 16 Jun 2021 09:00:29 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5ba4ce2f9424 - main - www/qt5-webkit: fix build on powerpc Message-ID: <202106160900.15G90THf015235@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=5ba4ce2f94246588e0f79b6a0557a7babdba3248 commit 5ba4ce2f94246588e0f79b6a0557a7babdba3248 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-06-16 09:00:12 +0000 Commit: Piotr Kubaj <pkubaj@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__) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106160900.15G90THf015235>