svn commit: r422019 - in head/www/webkit2-gtk3: . files

Brad Davis brd at FreeBSD.org
Tue Sep 13 15:34:29 UTC 2016


Author: brd
Date: Tue Sep 13 15:34:28 2016
New Revision: 422019
URL: https://svnweb.freebsd.org/changeset/ports/422019

Log:
  Fix build of www/webkit2-gtk3 on armv6 by matching the correct define and
  disabling the JIT compiler.
  
  PR:		207275
  Submitted by:	mikael.urankar at gmail.com
  Reported by:	sbruno
  Reviewed by:	bdrewery (implicit)
  Approved by:	maintainer timeout

Added:
  head/www/webkit2-gtk3/files/patch-Source_WTF_wtf_Platform.h   (contents, props changed)
  head/www/webkit2-gtk3/files/patch-Source_bmalloc_bmalloc_BPlatform.h   (contents, props changed)
Modified:
  head/www/webkit2-gtk3/Makefile

Modified: head/www/webkit2-gtk3/Makefile
==============================================================================
--- head/www/webkit2-gtk3/Makefile	Tue Sep 13 15:32:46 2016	(r422018)
+++ head/www/webkit2-gtk3/Makefile	Tue Sep 13 15:34:28 2016	(r422019)
@@ -55,6 +55,10 @@ DEBUG_CMAKE_OFF=	-DCMAKE_BUILD_TYPE=Rele
 
 .include <bsd.port.options.mk>
 
+.if ${ARCH} == armv6
+CMAKE_ARGS+=	-DENABLE_JIT:BOOL=OFF
+.endif
+
 .if ${ARCH} == powerpc64
 CFLAGS+=	-mminimal-toc
 .endif

Added: head/www/webkit2-gtk3/files/patch-Source_WTF_wtf_Platform.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/webkit2-gtk3/files/patch-Source_WTF_wtf_Platform.h	Tue Sep 13 15:34:28 2016	(r422019)
@@ -0,0 +1,18 @@
+--- Source/WTF/wtf/Platform.h.orig	2016-07-20 UTC
++++ Source/WTF/wtf/Platform.h
+@@ -218,6 +218,7 @@
+ #elif defined(__ARM_ARCH_6__) \
+     || defined(__ARM_ARCH_6J__) \
+     || defined(__ARM_ARCH_6K__) \
++    || defined(__ARM_ARCH_6KZ__) \
+     || defined(__ARM_ARCH_6Z__) \
+     || defined(__ARM_ARCH_6ZK__) \
+     || defined(__ARM_ARCH_6T2__) \
+@@ -264,6 +265,7 @@
+ 
+ #elif defined(__ARM_ARCH_6J__) \
+     || defined(__ARM_ARCH_6K__) \
++    || defined(__ARM_ARCH_6KZ__) \
+     || defined(__ARM_ARCH_6Z__) \
+     || defined(__ARM_ARCH_6ZK__) \
+     || defined(__ARM_ARCH_6M__)

Added: head/www/webkit2-gtk3/files/patch-Source_bmalloc_bmalloc_BPlatform.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/webkit2-gtk3/files/patch-Source_bmalloc_bmalloc_BPlatform.h	Tue Sep 13 15:34:28 2016	(r422019)
@@ -0,0 +1,10 @@
+--- Source/bmalloc/bmalloc/BPlatform.h.orig	2016-05-06 11:07:30 UTC
++++ Source/bmalloc/bmalloc/BPlatform.h
+@@ -100,6 +100,7 @@
+ #elif defined(__ARM_ARCH_6__) \
+ || defined(__ARM_ARCH_6J__) \
+ || defined(__ARM_ARCH_6K__) \
++|| defined(__ARM_ARCH_6KZ__) \
+ || defined(__ARM_ARCH_6Z__) \
+ || defined(__ARM_ARCH_6ZK__) \
+ || defined(__ARM_ARCH_6T2__) \


More information about the svn-ports-all mailing list