From nobody Fri Dec 13 23:34:12 2024 X-Original-To: dev-commits-ports-all@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 4Y95Jj21krz5gJVB; Fri, 13 Dec 2024 23:34:13 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y95Jh75kgz4shl; Fri, 13 Dec 2024 23:34:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734132853; 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=6ZNEznDklDiuCNNkAZnMZHdoXxN4xaZ2VioUIDuQNWs=; b=Lg0mw7B2uCHP+98j8MmNBwIfqa8FyS8X8FOJ04hm4EKtwhG4wXRS+cj8KFpveetG8os6pK egGqGfINOx7AwDNdZMo6jLMwEdXDsAScPkxNKFXng2w1I7LQMAbXuPpSgtnls0qzl+wZLA H+I5B0rc1zeCw5i45TYTpDPF8LM+6h71oMYaiaOVFdziwjASk9NOpu0bc8PYI0g7BCOrDN A886sQZ0+wXPmxPYFAozOQ0D5/vWbYPbsxvWM08s7R6C9mRSqo1PE4Ds/LYCAj20ePpzUI yGHbo4qGJtb1t2NeOYt3uOBbdq3rSDKfVOTf28aOWdFu9Rz7UpF0+vUaVVkm4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734132853; 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=6ZNEznDklDiuCNNkAZnMZHdoXxN4xaZ2VioUIDuQNWs=; b=q1S1qppSwgsSOqTEPN3wWeaUjrLCAmtvB8+MjIySC1am5wZQMw9KscOTPMg4QTQXRK7AEk 75mIY6yv0Rf7ygTZ5WNLpcaHhtwtNZlCxpK9Ayl9cgxxm22hiBFm++WmP/p5nmOQfbGvxN FlWBbO4hsm3qRAsTucB9vjgW8fhPXZYDBRqc3RDdSsAvLLylZP3/0Rudz1avFQjkJ4ZgaC IYQ2AkMwbJTvjDelBcTZGbKB37WN2k1o3GBweFOH4RP6cCSxi6/j4WDZ0psXe10Ln8TNke AY0/1CARk+55KTuxbRE4bynHr4zqOUp+eIDEU9TvAA9ZJG6LUisIdAnFeXHALg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734132853; a=rsa-sha256; cv=none; b=yOzStQzc/PNX8+UPd7CCqdPe4d463nw6NmPIbtm960qsctpmz7GIxz5rQXSz04j6Qrm/8K IOI4ksq9UM+vca8kTmb3E/Dj+fcEAQcXZmhFg/BDvKQpn259uKH42lUf+ykf4NskhGs8xm M9poFqk31pUZp6orkgXLpgIvNo+EGIR2pnicHenHnaPDcgUfc1wGtWVW3i/Kuyf6OPacQo jjuvgjYd1JF+BOpBNpCYkHJ+3ES3lQwZ2i5QAKC6r3HbT6Ua8v4MfQxMf1zJ6jCiU812jo 3YTlrU2oVGNH1Fe8LrcYjmO8RwAP/PXuoTLTxSzTclMjcoxVIbzGm8b3oWc6Sw== 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 4Y95Jh6hrwzxgf; Fri, 13 Dec 2024 23:34:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BDNYCxl085229; Fri, 13 Dec 2024 23:34:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BDNYCjS085226; Fri, 13 Dec 2024 23:34:12 GMT (envelope-from git) Date: Fri, 13 Dec 2024 23:34:12 GMT Message-Id: <202412132334.4BDNYCjS085226@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: ed3a65c936ad - main - lang/spidermonkey91: fix build with clang and libc++ 19 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ed3a65c936adead5ef586d5121aebed85585a75e Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=ed3a65c936adead5ef586d5121aebed85585a75e commit ed3a65c936adead5ef586d5121aebed85585a75e Author: Dimitry Andric AuthorDate: 2024-11-30 15:29:33 +0000 Commit: Dimitry Andric CommitDate: 2024-12-13 23:33:08 +0000 lang/spidermonkey91: fix build with clang and libc++ 19 Clang 19 now diagnoses incorrect member accesses, which causes lang/spidermonkey91 to fail with an error similar to: /wrkdirs/usr/ports/lang/spidermonkey91/work/firefox-91.13.0/js/src/threading/ExclusiveData.h:113:29: error: reference to non-static member function must be called 113 | : lock_(std::move(rhs.lock)), value_(std::move(rhs.value_)) { | ~~~~^~~~ Upstream fixed this for https://bugzilla.mozilla.org/1894423 in changeset 223087fdc29f18678f6174e9807b8780e439acf6 [2], so pull this in as a patch and apply it. Also, as noted in the libc++ 19 release notes [1], std::char_traits<> is now only provided for char, char8_t, char16_t, char32_t and wchar_t, and any instantiation for other types will fail. With lang/spidermonkey91 and clang/libc++ 19 this results in errors similar to: /wrkdirs/usr/ports/lang/spidermonkey91/work/fireox-78.15.0/js/src/builtin/intl/Locale.cpp:208:20: error: implicit instantiation of undefined template 'std::char_traits' 208 | iter_ = std::char_traits::find( | ^ /wrkdirs/usr/ports/lang/spidermonkey91/work/fireox-78.15.0/js/src/builtin/intl/Locale.cpp:769:21: note: in instantiation of member function 'SepKeywordIterator::next' requested here 769 | beginKey = iter.next(); | ^ /wrkdirs/usr/ports/lang/spidermonkey91/work/fireox-78.15.0/js/src/builtin/intl/Locale.cpp:808:16: note: in instantiation of function template specialization 'FindUnicodeExtensionType' requested here 808 | ? FindUnicodeExtensionType(unicodeExtension->latin1Chars(nogc), | ^ Upstream fixed this for https://bugzilla.mozilla.org/1849070 in changeset 68ff4d3f7338248b4d67cf03aade5a73f8d396b2 [3], so pull this in as a patch and apply it. See also bug 280730, for lang/spidermonkey102. [1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals [2] https://hg.mozilla.org/mozilla-central/rev/223087fdc29f18678f6174e9807b8780e439acf6 [3] https://hg.mozilla.org/mozilla-central/rev/68ff4d3f7338248b4d67cf03aade5a73f8d396b2 PR: 283051 Approved by: maintainer timeout (2 weeks) MFH: 2024Q4 --- lang/spidermonkey91/Makefile | 4 ++++ lang/spidermonkey91/distinfo | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lang/spidermonkey91/Makefile b/lang/spidermonkey91/Makefile index e68429970aa4..29fb3357ab84 100644 --- a/lang/spidermonkey91/Makefile +++ b/lang/spidermonkey91/Makefile @@ -6,6 +6,10 @@ MASTER_SITES= MOZILLA/firefox/releases/${DISTVERSION}esr/source PKGNAMESUFFIX= ${SP_VER} DISTNAME= firefox-${DISTVERSION}esr.source +PATCH_SITES= https://hg.mozilla.org/mozilla-central/raw-rev/ +PATCHFILES+= 223087fdc29f18678f6174e9807b8780e439acf6:-p1 # https://bugzilla.mozilla.org/1894423 +PATCHFILES+= 68ff4d3f7338248b4d67cf03aade5a73f8d396b2:-p1 # https://bugzilla.mozilla.org/1849070 + MAINTAINER= nc@FreeBSD.org COMMENT= Standalone JavaScript based from Mozilla 91-esr WWW= https://spidermonkey.dev/ diff --git a/lang/spidermonkey91/distinfo b/lang/spidermonkey91/distinfo index 493eba9bce84..74492790f582 100644 --- a/lang/spidermonkey91/distinfo +++ b/lang/spidermonkey91/distinfo @@ -1,3 +1,7 @@ -TIMESTAMP = 1662950031 +TIMESTAMP = 1732980107 SHA256 (firefox-91.13.0esr.source.tar.xz) = 53be2bcde0b5ee3ec106bd8ba06b8ae95e7d489c484e881dfbe5360e4c920762 SIZE (firefox-91.13.0esr.source.tar.xz) = 380053584 +SHA256 (223087fdc29f18678f6174e9807b8780e439acf6) = f234371584e2b2bc9953ae4fd145da19c99a6f04087f53d59616aecf29df039c +SIZE (223087fdc29f18678f6174e9807b8780e439acf6) = 1597 +SHA256 (68ff4d3f7338248b4d67cf03aade5a73f8d396b2) = 8d556dcb0d3a76a6cb8870b6eff45fafe0a78760ea24d34ea0b5e7ceb4489a71 +SIZE (68ff4d3f7338248b4d67cf03aade5a73f8d396b2) = 2546