From nobody Thu Apr 18 23:05:39 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 4VLD04099lz5HGPT; Thu, 18 Apr 2024 23:05:40 +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 4VLD036lt7z4ht0; Thu, 18 Apr 2024 23:05:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713481539; 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=C6uq0hXLdkRuiJFi9gB0kABG8NkFJyWNWPCMmkbot0E=; b=hBPitvoV0KOhVz4p9BczPFtE0PkCeO1A16NnCZBlX2h0qVSkyD9EOd8tznlFVOnhZ/zX5G qeP2AIu9VKIEcEZkbLIFg/8XkBxK7USoQCb9YFB8mEabkBOGlrwiqY13jglhYylMiPMjAc d2Bhcw2VkHDZwr8YVLSzuEiJ9c77U+p1xZ88vlTjGa+5d0hNCXfB8Z3XGY50LQQ7rRMbfs Ol9krQa3xjZpT1eqTKBS86y0jM+5K2sgZ4OrztijzcrRMZ2Sae/pjZusQekqu80ZSc+40n lJQcenRKHo4IvgKhqRNRP4Q+L4gLSoqNyhvPd5XubugWuFmo5yOXpmlmTg5tVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713481539; a=rsa-sha256; cv=none; b=ZiCTFnwLI55FMYTHtKPI4qBg0RboWFRr+wsUTAF6/wniFyHo0h6zAq5CSnau/CXLdQLWfG Br37rMx3g4IeyzEQjoaOBszcjfRJ7fZW43OGtFgGwnqdxNahDiiNYxBOSLAq7IMQBfnjgl ISvZ11P0+SSTftnh7TcCS+A7zUwKe2dYIQXqbFi8O6uDALmjeJPKx+RrB3etPiEW1r9A3n W24vVsVL6OkDUEIrldsf9aSbcUt9ddqgJQeGIyTSC/5+QkFpvnQ6cSdt18NvUVqMD5vev6 ElJN9wQq5uEPrp5n5YCm+JY+O8a8pLb0cSkdsHGSWeCVBx6NZrrJLvY+4r5S0w== 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=1713481539; 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=C6uq0hXLdkRuiJFi9gB0kABG8NkFJyWNWPCMmkbot0E=; b=hshammbPX/Vgsg/XgVQ1u9ITdiIWDUqu0SNMc1YHUqmnfb9sDDMpORSE9erV7i7NSjRhaA 45vt0BW/uG2I1KVSDUGIi0hHmwSsZFBOCdABiSTPepV5F42vg9qVsEtD9Z7cVi5VP0ZANT gRsOck8bIj9exfw3HkpR3yB+FXM/Ws6SXyuWsZJ+2swDhviu4h04uTwXoxLCXVoxVfr3vg m/rqN0ArsMyRnlA1G28cFgv0R+NLHOE9eHMmvcqzc+niPUgQIfZJinTOhwujV6cpq8cxd1 jN4sfk1fNImGBE30M4pYjAc1WHNEssN2RXtz9bOjKaq0dKiBmaNeF4xczKdZBg== 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 4VLD036NXnzSw0; Thu, 18 Apr 2024 23:05:39 +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 43IN5dkQ012594; Thu, 18 Apr 2024 23:05:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43IN5d4s012591; Thu, 18 Apr 2024 23:05:39 GMT (envelope-from git) Date: Thu, 18 Apr 2024 23:05:39 GMT Message-Id: <202404182305.43IN5d4s012591@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: 16543701d7d9 - main - www/firefox-esr: fix linking 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: 16543701d7d98630a94e10adeffb8785aa4aa3c9 Auto-Submitted: auto-generated The branch main has been updated by cmt: URL: https://cgit.FreeBSD.org/ports/commit/?id=16543701d7d98630a94e10adeffb8785aa4aa3c9 commit 16543701d7d98630a94e10adeffb8785aa4aa3c9 Author: Christoph Moench-Tegeder AuthorDate: 2024-04-18 23:04:07 +0000 Commit: Christoph Moench-Tegeder CommitDate: 2024-04-18 23:05:29 +0000 www/firefox-esr: fix linking with libc++18 copied from www/firefox PR: 276746 --- www/firefox-esr/files/patch-bug1874059 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/www/firefox-esr/files/patch-bug1874059 b/www/firefox-esr/files/patch-bug1874059 new file mode 100644 index 000000000000..3fa954ef9def --- /dev/null +++ b/www/firefox-esr/files/patch-bug1874059 @@ -0,0 +1,25 @@ +commit 56c888446600991803fd92d668349101ad4bf160 +Author: Christoph Moench-Tegeder +Date: Tue Feb 6 22:51:27 2024 +0100 + + switch to -fvisibility flags + + this fixes linkage with llvm18 (which does not like the former + approach via the #pragma in gcc_hidden.h + + PR: 276746 + Submitted by: dim@ + +diff --git build/moz.configure/toolchain.configure build/moz.configure/toolchain.configure +index d08b748db250..4696f69153f6 100644 +--- build/moz.configure/toolchain.configure ++++ build/moz.configure/toolchain.configure +@@ -2186,7 +2186,7 @@ set_define("_LIBCPP_HIDE_FROM_ABI", libcxx_override_visibility.hide_from_abi) + @depends(target, build_environment) + def visibility_flags(target, env): + if target.os != "WINNT": +- if target.kernel == "Darwin": ++ if target.kernel == "Darwin" or target.kernel == "FreeBSD": + return ("-fvisibility=hidden", "-fvisibility-inlines-hidden") + return ( + "-I%s/system_wrappers" % os.path.join(env.dist),