Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2023 18:39:43 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2b2883921ec7 - main - x11-toolkits/vte3: fix build with clang 16
Message-ID:  <202305071839.347Idhs8074786@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dim:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2b2883921ec71c5b8521ddd450054c80d686ef55

commit 2b2883921ec71c5b8521ddd450054c80d686ef55
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-04-24 22:02:10 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-05-07 18:38:48 +0000

    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
---
 x11-toolkits/vte3/Makefile | 5 ++++-
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305071839.347Idhs8074786>