svn commit: r454197 - in head/www/qt5-webkit: . files
Tobias C. Berner
tcberner at FreeBSD.org
Tue Nov 14 19:31:23 UTC 2017
Author: tcberner
Date: Tue Nov 14 19:31:22 2017
New Revision: 454197
URL: https://svnweb.freebsd.org/changeset/ports/454197
Log:
www/qt5-webkit add upstream patch to disable broken ES6 proxy support
PR: 223668
Submitted by: Mikhail T. <mi at ALDAN.algebra.com>
Added:
head/www/qt5-webkit/files/patch-git_5648446 (contents, props changed)
Modified:
head/www/qt5-webkit/Makefile
Modified: head/www/qt5-webkit/Makefile
==============================================================================
--- head/www/qt5-webkit/Makefile Tue Nov 14 19:26:43 2017 (r454196)
+++ head/www/qt5-webkit/Makefile Tue Nov 14 19:31:22 2017 (r454197)
@@ -2,7 +2,7 @@
PORTNAME= webkit
DISTVERSION= 5.212.0-alpha2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= https://github.com/annulen/${PORTNAME}/releases/download/${DISTNAME}/
PKGNAMEPREFIX= qt5-
Added: head/www/qt5-webkit/files/patch-git_5648446
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/qt5-webkit/files/patch-git_5648446 Tue Nov 14 19:31:22 2017 (r454197)
@@ -0,0 +1,18 @@
+Disable ES6 Proxy object
+
+https://github.com/annulen/webkit/commit/5648446933f52fe479d0a9006f6393a81a790116
+https://github.com/raelgc/scudcloud/issues/594#issuecomment-342988247
+
+--- Source/JavaScriptCore/runtime/JSGlobalObject.cpp
++++ Source/JavaScriptCore/runtime/JSGlobalObject.cpp
+@@ -458,7 +458,10 @@ m_ ## lowerName ## Prototype->putDirectWithoutTransition(vm, vm.propertyNames->c
+ putDirectWithoutTransition(vm, vm.propertyNames->TypeError, m_typeErrorConstructor.get(), DontEnum);
+ putDirectWithoutTransition(vm, vm.propertyNames->URIError, m_URIErrorConstructor.get(), DontEnum);
+
++#if !PLATFORM(QT)
++ // Disable ES6 Proxy because our implementation is not compliant with what real world code expects
+ putDirectWithoutTransition(vm, vm.propertyNames->Proxy, ProxyConstructor::create(vm, ProxyConstructor::createStructure(vm, this, m_functionPrototype.get())), DontEnum);
++#endif
+
+
+ #define PUT_CONSTRUCTOR_FOR_SIMPLE_TYPE(capitalName, lowerName, properName, instanceType, jsName) \
More information about the svn-ports-all
mailing list