x11-toolkits/vte3: fix build with clang 16

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 [-Wenum-constexpr-conversion]
          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.

PR:		271057
Approved by:	maintainer timeout (2 weeks)
MFH:		2023Q2
This commit is contained in:
Dimitry Andric 2023-04-25 00:02:10 +02:00
parent 7ecd176f65
commit 2b2883921e
2 changed files with 7 additions and 2 deletions

View file

@ -1,11 +1,14 @@
PORTNAME= vte
PORTVERSION= 0.70.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= x11-toolkits gnome
MASTER_SITES= GNOME
PKGNAMESUFFIX= 3
DIST_SUBDIR= gnome
PATCH_SITES= https://gitlab.gnome.org/GNOME/vte/-/commit/
PATCHFILES+= 9b41cd101429.patch:-p1 #https://gitlab.gnome.org/GNOME/vte/-/issues/2618
MAINTAINER= gnome@FreeBSD.org
COMMENT= Terminal widget with improved accessibility and I18N support
WWW= https://wiki.gnome.org/Apps/Terminal/VTE

View file

@ -1,3 +1,5 @@
TIMESTAMP = 1674882235
TIMESTAMP = 1682373362
SHA256 (gnome/vte-0.70.2.tar.xz) = 4d15b4380de3f564d57eabd006389c407c705df5b0c70030fdcc24971a334d80
SIZE (gnome/vte-0.70.2.tar.xz) = 898596
SHA256 (gnome/9b41cd101429.patch) = be02f08808761d714caf4617aa856de0c99842a188461d02ad66745bc36bf34c
SIZE (gnome/9b41cd101429.patch) = 2091