From nobody Thu Jun 08 16:30:51 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QcV7w4Jjpz4byQw; Thu, 8 Jun 2023 16:30:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QcV7v5YZnz3H8K; Thu, 8 Jun 2023 16:30:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686241851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AQwtnex9wwxnkcZl+8QMh+C6glLO2YSu0bl+xrTyZmI=; b=BidWpHRxE9EHN456jgvrnnBhUaesi3PLPkOATiuC8JZE+9ZXwc/ee8r7lSSXlNlBsC7KWU dExx/SmcjFa8n8LYeprD+99aQAYPRCEL95vT3tJuEz/2fD/lQWxSV1oeEahdehurrZ/oKi qDdfBUfTKXaD0eBkD/uVaWWdzC4uaUmMmKrBwA7wLURvp2bCbLUqkEmWftbo4iaqZial8v /NuKHXOYB61VACrLvaFBOMdPCVhQpoJPt97T7+eLNft2E1+NUYBP8Fj4twQjtjrUr7WgVS lDWb457Pk+8+IC2pAveyYlSgzkhBww7oCpfTjcJnG/dg1tqR4nAo09XesuCJbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686241851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AQwtnex9wwxnkcZl+8QMh+C6glLO2YSu0bl+xrTyZmI=; b=NHhXBudS3NZISN/dCnTN+aQWQJhp+vO5/XiIPpAqwwzrJeVRXuObCUFLRuMu1I24HhhW74 YWsS+oFQtcmjq3oOrK/jj+o9JwypYKsj9+tiHiMyjfIlbYekBSWu4T5VHzI/TNHVprkSYk sjZiJ7BAa6S04i69CZaTfU5hW0SALZRNLlIqSKAHmm41lYoreRKXV7APCt6T3MOs0CnVPA XQxrio/eHBqhGsiFU4vsXwp7oLJo9kwSuwLw5LPuSte/dga3lJvO7BG4NmUCVZUrFBEeeU O2zjssBv6DsDZXmMa2NtIVGDzhsFV3Bv+KEZloFnZP7yUG0j95jFTz1CYW8Itw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686241851; a=rsa-sha256; cv=none; b=mIeBf/gAGk86pImzY0qbm94LxB3D5BQTlXiwGr9hZ3DZRj4AZhCHIlfWgatWmRqKM5w6Lb v/qf0+Sszvt7661UsFCfQJyLhke2dTFUl/edaTeqRTSDL/aN/0ESlC63W2fW25KaHBrWfP uJtPnVGnNZcXDR27psl6FacS2zINaol0AMd6MqKG5qHerXQSDKy707ejWvo+k+pMCRbtWI jXupcbaosly1pvXaYqTgNhG8M3ZnY8g9jFFyCzlrc06p7GyffFpc31pL6BHUx6QqL36tMh 20SttXfd04ylyTo5ptG6yLdsrhX76rqEHWHIWiCBQOedymLsDMrgPsJQNPSTYw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QcV7v4d3vz11hY; Thu, 8 Jun 2023 16:30:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 358GUp38059858; Thu, 8 Jun 2023 16:30:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 358GUp73059857; Thu, 8 Jun 2023 16:30:51 GMT (envelope-from git) Date: Thu, 8 Jun 2023 16:30:51 GMT Message-Id: <202306081630.358GUp73059857@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 3b95146628d4 - main - www/webkit2-gtk3: fix build with clang 16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3b95146628d422f83a98cb438fedba67392c2eb1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b95146628d422f83a98cb438fedba67392c2eb1 commit 3b95146628d422f83a98cb438fedba67392c2eb1 Author: Dimitry Andric AuthorDate: 2023-06-04 21:10:56 +0000 Commit: Dimitry Andric CommitDate: 2023-06-08 16:29:48 +0000 www/webkit2-gtk3: 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 www/webkit2-gtk3: /wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.34.6/Source/WTF/wtf/URLHelpers.cpp:51:34: error: integer value 256 is outside the valid range of values [-256, 255] for this enumeration type [-Wenum-constexpr-conversion] constexpr auto scriptCodeLimit = static_cast(256); ^ Upstream fixed this in , for , so apply that patch. Thanks to Vladislav Shchapov for pointing out the upstream fix. PR: 271827 Approved by: portmgr (build blanket) MFH: 2023Q2 --- www/webkit2-gtk3/Makefile | 5 ++++- www/webkit2-gtk3/distinfo | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/www/webkit2-gtk3/Makefile b/www/webkit2-gtk3/Makefile index a9ed4c35315f..4507c9a796ad 100644 --- a/www/webkit2-gtk3/Makefile +++ b/www/webkit2-gtk3/Makefile @@ -1,12 +1,15 @@ PORTNAME= webkit DISTVERSION= 2.34.6 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www MASTER_SITES= https://webkitgtk.org/releases/ PKGNAMESUFFIX= 2-gtk3 DISTNAME= ${PORTNAME}gtk-${PORTVERSION} DIST_SUBDIR= gnome +PATCH_SITES= https://github.com/WebKit/WebKit/commit/ +PATCHFILES= 06f9978e52a8408ed6c2c8296afb1e7449c2f1ee.patch:-p1 # https://bugs.webkit.org/show_bug.cgi?id=247770 + MAINTAINER= gnome@FreeBSD.org COMMENT= Opensource browser engine using the GTK+ 3 toolkit WWW= https://webkitgtk.org/ diff --git a/www/webkit2-gtk3/distinfo b/www/webkit2-gtk3/distinfo index a2fe649c6c45..c8f9455950af 100644 --- a/www/webkit2-gtk3/distinfo +++ b/www/webkit2-gtk3/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1646438253 +TIMESTAMP = 1685906637 SHA256 (gnome/webkitgtk-2.34.6.tar.xz) = 6bc8fd034aad0432a2459ce4fc7ee25ad65a4924c618bf8d93b52b0c1a84c1f6 SIZE (gnome/webkitgtk-2.34.6.tar.xz) = 24393340 +SHA256 (gnome/06f9978e52a8408ed6c2c8296afb1e7449c2f1ee.patch) = 780812ffdff6b970c0e270e4605ec15325840723e2733c475371e92a56d257da +SIZE (gnome/06f9978e52a8408ed6c2c8296afb1e7449c2f1ee.patch) = 1661