[MacPorts] #66165: qt5-qtwebengine @5.15.10_1 (aqua): Processing of port qt5-qtwebengine failed

MacPorts noreply at macports.org
Sun Nov 6 01:07:16 UTC 2022


#66165: qt5-qtwebengine @5.15.10_1 (aqua): Processing of port qt5-qtwebengine
failed
------------------------------+---------------------------------
  Reporter:  wurzelsand       |      Owner:  MarcusCalhoun-Lopez
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.8.0
Resolution:                   |   Keywords:
      Port:  qt5-qtwebengine  |
------------------------------+---------------------------------

Comment (by kencu):

 well, I'll embarass myself and post my last attempt, none of which worked:
 {{{
 diff --git
 a/src/3rdparty/chromium/third_party/blink/renderer/core/editing/finder/text_finder.cc
 b/src/3rdparty/chromium/third_party/blink/renderer/core/editing/finder/text_finder.cc
 index e41a894fc..a1db7d77f 100644
 ---
 a/src/3rdparty/chromium/third_party/blink/renderer/core/editing/finder/text_finder.cc
 +++
 b/src/3rdparty/chromium/third_party/blink/renderer/core/editing/finder/text_finder.cc
 @@ -629,13 +629,13 @@ gfx::RectF TextFinder::ActiveFindMatchRect() {
    if (!current_active_match_frame_ || !active_match_)
      return gfx::RectF();

 -  return
 gfx::RectF(FindInPageRectFromRange(EphemeralRange(ActiveMatch())));
 +  return gfx::RectF((const
 CGRect&)FindInPageRectFromRange(EphemeralRange(ActiveMatch())));
  }

  Vector<gfx::RectF> TextFinder::FindMatchRects() {
    UpdateFindMatchRects();

 -  Vector<gfx::RectF> match_rects;
 +  Vector<(const CGRect&)gfx::RectF> match_rects;
    match_rects.ReserveCapacity(match_rects.size() +
 find_matches_cache_.size());
    for (const FindMatch& match : find_matches_cache_) {
      DCHECK(!match.rect_.IsEmpty());

 }}}

 perhaps someone who knows a little more c++ than I do can sort out how to
 do the cast right to remove the ambiguous call.

 I'm going to try clang-14 next, as I have it installed... but it may have
 the same issue, as it's a similar vintage.

-- 
Ticket URL: <https://trac.macports.org/ticket/66165#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list