FreeBSD Bugzilla – Attachment 242600 Details for
Bug 271827
www/webkit2-gtk3: fix build with clang 16
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
www/webkit2-gtk3: fix build with clang 16
www__webkit2-gtk3-fix-clang16-build-1.diff (text/plain), 2.00 KB, created by
Dimitry Andric
on 2023-06-04 21:16:36 UTC
(
hide
)
Description:
www/webkit2-gtk3: fix build with clang 16
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2023-06-04 21:16:36 UTC
Size:
2.00 KB
patch
obsolete
>commit 145ce2f8685b4329f9423a37d72bb1b5f476e01c >Author: Dimitry Andric <dim@FreeBSD.org> >Date: 2023-06-04 23:10:56 +0200 > > 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<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. > >diff --git a/www/webkit2-gtk3/Makefile b/www/webkit2-gtk3/Makefile >index a9ed4c35315f..9a0ed38f868f 100644 >--- a/www/webkit2-gtk3/Makefile >+++ b/www/webkit2-gtk3/Makefile >@@ -7,6 +7,9 @@ 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 271827
: 242600