[Bug 282371] editors/vscode: Fix build with clang 19

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

            Bug ID: 282371
           Summary: editors/vscode: 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
        Depends on: 282370
          Assignee: tagattie@FreeBSD.org
             Flags: maintainer-feedback?(tagattie@FreeBSD.org)

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

Hi,

After upgrading to recent head I noticed vscode failing to build, due to the
clang 19 upgrade.

I've created a patch that works for me, based on an upstream commit [1]

Hope this can be useful


[1]
https://github.com/tree-sitter/node-tree-sitter/commit/a90b361cb5ac45e8e2f6f6e7fd56d0892de30cc7


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282370
[Bug 282370] devel/electron30: Fix build with clang 19
-- 
You are receiving this mail because:
You are the assignee for the bug.