Date: Thu, 11 Jan 2018 00:54:00 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> 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 Message-ID: <201801110054.w0B0s0iR014207@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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() + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801110054.w0B0s0iR014207>