[Bug 271057] x11-toolkits/vte3: fix build with clang 16

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Apr 2023 22:05:45 UTC

            Bug ID: 271057
           Summary: x11-toolkits/vte3: fix build with clang 16
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

Clang 16 has a new error about integer values being outside the valid
range for enum types, which shows up when building x11-toolkits/vte3:

  ../src/vtepty.cc:577:16: error: integer value 234881535 is outside the valid
range of values [0, 4095] for this enumeration type
          return GSpawnFlags(G_SPAWN_LEAVE_DESCRIPTORS_OPEN |

Upstream already noticed this, and committed
https://gitlab.gnome.org/GNOME/vte/-/commit/9b41cd101429 as a fix, so
add this as an additional patch, until the next version is released.

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