Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jun 2023 16:31:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 271827] www/webkit2-gtk3: fix build with clang 16
Message-ID:  <bug-271827-6497-h8VaJMvcZG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271827-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271827-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271827

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D3b95146628d422f83a98cb438fedba6=
7392c2eb1

commit 3b95146628d422f83a98cb438fedba67392c2eb1
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-06-04 21:10:56 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
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:

=20=20=20=20=20
/wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.34.6/Source/WTF/wtf/UR=
LHelpers.cpp:51:34:
error: integer value 256 is outside the valid range of values [-256, 255] f=
or
this enumeration type [-Wenum-constexpr-conversion]
      constexpr auto scriptCodeLimit =3D static_cast<UScriptCode>(256);
                                       ^

    Upstream fixed this in <https://commits.webkit.org/256560@main>, for
    <https://bugs.webkit.org/show_bug.cgi?id=3D247770>, 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(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271827-6497-h8VaJMvcZG>