maintainer-feedback requested: [Bug 271827] www/webkit2-gtk3: fix build with clang 16

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 04 Jun 2023 21:16:18 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 271827: www/webkit2-gtk3: fix build with clang 16
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271827



--- Description ---
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/URLHel
pers.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<UScriptCode>(256);
				   ^

Upstream fixed this in <https://commits.webkit.org/256560@main>, for
<https://bugs.webkit.org/show_bug.cgi?id=247770>, so apply that patch.
Thanks to Vladislav Shchapov for pointing out the upstream fix.