From nobody Thu Apr 18 22:24:08 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VLC494S6lz5Hj1R; Thu, 18 Apr 2024 22:24:09 +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 4VLC4914gJz4cWM; Thu, 18 Apr 2024 22:24:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713479049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=D85XVVXSKkUddTZA6zepgMLq99TUoZ6k0Gdev4/FFUc=; b=Le18dALheIq3nhxGhASmhb27qlJ0BrJ6xd9GvfHOFasOnkfv9CjFPuiaCj/rNZj+oevmEO Idmu0zhSMHdl+A3kvvCH2qS5ChjSc0VUdMUNYG3g2Tezi6bks/MFNKdtAHS8duRO6YTArv 0tVxgFyXgnbI2xSOIj0pie7YAN4qwXHEwDTU5+4e4L+uhLz7zoTyWOCZ5cRv/PMQGqqxsM wufdiGPErueCoz56fylmOTZzWgUNG7hkkjXKDuJflPxZkNe7k3gAcENCRXdMxeHXxe7R6c HvHREZARmnGHvOhTFnAKyb6hZslTU643zlwHX5Ijkd3oTHdSrwjohoAGjeNRCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713479049; a=rsa-sha256; cv=none; b=qRG74eGJx1S/MbCzIJ4/2w9OCYO9ov4rJo4qtH5Rc0PdVrF4GLL4bLVlf1rb1d9bOQrSGJ FW1WNJ2vjqEdIc7z5PgEaz4d1BVRVpruvrW/UtB+IXv14J9LkJpBShQwQwuiQKx05qeuTt fVVbShQM7pZX8sataC4mFtleDkbtsjODrp2jDt/wyaUizk0Icx9xlsdeSl6d3QG5HcGUla SAsVvdGAivG6KjjaUnuzBzDiGndZmVKtKmp34Mar7Y7EYiOJ/6J2lQ/f9eJuw1gOPeZ9m3 FDwjbf/LrNHM9emInGkMJd6Ac5aQku7TcYeF4OnpicqkOislsqfflinn/qGmhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713479049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=D85XVVXSKkUddTZA6zepgMLq99TUoZ6k0Gdev4/FFUc=; b=Nw2pL6S+F5N+mfIKle3nDrO5+sAA3yy2+xpsDpYx/z7SSq4hxFSX9XrOwJMNtWhjddXkfR IyivB4TVpGQIl8U6afUGz0sDE/bFHWV7HUynrwG6KG1nGLTir4HaJnn0YTic+CxrWNJx/G HDVqu/YZAev82oW6YNmA/P1eQWI0vMUYJsSxngyDIH2zu5mVXGod26FYHxEKvLjD1lwpdQ fWLsFecj9Obayl5idaL5uwGsk6FTmgqmTZUINxQlZoLG5RRbxZi6//XTGS78KFDx/YRIsL zvWjg4GQ/XSIDsTGZoKJjOmTpQfj+IAX5/lZnu5+CvdWH7G8rKQq5YbLgIfFhw== 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 4VLC4873BDzSV3; Thu, 18 Apr 2024 22:24:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43IMO8Nt043258; Thu, 18 Apr 2024 22:24:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43IMO8mE043255; Thu, 18 Apr 2024 22:24:08 GMT (envelope-from git) Date: Thu, 18 Apr 2024 22:24:08 GMT Message-Id: <202404182224.43IMO8mE043255@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: 80332146fe4e - main - www/firefox-esr: fix build with libc++18 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org 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: 80332146fe4e6115917e478ed861c140dd9fc36e Auto-Submitted: auto-generated The branch main has been updated by cmt: URL: https://cgit.FreeBSD.org/ports/commit/?id=80332146fe4e6115917e478ed861c140dd9fc36e commit 80332146fe4e6115917e478ed861c140dd9fc36e Author: Christoph Moench-Tegeder AuthorDate: 2024-04-18 21:59:12 +0000 Commit: Christoph Moench-Tegeder CommitDate: 2024-04-18 22:23:51 +0000 www/firefox-esr: fix build with libc++18 Reported By: cy (in thunderbird, but it's the same here) --- www/firefox-esr/files/patch-bug1873379 | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/www/firefox-esr/files/patch-bug1873379 b/www/firefox-esr/files/patch-bug1873379 new file mode 100644 index 000000000000..658bc576eef1 --- /dev/null +++ b/www/firefox-esr/files/patch-bug1873379 @@ -0,0 +1,34 @@ +commit 627cc80defb3fa48e82ce656536d666176b9f8d1 +Author: Emilio Cobos Álvarez +Date: Sat Jan 13 14:35:33 2024 +0000 + + Bug 1873379 - Ignore std::tuple harder. r=firefox-style-system-reviewers,zrhoffman + + In libc++ 18 it seems to be in a nested namespace. Make sure to account + for that. + + Differential Revision: https://phabricator.services.mozilla.com/D198398 + +diff --git layout/style/ServoBindings.toml layout/style/ServoBindings.toml +index 2aea31f8f911..2deafbfb14b6 100644 +--- layout/style/ServoBindings.toml ++++ layout/style/ServoBindings.toml +@@ -366,6 +366,9 @@ opaque-types = [ + "std::namespace::atomic___base", "std::atomic__My_base", + "std::atomic", + "std::atomic___base", ++ "std::tuple.*", # Causes "Cannot find type _Pred in this scope" error on mac, like rust-skia#571 ++ "std::.*::tuple.*", ++ + # We want everything but FontVariation and Float to be opaque but we don't + # have negative regexes. + "mozilla::gfx::(.{0,4}|.{6,12}|.{14,}|([^F][^o][^n][^t][^V][^a][^r][^i][^a][^t][^i][^o][^n])|([^F][^l][^o][^a][^t]))", +@@ -391,8 +394,6 @@ opaque-types = [ + # for clang. + "mozilla::SeenPtrs", + "mozilla::SupportsWeakPtr", +- "std::tuple", +- "std::tuple_.*", # Causes "Cannot find type _Pred in this scope" error on mac, like rust-skia#571 + "SupportsWeakPtr", + "mozilla::detail::WeakReference", + "mozilla::WeakPtr",