aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2018-12-07 23:59:48 +0800
committerlinimon <linimon@FreeBSD.org>2018-12-07 23:59:48 +0800
commitee9ab2281bc787cd040cd4bc29dbc897e6bec801 (patch)
tree9441dd5a47cc681e562e2611ad1733dcd076be2b /www
parent93c393eee46360e8a0a24d3ddb28c8792d7d957d (diff)
downloadfreebsd-ports-gnome-ee9ab2281bc787cd040cd4bc29dbc897e6bec801.tar.gz
freebsd-ports-gnome-ee9ab2281bc787cd040cd4bc29dbc897e6bec801.tar.zst
freebsd-ports-gnome-ee9ab2281bc787cd040cd4bc29dbc897e6bec801.zip
To build on powerpc64, assembler, JIT, YARR JIT and Sampling Profiler
need to be disabled. PR: 233731 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
Diffstat (limited to 'www')
-rw-r--r--www/webkit-gtk3/files/patch-Source_WTF_wtf_Platform.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/www/webkit-gtk3/files/patch-Source_WTF_wtf_Platform.h b/www/webkit-gtk3/files/patch-Source_WTF_wtf_Platform.h
index 06247d79c582..41cf3511ac32 100644
--- a/www/webkit-gtk3/files/patch-Source_WTF_wtf_Platform.h
+++ b/www/webkit-gtk3/files/patch-Source_WTF_wtf_Platform.h
@@ -1,7 +1,25 @@
-This patch reportedly fixes build for ARM. See PR 208569
+This patch reportedly fixes build for ARM and powerpc64. See PR 208569
--- Source/WTF/wtf/Platform.h.orig 2016-04-10 06:48:36 UTC
+++ Source/WTF/wtf/Platform.h
+@@ -119,11 +119,16 @@
+
+ /* CPU(PPC64) - PowerPC 64-bit Big Endian */
+ #if ( defined(__ppc64__) \
+- || defined(__PPC64__)) \
++ || defined(__PPC64__) \
++ || defined(__powerpc64__)) \
+ && defined(__BYTE_ORDER__) \
+ && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
+ #define WTF_CPU_PPC64 1
+ #define WTF_CPU_BIG_ENDIAN 1
++#define ENABLE_ASSEMBLER 0
++#define ENABLE_JIT 0
++#define ENABLE_YARR_JIT 0
++#define ENABLE_SAMPLING_PROFILER 0
+ #endif
+
+ /* CPU(PPC64) - PowerPC 64-bit Little Endian */
@@ -218,6 +218,7 @@
#elif defined(__ARM_ARCH_6__) \
|| defined(__ARM_ARCH_6J__) \