From owner-svn-ports-head@freebsd.org Thu Jan 11 00:54:01 2018 Return-Path: Delivered-To: svn-ports-head@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 8A884EA4B0F; Thu, 11 Jan 2018 00:54:01 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6503175A65; Thu, 11 Jan 2018 00:54:01 +0000 (UTC) (envelope-from jbeich@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8C7B45A73; Thu, 11 Jan 2018 00:54:00 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0B0s0rg014211; Thu, 11 Jan 2018 00:54:00 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0B0s0iR014207; Thu, 11 Jan 2018 00:54:00 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201801110054.w0B0s0iR014207@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 11 Jan 2018 00:54:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458705 - in head/www: firefox firefox/files waterfox waterfox/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/www: firefox firefox/files waterfox waterfox/files X-SVN-Commit-Revision: 458705 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2018 00:54:01 -0000 Author: jbeich Date: Thu Jan 11 00:53:59 2018 New Revision: 458705 URL: https://svnweb.freebsd.org/changeset/ports/458705 Log: www/firefox: work around crash on FreeBSD 10 PR: 224917 Suggested by: dim Added: head/www/firefox/files/patch-ipc_glue_MessageChannel.cpp (contents, props changed) head/www/waterfox/files/patch-ipc_glue_MessageChannel.cpp (contents, props changed) Modified: head/www/firefox/Makefile (contents, props changed) head/www/waterfox/Makefile (contents, props changed) Modified: head/www/firefox/Makefile ============================================================================== --- head/www/firefox/Makefile Thu Jan 11 00:53:41 2018 (r458704) +++ head/www/firefox/Makefile Thu Jan 11 00:53:59 2018 (r458705) @@ -3,6 +3,7 @@ PORTNAME= firefox DISTVERSION= 57.0.4 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ Added: head/www/firefox/files/patch-ipc_glue_MessageChannel.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/firefox/files/patch-ipc_glue_MessageChannel.cpp Thu Jan 11 00:53:59 2018 (r458705) @@ -0,0 +1,14 @@ +--- ipc/glue/MessageChannel.cpp.orig 2017-11-02 16:16:32 UTC ++++ ipc/glue/MessageChannel.cpp +@@ -685,6 +685,11 @@ MessageChannel::WillDestroyCurrentMessageLoop() + mWorkerLoop = nullptr; + } + ++#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 4000 ++// Work around UB in __tree crashing mPendingPromises.clear() ++// http://llvm.org/viewvc/llvm-project?view=revision&revision=276003 ++[[clang::optnone]] ++#endif + void + MessageChannel::Clear() + { Modified: head/www/waterfox/Makefile ============================================================================== --- head/www/waterfox/Makefile Thu Jan 11 00:53:41 2018 (r458704) +++ head/www/waterfox/Makefile Thu Jan 11 00:53:59 2018 (r458705) @@ -2,6 +2,7 @@ PORTNAME= waterfox DISTVERSION= 56.0.2 +PORTREVISION= 1 CATEGORIES= www ipv6 MAINTAINER= jbeich@FreeBSD.org Added: head/www/waterfox/files/patch-ipc_glue_MessageChannel.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/waterfox/files/patch-ipc_glue_MessageChannel.cpp Thu Jan 11 00:53:59 2018 (r458705) @@ -0,0 +1,14 @@ +--- ipc/glue/MessageChannel.cpp.orig 2017-11-02 16:16:32 UTC ++++ ipc/glue/MessageChannel.cpp +@@ -685,6 +685,11 @@ MessageChannel::WillDestroyCurrentMessageLoop() + mWorkerLoop = nullptr; + } + ++#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 4000 ++// Work around UB in __tree crashing mPendingPromises.clear() ++// http://llvm.org/viewvc/llvm-project?view=revision&revision=276003 ++[[clang::optnone]] ++#endif + void + MessageChannel::Clear() + {