[Bug 256276] devel/qt5-concurrent: unbreak with gcc11 via upstream

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 31 May 2021 01:36:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256276

            Bug ID: 256276
           Summary: devel/qt5-concurrent: unbreak with gcc11 via upstream
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://codereview.qt-project.org/c/qt/qtbase/+/339417
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
          Assignee: kde@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)

Created attachment 225389
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225389&action=edit
v1 (apply via "git am")

Building emulators/yuzu-qt5 with DEFAULT_VERSIONS+=gcc=11 fails but Qt upstream
has a fix (see URL).

In file included from
/usr/local/include/qt5/QtConcurrent/qtconcurrentiteratekernel.h:49,
                 from
/usr/local/include/qt5/QtConcurrent/qtconcurrentfilterkernel.h:47,
                 from
/usr/local/include/qt5/QtConcurrent/qtconcurrentfilter.h:47,
                 from /usr/local/include/qt5/QtConcurrent/QtConcurrent:8,
                 from src/yuzu/main.cpp:66:
/usr/local/include/qt5/QtConcurrent/qtconcurrentthreadengine.h:250:50: error:
invalid declarator before '*' token
  250 |     ThreadEngineStarter<void>(ThreadEngine<void> *_threadEngine)
      |                                                  ^
/usr/local/include/qt5/QtConcurrent/qtconcurrentthreadengine.h:250:49: error:
expected ')' before '*' token
  250 |     ThreadEngineStarter<void>(ThreadEngine<void> *_threadEngine)
      |                              ~                  ^~
      |                                                 )

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