From owner-svn-ports-all@freebsd.org Tue Nov 14 19:31:23 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B41BADDBB30; Tue, 14 Nov 2017 19:31:23 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 754DA6C570; Tue, 14 Nov 2017 19:31:23 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAEJVMYq012288; Tue, 14 Nov 2017 19:31:22 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAEJVMQE012286; Tue, 14 Nov 2017 19:31:22 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201711141931.vAEJVMQE012286@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Tue, 14 Nov 2017 19:31:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454197 - in head/www/qt5-webkit: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/www/qt5-webkit: . files X-SVN-Commit-Revision: 454197 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 19:31:23 -0000 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. 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) \