[Bug 282370] devel/electron30: Fix build with clang 19

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 27 Oct 2024 21:53:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282370

            Bug ID: 282370
           Summary: devel/electron30: Fix build with clang 19
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tagattie@FreeBSD.org
          Reporter: madpilot@FreeBSD.org
          Assignee: tagattie@FreeBSD.org
             Flags: maintainer-feedback?(tagattie@FreeBSD.org)

Created attachment 254582
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254582&action=edit
patch

Hi,

I've recently upgraded to recent head and noticed electron failed to build, due
to the clang 19 upgrade.

I've created a patch that fixes it for me. Hope it can be useful.


All changes are coming from upstream commits:

https://github.com/chromium/chromium/commit/23646607e16c63231ae9f49ce5355c270145cf30

https://chromium-review.googlesource.com/c/chromium/src/+/5604664/2/third_party/blink/renderer/platform/wtf/hash_table.h

https://android.googlesource.com/platform/external/perfetto.git/+/e2f661907a717551235563389977b7468da6d45e%5E%21/#F0

https://quiche.googlesource.com/quiche/+/c1af894e0f5c4f732a983e7c93227854e203570e

https://github.com/electron/electron/commit/8a8241163d4a802a7daeb21e53780f74d2e87cc2#diff-5678864515037a75e2b9c00ec60c3dbbd27f83fc22dd76f07a4b149a70bc04ef

-- 
You are receiving this mail because:
You are the assignee for the bug.