From owner-dev-commits-ports-all@freebsd.org Tue May 18 08:38:45 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5F3F3644FA9; Tue, 18 May 2021 08:38:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FkqCn24YNz4SBj; Tue, 18 May 2021 08:38:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2650B1BDE3; Tue, 18 May 2021 08:38:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14I8cjw7058765; Tue, 18 May 2021 08:38:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14I8cj5Z058764; Tue, 18 May 2021 08:38:45 GMT (envelope-from git) Date: Tue, 18 May 2021 08:38:45 GMT Message-Id: <202105180838.14I8cj5Z058764@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Christoph Moench-Tegeder Subject: git: 5cfd4469d834 - main - mail/thunderbird: fix build with clang/libc++12 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cmt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5cfd4469d834c0bc282e8f0d2f45ede416290845 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2021 08:38:45 -0000 The branch main has been updated by cmt: URL: https://cgit.FreeBSD.org/ports/commit/?id=5cfd4469d834c0bc282e8f0d2f45ede416290845 commit 5cfd4469d834c0bc282e8f0d2f45ede416290845 Author: Christoph Moench-Tegeder AuthorDate: 2021-05-18 08:37:34 +0000 Commit: Christoph Moench-Tegeder CommitDate: 2021-05-18 08:37:34 +0000 mail/thunderbird: fix build with clang/libc++12 PR: 255954 Reported by: dim Obtained from: https://bugzilla.mozilla.org/show_bug.cgi?id=1694575 --- mail/thunderbird/files/patch-bug1694575 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/mail/thunderbird/files/patch-bug1694575 b/mail/thunderbird/files/patch-bug1694575 new file mode 100644 index 000000000000..bbc563272934 --- /dev/null +++ b/mail/thunderbird/files/patch-bug1694575 @@ -0,0 +1,33 @@ +changeset: 569030:f875a4ffd653 +user: Mike Hommey +date: Sun Feb 28 17:47:27 2021 +0000 +summary: Bug 1694575 - Don't include mozalloc.h from the iosfwd wrapper. r=andi + +diff -r d31bf2fc599d -r f875a4ffd653 config/gcc-stl-wrapper.template.h +--- config/gcc-stl-wrapper.template.h Sun Feb 28 14:59:31 2021 +0000 ++++ config/gcc-stl-wrapper.template.h Sun Feb 28 17:47:27 2021 +0000 +@@ -27,7 +27,11 @@ + // # define _GLIBCXX_DEBUG 1 + #endif + +-// Don't include mozalloc for cstdlib. See bug 1245076. ++// Don't include mozalloc.h for cstdlib, type_traits, limits and iosfwd. ++// See bug 1245076 (cstdlib), bug 1594027 (type_traits, limits) and ++// bug 1694575 (iosfwd). ++// Please be careful when adding more exceptions, especially regarding ++// the header not directly or indirectly including . + #ifndef moz_dont_include_mozalloc_for_cstdlib + # define moz_dont_include_mozalloc_for_cstdlib + #endif +@@ -40,6 +44,10 @@ + # define moz_dont_include_mozalloc_for_limits + #endif + ++#ifndef moz_dont_include_mozalloc_for_iosfwd ++# define moz_dont_include_mozalloc_for_iosfwd ++#endif ++ + // Include mozalloc after the STL header and all other headers it includes + // have been preprocessed. + #if !defined(MOZ_INCLUDE_MOZALLOC_H) && \ +