package/qt5base: fix another gcc-11 compile failure
authorPeter Seiderer <ps.report@gmx.net>
Sat, 17 Jul 2021 22:08:09 +0000 (00:08 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 18 Jul 2021 07:32:43 +0000 (09:32 +0200)
commit6202ba67b74e9de7099df8b98e3db8d33490996a
tree362ea8fcacd048592687c6f525f4a4f89cdafa06
parent74adec4f3ab01336f24e8d1430c7a648bc8f5505
package/qt5base: fix another gcc-11 compile failure

- add upstream patch fixing gcc-11 compile failure (missing
  limits include)

Fixes:

  In file included from ../../../include/QtCore/5.15.2/QtCore/private/qoffsetstringarray_p.h:1,
                   from ../../dbus/qdbuserror.cpp:44:
  ../../../src/corelib/tools/qoffsetstringarray_p.h:70:22: error: ‘numeric_limits’ is not a member of ‘std’
     70 |         Last <= std::numeric_limits<quint8>::max(),
        |                      ^~~~~~~~~~~~~~
  ../../../src/corelib/tools/qoffsetstringarray_p.h:70:43: error: wrong number of template arguments (1, should be 3)
     70 |         Last <= std::numeric_limits<quint8>::max(),
        |                                           ^

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/qt5/qt5base/0008-Add-missing-limits-include.patch [new file with mode: 0644]