From nobody Mon Aug 12 19:39:25 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 4WjPwZ0tFvz5T0sk; Mon, 12 Aug 2024 19:39:26 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WjPwZ0Fx5z4LlV; Mon, 12 Aug 2024 19:39:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723491566; 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=uQTRtulx5VeTH4EuFM2/nUBAjVZWOmoDj99eijP7H/o=; b=tSbFkE0v46wv6A180x7OqPOVkwahX71QaOoApphE54mbXmQBkVTNplESvVBY9ob4zFEf0c VoQqWfYggmCB/P0jANEgk13M9eEbeD513+Coh8rdcQgpfMKsXWmlKekeVC6nkrrqOy9p8l oTkTmzq+nryBlHxW3tf8Tq9f1+UgCrr7WWFHoGmL5/tv2zy33bP5MasiGKTXf9/1QeQYD3 KVfFxFgpmNUv/51gbJUbdZIUBlosI66RqjhA3eiEqF07ayV9Tn6BxjWRI92EtHfEkev3jO 2AX67Qbr3JhBpxYv4CBtCYthXYWSO7RSzzwelOlqG5SSkwwoBS2RFa3JG3xU8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723491566; a=rsa-sha256; cv=none; b=o20VuHeuTFBnhqG/EY5k3H6O7f1YkEE570+eE+LSewY6LVZGdwWonZCz9c9dpCltUJlQbr /igGjJOxg121gWC55xkhG2gbAEd/0B6uLk4emTGWKgzn5NSX+Ed1lHzr4uEpLeKVPFTHZ8 H2Xgm0COQlx/BrY6gELkwQhj21koWTmH+Mqtam7l51l1Vhd0iIB9xonTg9SK3e1/7V5YTD GAqb89dNq8W2M5nBlKPZBdAGaTJ93ZXLb4gAmfM0Bt3lGOUdTAPCCFbkXnmLlsjSjxecL/ DgmKZO68M+JM4KmZItUWDAxtV2s52owYOMDtGtVlpY69OiW6PXU5nm97lyN2qw== 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=1723491566; 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=uQTRtulx5VeTH4EuFM2/nUBAjVZWOmoDj99eijP7H/o=; b=kJSV6FjsXaZ/AcrxwcyWVhenmLXCWNaO2L8dHCB5oBHSrvOYxQ5KS/LBy+F/ltlktURb2g /9bM3KQJp4XOA5y7lZ92ptayX+S+BAWW2k7wBR/I8MEifoliVvZ9PhONXs3pfziqokYLi+ TXv8+tjoNziODm0qgReT3NfRYwXw/fv0i6mDZoTivsYBOhuw+s9XyfhzeimUsoYgcpahz0 s9s5lWHi0i2HxCVBzpIIilukN3nxWQLI/0yy1HMSfineJ/kJ8AFFhOrh1NnyztuzKI4u9Y JnxHdAS7M+qiwfxqYxjFWuseyRVCr/fg9hfKngfdSTXP9crvpDtf4kaotwPPDg== 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 4WjPwY5bkWzgpM; Mon, 12 Aug 2024 19:39:25 +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 47CJdPfj018259; Mon, 12 Aug 2024 19:39:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47CJdPdF018256; Mon, 12 Aug 2024 19:39:25 GMT (envelope-from git) Date: Mon, 12 Aug 2024 19:39:25 GMT Message-Id: <202408121939.47CJdPdF018256@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: 8e8ef3deb407 - main - lang/spidermonkey102: 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: 8e8ef3deb407ff549eba6d5310e0988f1f49a9c5 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=8e8ef3deb407ff549eba6d5310e0988f1f49a9c5 commit 8e8ef3deb407ff549eba6d5310e0988f1f49a9c5 Author: Dimitry Andric AuthorDate: 2024-08-10 13:48:05 +0000 Commit: Dimitry Andric CommitDate: 2024-08-12 19:38:10 +0000 lang/spidermonkey102: fix build with clang and libc++ 19 Clang 19 now diagnoses incorrect member accesses, which causes lang/spidermonkey102 to fail with an error similar to: /wrkdirs/usr/ports/lang/spidermonkey102/work/firefox-102.9.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/spidermonkey102 and clang/libc++ 19 this results in errors similar to: /wrkdirs/usr/ports/lang/spidermonkey102/work/firefox-102.9.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/spidermonkey102/work/firefox-102.9.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/spidermonkey102/work/firefox-102.9.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. [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: 280730 Approved by: nc (maintainer) MFH: 2024Q3 --- lang/spidermonkey102/Makefile | 4 ++++ lang/spidermonkey102/distinfo | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lang/spidermonkey102/Makefile b/lang/spidermonkey102/Makefile index 2dcc65a9860c..2dcf5dbc8eaa 100644 --- a/lang/spidermonkey102/Makefile +++ b/lang/spidermonkey102/Makefile @@ -5,6 +5,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 102-esr WWW= https://spidermonkey.dev/ diff --git a/lang/spidermonkey102/distinfo b/lang/spidermonkey102/distinfo index 527709ca1067..7f0c41512d66 100644 --- a/lang/spidermonkey102/distinfo +++ b/lang/spidermonkey102/distinfo @@ -1,3 +1,7 @@ -TIMESTAMP = 1720131181 +TIMESTAMP = 1723296424 SHA256 (firefox-102.9.0esr.source.tar.xz) = 31b074623f09ca821a8a7dee0b3d2df1a45f1164264d31c26b4969a4d6a21dd1 SIZE (firefox-102.9.0esr.source.tar.xz) = 484308672 +SHA256 (223087fdc29f18678f6174e9807b8780e439acf6) = f234371584e2b2bc9953ae4fd145da19c99a6f04087f53d59616aecf29df039c +SIZE (223087fdc29f18678f6174e9807b8780e439acf6) = 1597 +SHA256 (68ff4d3f7338248b4d67cf03aade5a73f8d396b2) = 8d556dcb0d3a76a6cb8870b6eff45fafe0a78760ea24d34ea0b5e7ceb4489a71 +SIZE (68ff4d3f7338248b4d67cf03aade5a73f8d396b2) = 2546