diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2023-04-24 22:02:10 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2023-05-07 18:38:48 +0000 |
commit | 2b2883921ec71c5b8521ddd450054c80d686ef55 (patch) | |
tree | 3863d20ae49fbf402614abe76959500c17ce58a5 | |
parent | 7ecd176f65a556e852635b33bd30843c1ce31bb4 (diff) |
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
-rw-r--r-- | x11-toolkits/vte3/Makefile | 5 | ||||
-rw-r--r-- | x11-toolkits/vte3/distinfo | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/x11-toolkits/vte3/Makefile b/x11-toolkits/vte3/Makefile index 726162ce2e1e..7485023cc080 100644 --- a/x11-toolkits/vte3/Makefile +++ b/x11-toolkits/vte3/Makefile @@ -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 diff --git a/x11-toolkits/vte3/distinfo b/x11-toolkits/vte3/distinfo index 55bac9d6612f..b4b33ba8c453 100644 --- a/x11-toolkits/vte3/distinfo +++ b/x11-toolkits/vte3/distinfo @@ -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 |