diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2026-01-03 21:19:54 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2026-01-04 01:45:17 +0000 |
| commit | d9bd7a9f6d2a7b745bd31d5b5e797cbf86d213db (patch) | |
| tree | 890ece1e5fe070dc1df04da7ca01fcc41955a777 /sysutils/rundeck | |
| parent | 9b6a88f7183f21848c78c13ae7869d85e47c0a66 (diff) | |
www/webkit2-gtk: fix build with clang >= 202025Q4
With clang 20 or higher webkit2-gtk fails to build, with errors similar
to:
/wrkdirs/usr/ports/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/EnumTraits.h:246:20: error: no matching function for call to 'enumName'
246 | names[i] = enumName<static_cast<E>(static_cast<unsigned>(i))>();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/EnumTraits.h:233:9: note: in instantiation of function template specialization 'WTF::enumNames()::(anonymous class)::operator()<std::integral_constant<unsigned long, 64>>' requested here
233 | func(std::integral_constant<size_t, i>());
| ^
/wrkdirs/usr/ports/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/EnumTraits.h:234:9: note: in instantiation of function template specialization 'WTF::detail::forConstexpr<64UL, 256UL, (lambda at /wrkdirs/usr/ports/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/EnumTraits.h:245:36)>' requested here
234 | forConstexpr<i + 1, end>(func);
| ^
...
This is fixed by https://commits.webkit.org/292321@main for
https://bugs.webkit.org/show_bug.cgi?id=289669, so import that patch,
plus https://commits.webkit.org/290345@main, which is a prerequisite.
PR: 292165
Approved by: vishwin (maintainer)
MFH: 2025Q4
(cherry picked from commit c71c571a6d22f2792581f9be7838c32d73c47409)
Diffstat (limited to 'sysutils/rundeck')
0 files changed, 0 insertions, 0 deletions
