https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293093

            Bug ID: 293093
           Summary: www/qt5-webengine: fix build with clang 21
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

With libc++ 21 www/qt5-webengine fails to build, with errors similar to:

    In file included from
gen/third_party/blink/renderer/platform/platform_jumbo_54.cc:7:
   
./../../../../kde-qtwebengine-5.15.19p0/src/3rdparty/chromium/third_party/blink/renderer/platform/image-encoders/image_encoder_utils.cc:63:5:
error: static assertion expression is not an integral constant expression
    [...]
   
../../../../kde-qtwebengine-5.15.19p0/src/3rdparty/chromium/base/metrics/histogram_macros_internal.h:45:12:
note: integer value 8 is outside the valid range of values [0, 7] for the
enumeration type 'RequestedImageMimeType'
       45 |     return static_cast<Enum>(
          |            ^

https://chromium.googlesource.com/chromium/src/+/bb340f66aaf44206fa5106509fb4e8c0719ee831
fixes these, but has to be slightly adjusted to make it apply to the
specific chromium version included in qt5-webengine.

This also needs the change in
https://github.com/DimitryAndric/freebsd-src/commit/7a8a78577d6cb7d82bdc38ffd7515618f44af9de,
since I ran into a clang bug affecting older chromium forks:
https://github.com/llvm/llvm-project/issues/179118

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

Reply via email to