From nobody Fri Nov 01 20:52:31 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 4XgCjW1h72z5cSGt; Fri, 01 Nov 2024 20:52:31 +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 4XgCjW1F1cz4Zx4; Fri, 1 Nov 2024 20:52:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730494351; 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=bzhwx+fAacnZ7W7E2vFilPdk6Hi6/CQVtLR5bJTeZWs=; b=eLja/S42nbirm9Twe0y6nl+zQqHwS96yHmVJIooF8krARTWI9MYZezEEZivEryX4S7JRZV ZOsCFagSN5H+SapjBlbwO8g02xHsKcsUm3hTMmLriUTiBHlam9NwAejtJUjT0+8W99sbRQ u33Mzq/LBouaVvBfMOOctvYIE2tul5RvBwRByG2i/XN+lpDPB2/kroNWj6QWWbzDRyf6gQ +myOpjtQcyTNEhr9NasgZf93rDg7X0nRe9TuRQ5pbcg5m7uxzlo5TPmUAK8yrgu94fMNH8 L9/E2IaqdnHtFlxVknXjPiJUjxIvv3FvbRCsvREeYfnGLquwDYnB6cJLSiJUdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730494351; 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=bzhwx+fAacnZ7W7E2vFilPdk6Hi6/CQVtLR5bJTeZWs=; b=ZI3EvWxzfcceARiJxZFdh8aLDDGLWZeAyi6nU3CdU3y+v7B1BJalJpyNIMlrayLXrbaXA5 Qyb6AT6u+4yIalRvAOs8Cmifpq7mP98Phn67QfU8o3CX+mzVUCG8K7Ok8PtMpa5+vTwkih SeKd9mZz5psMnzR51S+5WVM4bRR6hgrczfAb4BmSL1xMVTVZCjJLLOmZoy5NsSGjtVvOj2 j7M55i59G8kjeW95zXOp/y3Hr1tFiRGhkoBO/3C4TAM5SI0IkbF04zs3bPnG+wb9kH/4IP pS3qxTj0QMEaAoh+3W3A6XNZdJvRe7Z/O3Vj/6eriY4WE6siCQfMRZWKDGjhXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730494351; a=rsa-sha256; cv=none; b=UkQ6TN56m+5aKfGhUQs/eXYSx4Am8WjJskzm8l75MdTCKxjHt+sPLQyKNn6z2Ekj6Q2yAb OoqueT2/YhnPz/6aoMcIRLn9esEg6EHLNSpWJHLjgTl+IYD/xE/YbiqdhCZCcI3CJcsCGY CuWVNG6cQtTz5t/ucawiDpXcIvIjJbnNpt1FcVJs3POkVI/fFWgE7qXqUUC1upxqzRIrxJ atNRTZDcAN3jVcHvsRXW6rMQsYhmr8fOjVCHgn+nPIA+m2/01VKq/ucRJW26pdF3B3dSzx TkUQgT2g6OfK4hKvmXv0K811y7gnEBMMHevK1FFyesZi8PpQXWi99SBl+L4+Vg== 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 4XgCjW0rF6zcB7; Fri, 1 Nov 2024 20:52:31 +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 4A1KqVBg005342; Fri, 1 Nov 2024 20:52:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A1KqVcY005339; Fri, 1 Nov 2024 20:52:31 GMT (envelope-from git) Date: Fri, 1 Nov 2024 20:52:31 GMT Message-Id: <202411012052.4A1KqVcY005339@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Hiroki Tagato Subject: git: cf43f81e2d25 - 2024Q4 - devel/electron31: fix build with clang 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: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q4 X-Git-Reftype: branch X-Git-Commit: cf43f81e2d25d27dc7f3e0f7fc54ed9f4c68350f Auto-Submitted: auto-generated The branch 2024Q4 has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=cf43f81e2d25d27dc7f3e0f7fc54ed9f4c68350f commit cf43f81e2d25d27dc7f3e0f7fc54ed9f4c68350f Author: Guido Falsi AuthorDate: 2024-11-01 20:50:10 +0000 Commit: Hiroki Tagato CommitDate: 2024-11-01 20:52:17 +0000 devel/electron31: fix build with clang 19 PR: 282370 Reported by: madpilot MFH: 2024Q4 (cherry picked from commit 2457237c15a3db2b496a1e5660e9f0d4a6d56e64) --- .../patch-electron_shell_common_keyboard__util.cc | 11 +++++ ...party_blink_renderer_platform_wtf_hash__table.h | 31 +++++++++++++ ...o_tracing_internal_track__event__data__source.h | 54 ++++++++++++++++++++++ 3 files changed, 96 insertions(+) diff --git a/devel/electron31/files/patch-electron_shell_common_keyboard__util.cc b/devel/electron31/files/patch-electron_shell_common_keyboard__util.cc new file mode 100644 index 000000000000..977f0dea72a5 --- /dev/null +++ b/devel/electron31/files/patch-electron_shell_common_keyboard__util.cc @@ -0,0 +1,11 @@ +--- electron/shell/common/keyboard_util.cc.orig 2024-10-23 21:18:11 UTC ++++ electron/shell/common/keyboard_util.cc +@@ -16,7 +16,7 @@ using CodeAndShiftedChar = std::pair>; + +-constexpr CodeAndShiftedChar KeyboardCodeFromKeyIdentifier( ++CodeAndShiftedChar KeyboardCodeFromKeyIdentifier( + const std::string_view str) { + #if BUILDFLAG(IS_MAC) + constexpr auto CommandOrControl = ui::VKEY_COMMAND; diff --git a/devel/electron31/files/patch-third__party_blink_renderer_platform_wtf_hash__table.h b/devel/electron31/files/patch-third__party_blink_renderer_platform_wtf_hash__table.h new file mode 100644 index 000000000000..831809a8e908 --- /dev/null +++ b/devel/electron31/files/patch-third__party_blink_renderer_platform_wtf_hash__table.h @@ -0,0 +1,31 @@ +--- third_party/blink/renderer/platform/wtf/hash_table.h.orig 2024-08-19 05:20:52 UTC ++++ third_party/blink/renderer/platform/wtf/hash_table.h +@@ -1639,7 +1639,7 @@ HashTable::InitializeTable( + original_table, new_table_size); +@@ -1693,7 +1693,7 @@ Value* HashTablestore(new_hash_table.table_, std::memory_order_relaxed); +- Allocator::template BackingWriteBarrier(&table_); ++ Allocator::BackingWriteBarrier(&table_); + table_size_ = new_table_size; + + new_hash_table.table_ = old_table; +@@ -1845,8 +1845,8 @@ void HashTable::value) { + // Weak processing is omitted when no backing store is present. In case such + // an empty table is later on used it needs to be strongified. diff --git a/devel/electron31/files/patch-third__party_perfetto_include_perfetto_tracing_internal_track__event__data__source.h b/devel/electron31/files/patch-third__party_perfetto_include_perfetto_tracing_internal_track__event__data__source.h new file mode 100644 index 000000000000..96a551155ab9 --- /dev/null +++ b/devel/electron31/files/patch-third__party_perfetto_include_perfetto_tracing_internal_track__event__data__source.h @@ -0,0 +1,54 @@ +--- third_party/perfetto/include/perfetto/tracing/internal/track_event_data_source.h.orig 2024-08-19 05:26:12 UTC ++++ third_party/perfetto/include/perfetto/tracing/internal/track_event_data_source.h +@@ -328,13 +328,13 @@ class TrackEventDataSource + } + + static void Flush() { +- Base::template Trace([](typename Base::TraceContext ctx) { ctx.Flush(); }); ++ Base::Trace([](typename Base::TraceContext ctx) { ctx.Flush(); }); + } + + // Determine if *any* tracing category is enabled. + static bool IsEnabled() { + bool enabled = false; +- Base::template CallIfEnabled( ++ Base::CallIfEnabled( + [&](uint32_t /*instances*/) { enabled = true; }); + return enabled; + } +@@ -349,7 +349,7 @@ class TrackEventDataSource + static bool IsDynamicCategoryEnabled( + const DynamicCategory& dynamic_category) { + bool enabled = false; +- Base::template Trace([&](typename Base::TraceContext ctx) { ++ Base::Trace([&](typename Base::TraceContext ctx) { + enabled = enabled || IsDynamicCategoryEnabled(&ctx, dynamic_category); + }); + return enabled; +@@ -496,7 +496,7 @@ class TrackEventDataSource + const protos::gen::TrackDescriptor& desc) { + PERFETTO_DCHECK(track.uuid == desc.uuid()); + TrackRegistry::Get()->UpdateTrack(track, desc.SerializeAsString()); +- Base::template Trace([&](typename Base::TraceContext ctx) { ++ Base::Trace([&](typename Base::TraceContext ctx) { + TrackEventInternal::WriteTrackDescriptor( + track, ctx.tls_inst_->trace_writer.get(), ctx.GetIncrementalState(), + *ctx.GetCustomTlsState(), TrackEventInternal::GetTraceTime()); +@@ -1047,7 +1047,7 @@ class TrackEventDataSource + Lambda lambda) PERFETTO_ALWAYS_INLINE { + using CatTraits = CategoryTraits; + if (CatTraits::kIsDynamic) { +- Base::template TraceWithInstances(instances, std::move(lambda)); ++ Base::TraceWithInstances(instances, std::move(lambda)); + } else { + Base::template TraceWithInstances( + instances, std::move(lambda), {CatTraits::GetStaticIndex(category)}); +@@ -1061,7 +1061,7 @@ class TrackEventDataSource + const TrackType& track, + std::function callback) { + TrackRegistry::Get()->UpdateTrack(track, std::move(callback)); +- Base::template Trace([&](typename Base::TraceContext ctx) { ++ Base::Trace([&](typename Base::TraceContext ctx) { + TrackEventInternal::WriteTrackDescriptor( + track, ctx.tls_inst_->trace_writer.get(), ctx.GetIncrementalState(), + *ctx.GetCustomTlsState(), TrackEventInternal::GetTraceTime());