From nobody Thu Apr 18 23:06:20 2024 X-Original-To: dev-commits-ports-branches@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 4VLD0s3CbFz5HGk2; Thu, 18 Apr 2024 23:06:21 +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 4VLD0s0xcfz4hm3; Thu, 18 Apr 2024 23:06:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713481581; 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=gBspBKflD1Cg5NZCj87by+f2WCCr/rGc4GokcNoF0hw=; b=qNi55S+lV+trMqtI2MHavNvFC13NB1NvJhyulzkzw1GwaXuNpzErhOMr2M0bpzVkFGZ2Lp 2EXcwBoRO5pK647Yu/c0AoEhrMNrg2KQ5YrN2YULSUKa8UmSA2KjTURZEwiAUHo8YX0ADN Bh8QiOgcE8FpW85dNGr74VqyshE4SmRnr87oWNpv9Qh4z2szLqPhcv8gRyyufBIP77/41w NOEFdjwK1w0Z0n9bJm/h3lEARPhiLh/lWP8SS/EFdz9LD0H0aY7eEq7hOcZkJIvivzI/sb j1sjf+pQlvO1KTydy9dwUkWfCc8IWxAdx7KAZprfT6k5jE9J8GRH7tAKJ95meA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713481581; a=rsa-sha256; cv=none; b=cu5bmN4DqPJXTi4pa8AuXjl6YZxjaMP8AKXsXmdxG0/wjIHUaxw97+zhiAwAtRylFgy2nw 6+ThS1Tq8Frps9MMBBHLyvhoP57HrFUNJr3Iow0RWScSkrQ2U9txfPWdDF2HtVa+2rLWrv DH9cBaFi2Myn/qsC7v5dXyKoUtOvG0QiCoRXBrAe17pXqqlXxSi3MdXOcmFokGuffwhMye Pa+fbJmuunuJ/lWfQo3c1ma8+Yi2nobJ0ALxPGBYsy52Nf4Rsf5iCHV79E6TPnjLVQlIY6 9J/qj/JOgiehDqFpvNw0v7Ny8c2Dm3QvpGPbzKh4RO59Pndgkv1xRc43uZy49Q== 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=1713481581; 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=gBspBKflD1Cg5NZCj87by+f2WCCr/rGc4GokcNoF0hw=; b=fr7NrQg3pF0A1wTKIF56fYt6oHregHorvhM+yCuZHh8vsxx3YFKcFYIiywQvS6xyChhJqE wUVR+4WqFPhqgFJfeUkG5Z8Sf6sRFyqOlpWfhDOP7ApO1RdJ4aNVlBS2dX9Pj4u8GjAogE hs2697oLsYNQIx0r3k729nXxud2JM6GgyhrVRuwyEmGmFZn3eir1CC1nA/7T0B4VR4Knqb EigFgcikXCBOpS9ov4LRShtt9UaXTLo4Mk+q/c3NdJ+xgeNDkP8pyY9GH02dtjPLqg1NrI Cs1tSmkyeBedyKhuMafJK5JF8y5WtViQudXhZNVmOXbBKNDk0SG8XLllzVmCzA== 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 4VLD0s0YGzzTc1; Thu, 18 Apr 2024 23:06:21 +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 43IN6KuK012830; Thu, 18 Apr 2024 23:06:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43IN6K62012827; Thu, 18 Apr 2024 23:06:20 GMT (envelope-from git) Date: Thu, 18 Apr 2024 23:06:20 GMT Message-Id: <202404182306.43IN6K62012827@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Christoph Moench-Tegeder Subject: git: 6db914e6b2eb - 2024Q2 - www/firefox-esr: fix linking with libc++18 List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-branches@freebsd.org Sender: owner-dev-commits-ports-branches@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/2024Q2 X-Git-Reftype: branch X-Git-Commit: 6db914e6b2eb3721cf881a39d72fabf4ff1005ed Auto-Submitted: auto-generated The branch 2024Q2 has been updated by cmt: URL: https://cgit.FreeBSD.org/ports/commit/?id=6db914e6b2eb3721cf881a39d72fabf4ff1005ed commit 6db914e6b2eb3721cf881a39d72fabf4ff1005ed Author: Christoph Moench-Tegeder AuthorDate: 2024-04-18 23:04:07 +0000 Commit: Christoph Moench-Tegeder CommitDate: 2024-04-18 23:05:58 +0000 www/firefox-esr: fix linking with libc++18 copied from www/firefox PR: 276746 (cherry picked from commit 16543701d7d98630a94e10adeffb8785aa4aa3c9) --- 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),