svn commit: r440353 - head/www/webkit-gtk3/files

Jan Beich jbeich at FreeBSD.org
Sun May 7 18:38:50 UTC 2017


Author: jbeich
Date: Sun May  7 18:38:48 2017
New Revision: 440353
URL: https://svnweb.freebsd.org/changeset/ports/440353

Log:
  www/webkit-gtk3: unbreak on armv6
  
  In file included from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:26:
  In file included from ./Source/JavaScriptCore/config.h:30:
  ./Source/WTF/wtf/Platform.h:308:6: error: "Not supported ARM architecture"
  #    error "Not supported ARM architecture"
       ^
  <inline asm>:149:16: error: invalid operand for instruction
  vmov.u32 r2, r3, s8, s9
  
  PR:		213961 216147
  Submitted by:	mikael.urankar at gmail.com

Added:
  head/www/webkit-gtk3/files/patch-Source_WTF_wtf_Platform.h
     - copied unchanged from r440352, head/www/webkit-gtk2/files/patch-Source_WTF_wtf_Platform.h
  head/www/webkit-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp
     - copied unchanged from r440352, head/www/webkit-gtk2/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp

Copied: head/www/webkit-gtk3/files/patch-Source_WTF_wtf_Platform.h (from r440352, head/www/webkit-gtk2/files/patch-Source_WTF_wtf_Platform.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/webkit-gtk3/files/patch-Source_WTF_wtf_Platform.h	Sun May  7 18:38:48 2017	(r440353, copy of r440352, head/www/webkit-gtk2/files/patch-Source_WTF_wtf_Platform.h)
@@ -0,0 +1,12 @@
+This patch reportedly fixes build for ARM. See PR 208569
+
+--- Source/WTF/wtf/Platform.h.orig	2016-04-10 06:48:36 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__) \

Copied: head/www/webkit-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp (from r440352, head/www/webkit-gtk2/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/webkit-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp	Sun May  7 18:38:48 2017	(r440353, copy of r440352, head/www/webkit-gtk2/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp)
@@ -0,0 +1,11 @@
+--- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig	2016-04-10 06:48:37 UTC
++++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
+@@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
+     "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
+     "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
+     "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
+-    "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
++    "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
+     // The color values are stored in-place.
+     "strb r2, [" PIXELS_R ", #-11]" NL
+     "strb r3, [" PIXELS_R ", #-10]" NL


More information about the svn-ports-all mailing list